commit | cc424fd9e3508d6a3385f17b71505247cd8fce1e | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Mon Jan 15 11:19:01 2018 +0000 |
committer | Florian Mayer <fmayer@google.com> | Mon Jan 15 11:19:01 2018 +0000 |
tree | 9b31bb9afce06e4efa3f9d1105418e68610be5b9 | |
parent | 6d0bc7f736ec6cb5e8d790e6af630bfd09d910a1 [diff] [blame] |
Set fvisibility=hidden per default. This reduces the size of libtraced_shared.so by ~half. Bug: 71844955 Change-Id: Ie961920297af9dc08287cc25c815d46c8ae266f3
diff --git a/tools/gen_android_bp b/tools/gen_android_bp index 268abfa..dbca3d6 100755 --- a/tools/gen_android_bp +++ b/tools/gen_android_bp
@@ -503,6 +503,7 @@ '-Wno-sign-compare', '-Wno-sign-promo', '-Wno-unused-parameter', + '-fvisibility=hidden', ] blueprint.add_module(defaults)