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

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

Issue 2840193003: [Android] Fix stack symbolization when packed relocations are on. (Closed)
Patch Set: omitted build/secondary/third_party/android_platform/ 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
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index 44557326485d3d719806bbe4db0b8eb6c047e2d2..797610db266bb952f62a2973e4175ca5195b9ca9 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -2097,6 +2097,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

Powered by Google App Engine
This is Rietveld 408576698