Enable libperfetto on host with Android intree build
Bug: 141562006
Change-Id: I5f8d28b31845b72a45a1ffbe571dd6af2c576e56
diff --git a/Android.bp b/Android.bp
index bc076ee..7bb2597 100644
--- a/Android.bp
+++ b/Android.bp
@@ -425,6 +425,7 @@
"liblog",
"libprotobuf-cpp-lite",
],
+ host_supported: true,
export_include_dirs: [
"include",
"include/perfetto/base/build_configs/android_tree",
diff --git a/tools/gen_android_bp b/tools/gen_android_bp
index 8bfe686..28360fa 100755
--- a/tools/gen_android_bp
+++ b/tools/gen_android_bp
@@ -82,6 +82,7 @@
target_host_supported = [
'//protos/perfetto/trace:perfetto_trace_protos',
+ '//:libperfetto',
]
target_host_only = [