21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
|
|
index a97203144a36f9c108af11f8b09c989b1f80accc..9a7321ed9ebb97eda1855f90e7b566ac288184c9 100644
|
|
--- a/build/config/android/rules.gni
|
|
+++ b/build/config/android/rules.gni
|
|
@@ -208,6 +208,7 @@ if (!is_robolectric && enable_java_templates) {
|
|
# ]
|
|
# }
|
|
template("java_cpp_enum") {
|
|
+ foreach(source, invoker.sources) { foreach(filter, brave_java_cpp_enum_filter) { if(source == filter) { invoker.sources -= [filter] }}}
|
|
action_with_pydeps(target_name) {
|
|
forward_variables_from(invoker,
|
|
TESTONLY_AND_VISIBILITY + [
|
|
@@ -401,6 +402,7 @@ if (!is_robolectric && enable_java_templates) {
|
|
# output = "$target_gen_dir/AndroidManifest.xml"
|
|
# }
|
|
template("jinja_template") {
|
|
+ if (defined(invoker.includes)) { invoker.includes += brave_android_manifest_includes } else { invoker.includes = brave_android_manifest_includes }
|
|
action_with_pydeps(target_name) {
|
|
forward_variables_from(invoker, TESTONLY_AND_VISIBILITY + [ "deps" ])
|
|
inputs = [ invoker.input ]
|