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

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

Issue 2840193003: [Android] Fix stack symbolization when packed relocations are on. (Closed)
Patch Set: tedchoc comment Created 3 years, 8 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 | « build/config/android/internal_rules.gni ('k') | build/print_python_deps.py » ('j') | 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 eddbbf3bdf58d8ad86f919834d76c2c2a2be30e7..a08a4755523c40ed357bf8869112b651a42b47b2 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -2100,6 +2100,17 @@ if (enable_java_templates) {
_extra_native_libs_deps +=
[ "//base/android/linker:chromium_android_linker" ]
}
+
+ _create_stack_script_rule_name = "${_template_name}__stack_script"
+ _final_deps += [ ":${_create_stack_script_rule_name}" ]
+ stack_script(_create_stack_script_rule_name) {
+ stack_target_name = invoker.target_name
+ deps = _native_libs_deps
+ if (_native_libs_deps != [] && _enable_relocation_packing) {
+ packed_libraries = _native_libs_file_arg
+ deps += [ _native_libs_file_arg_dep ]
+ }
+ }
}
if (defined(invoker.loadable_modules) && invoker.loadable_modules != []) {
_extra_native_libs_even_when_incremental += invoker.loadable_modules
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | build/print_python_deps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698