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

Unified Diff: build/toolchain/android/BUILD.gn

Issue 2726983004: Output a linker map file for official builds (Closed)
Patch Set: linux Created 3 years, 9 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 | « no previous file | build/toolchain/gcc_link_wrapper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/android/BUILD.gn
diff --git a/build/toolchain/android/BUILD.gn b/build/toolchain/android/BUILD.gn
index ad7b76278aa2215c14e404992692dec9072ac5ec..9b3b162ca6d1d6789c48233314ada6e15d1bd729 100644
--- a/build/toolchain/android/BUILD.gn
+++ b/build/toolchain/android/BUILD.gn
@@ -25,6 +25,9 @@ template("android_gcc_toolchain") {
toolchain_args = invoker.toolchain_args
toolchain_args.current_os = "android"
+ # Output linker map files for binary size analysis.
+ enable_linker_map = true
+
# Make our manually injected libs relative to the build dir.
_ndk_lib =
rebase_path(invoker.sysroot + "/" + invoker.lib_dir, root_build_dir)
« no previous file with comments | « no previous file | build/toolchain/gcc_link_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698