tp: strip trace processor on Android builds

Keep only the symbols not the debug info. This should significantly reduce
the size of builds.

Change-Id: I91b1a4ca8fe7780722d1b8291b34f5504fe43016
diff --git a/Android.bp b/Android.bp
index c6c8505..9e60331 100644
--- a/Android.bp
+++ b/Android.bp
@@ -7590,6 +7590,9 @@
       "sdk_repo",
     ],
   },
+  strip: {
+    keep_symbols: true,
+  },
   stl: "libc++_static",
 }
 
diff --git a/tools/gen_android_bp b/tools/gen_android_bp
index 95a4c39..f0691fa 100755
--- a/tools/gen_android_bp
+++ b/tools/gen_android_bp
@@ -178,6 +178,7 @@
     'trace_processor_shell': [
       ('dist', {'targets': ['sdk_repo']}),
       ('stl', 'libc++_static'),
+      ('strip', {'keep_symbols': True})
     ],
 }
 
@@ -366,6 +367,7 @@
     self.lto = None
     self.stl = None
     self.dist = dict()
+    self.strip = dict()
     self.data = set()
     # The genrule_XXX below are properties that must to be propagated back
     # on the module(s) that depend on the genrule.
@@ -396,6 +398,7 @@
     self._output_field(output, 'header_libs')
     self._output_field(output, 'required')
     self._output_field(output, 'dist')
+    self._output_field(output, 'strip')
     self._output_field(output, 'tool_files')
     self._output_field(output, 'data')
     self._output_field(output, 'stl')