Index: build/config/android/rules.gni |
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni |
index faf5a964316dd0244aea0cff3b842d3b3cea5fbb..bf2f1491c7e58063c2390ecca71464c1d80a0061 100644 |
--- a/build/config/android/rules.gni |
+++ b/build/config/android/rules.gni |
@@ -6,6 +6,7 @@ |
# Some projects (e.g. V8) do not have non-build directories DEPS'ed in. |
import("//build/config/android/config.gni") |
import("//build/config/android/internal_rules.gni") |
+import("//build/config/compiler/compiler.gni") |
import("//build/config/dcheck_always_on.gni") |
import("//build/toolchain/toolchain.gni") |
@@ -199,6 +200,10 @@ if (enable_java_templates) { |
rebase_path(jni_generator_include, jni_output_dir), |
"--native_exports_optional", |
] |
+ |
+ if (enable_profiling) { |
+ args += [ "--enable_profiling" ] |
+ } |
} |
config("jni_includes_${target_name}") { |
@@ -305,6 +310,10 @@ if (enable_java_templates) { |
rebase_path(jni_generator_include, jni_output_dir), |
"--native_exports_optional", |
] |
+ |
+ if (enable_profiling) { |
+ args += [ "--enable_profiling" ] |
+ } |
} |
} |