tp: strip on all Android targets
This makes the device side trace processor small as well.
Change-Id: Ied089468c4cec61d34c27a48c69e7a4ee4d2fb0b
diff --git a/Android.bp b/Android.bp
index 221cbb3..74a7557 100644
--- a/Android.bp
+++ b/Android.bp
@@ -8984,6 +8984,9 @@
"-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
"-DHAVE_HIDDEN",
],
+ strip: {
+ all: true,
+ },
target: {
android: {
shared_libs: [
@@ -9007,9 +9010,6 @@
"sdk_repo",
],
},
- strip: {
- all: true,
- },
},
},
}
diff --git a/tools/gen_android_bp b/tools/gen_android_bp
index ae1d379..a01096c 100755
--- a/tools/gen_android_bp
+++ b/tools/gen_android_bp
@@ -209,9 +209,9 @@
],
'libperfetto_android_internal': [('static_libs', {'libhealthhalutils'}),],
'trace_processor_shell': [
+ ('strip', {'all': True}),
('host', {
'stl': 'libc++_static',
- 'strip': {'all': True},
'dist': {'targets': ['sdk_repo']},
}),
],