Add heapprofd_noop_api to Android.bp.
We can link against that for host ART builds.
Bug: 160214819
Change-Id: If5be47c14e8f9c2871c429171b9c31d196d80345
diff --git a/Android.bp b/Android.bp
index c12e7fa..370a275 100644
--- a/Android.bp
+++ b/Android.bp
@@ -155,6 +155,21 @@
],
}
+// GN: //src/profiling/memory:heapprofd_api_noop
+cc_library_shared {
+ name: "heapprofd_api_noop",
+ srcs: [
+ "src/profiling/memory/client_api_noop.cc",
+ ],
+ export_include_dirs: [
+ "include",
+ "include/perfetto/base/build_configs/android_tree",
+ ],
+ defaults: [
+ "perfetto_defaults",
+ ],
+}
+
// GN: //src/profiling/memory:heapprofd_client
cc_library_shared {
name: "heapprofd_client",