trace_processor: enable RPC in Android build

The trace_processor_shell supports acting as an RPC server so that other
tools, such as the Perfetto Python module, can issue queries over a
trace. However, if building from the Android tree, this feature was
disabled.

Test: tested locally; builds for and runs on both host and device.
Change-Id: Id5b5134154f7ce708605cb8778e93a181bb86c4b
diff --git a/Android.bp b/Android.bp
index 6c2a184..99f8345 100644
--- a/Android.bp
+++ b/Android.bp
@@ -8071,6 +8071,14 @@
   ],
 }
 
+// GN: //src/trace_processor/rpc:httpd
+filegroup {
+  name: "perfetto_src_trace_processor_rpc_httpd",
+  srcs: [
+    "src/trace_processor/rpc/httpd.cc",
+  ],
+}
+
 // GN: //src/trace_processor/rpc:rpc
 filegroup {
   name: "perfetto_src_trace_processor_rpc_rpc",
@@ -9586,9 +9594,11 @@
     ":perfetto_protos_perfetto_trace_system_info_zero_gen",
     ":perfetto_protos_perfetto_trace_track_event_zero_gen",
     ":perfetto_src_base_base",
+    ":perfetto_src_base_unix_socket",
     ":perfetto_src_profiling_deobfuscator",
     ":perfetto_src_profiling_symbolizer_symbolize_database",
     ":perfetto_src_profiling_symbolizer_symbolizer",
+    ":perfetto_src_protozero_proto_ring_buffer",
     ":perfetto_src_protozero_protozero",
     ":perfetto_src_trace_processor_analysis_analysis",
     ":perfetto_src_trace_processor_containers_containers",
@@ -9600,6 +9610,8 @@
     ":perfetto_src_trace_processor_lib",
     ":perfetto_src_trace_processor_metatrace",
     ":perfetto_src_trace_processor_metrics_lib",
+    ":perfetto_src_trace_processor_rpc_httpd",
+    ":perfetto_src_trace_processor_rpc_rpc",
     ":perfetto_src_trace_processor_sqlite_sqlite",
     ":perfetto_src_trace_processor_storage_full",
     ":perfetto_src_trace_processor_storage_minimal",