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

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

Issue 2361353002: Link stack frames of JNI stubs to JNI callbacks. (Closed)
Patch Set: Simplify - remove FakeStackFrame, etc. 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
« base/debug/stack_trace.cc ('K') | « 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 f23df29024e925b2eeaeb0a03f48234e9edde934..170c39333b86e455b2cef12cceb50db0094a80d5 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" ]
+ }
}
}
« base/debug/stack_trace.cc ('K') | « base/debug/stack_trace.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698