LD_PRELOAD-able library to hook malloc functions.

Test: Profile trace_processor_shell on Linux.

Bug: 160399441
Change-Id: I9ceaa1ff195468f2cc77908915171613f495309e
diff --git a/Android.bp b/Android.bp
index eace06e..0f587a6 100644
--- a/Android.bp
+++ b/Android.bp
@@ -376,6 +376,7 @@
     ":perfetto_src_profiling_common_unwind_support",
     ":perfetto_src_profiling_memory_client",
     ":perfetto_src_profiling_memory_client_ext",
+    ":perfetto_src_profiling_memory_client_ext_standalone",
     ":perfetto_src_profiling_memory_daemon",
     ":perfetto_src_profiling_memory_ring_buffer",
     ":perfetto_src_profiling_memory_scoped_spinlock",
@@ -385,7 +386,6 @@
     ":perfetto_src_tracing_core_core",
     ":perfetto_src_tracing_ipc_common",
     ":perfetto_src_tracing_ipc_producer_producer",
-    "src/profiling/memory/client_ext_standalone.cc",
   ],
   shared_libs: [
     "liblog",
@@ -6376,6 +6376,14 @@
   ],
 }
 
+// GN: //src/profiling/memory:client_ext_standalone
+filegroup {
+  name: "perfetto_src_profiling_memory_client_ext_standalone",
+  srcs: [
+    "src/profiling/memory/client_ext_standalone.cc",
+  ],
+}
+
 // GN: //src/profiling/memory:daemon
 filegroup {
   name: "perfetto_src_profiling_memory_daemon",