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) |