Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2370)

Unified Diff: build/config/android/rules.gni

Issue 2361353002: Link stack frames of JNI stubs to JNI callbacks. (Closed)
Patch Set: git cl format Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/debug/stack_trace.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
+ }
}
}
« no previous file with comments | « base/debug/stack_trace.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698