Index: tools/android/memtrack_helper/BUILD.gn |
diff --git a/tools/android/memtrack_helper/BUILD.gn b/tools/android/memtrack_helper/BUILD.gn |
index 5948cb575881606311dc6debcf87400bf5a595b1..e41a0c87240aa3a38846fd5de2511ee8db2be6ba 100644 |
--- a/tools/android/memtrack_helper/BUILD.gn |
+++ b/tools/android/memtrack_helper/BUILD.gn |
@@ -3,13 +3,14 @@ |
# found in the LICENSE file. |
# Unwind tables create a dependency on libc++. By removing them |
-# the final binary will not require anything more than libc and libdl. |
+# the final binary will not require anything more than libc, libdl and liblog. |
# This makes its deployment easier in component=shared_library mode. |
config("android_binary_no_libcpp_config") { |
cflags = [ |
"-fno-unwind-tables", |
"-fno-asynchronous-unwind-tables", |
] |
+ libs = [ "log" ] |
} |
executable("memtrack_helper") { |