summaryrefslogtreecommitdiffstats
path: root/tools/bcc/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bcc/Android.bp')
-rw-r--r--tools/bcc/Android.bp25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/bcc/Android.bp b/tools/bcc/Android.bp
index d26126b..5a64c4d 100644
--- a/tools/bcc/Android.bp
+++ b/tools/bcc/Android.bp
@@ -19,6 +19,31 @@ cc_binary {
host_supported: true,
defaults: ["libbcc-defaults"],
+ shared_libs: [
+ "libbcc",
+ "libbcinfo",
+ "libLLVM_android",
+ ],
+
+ target: {
+ android: {
+ shared_libs: [
+ "liblog",
+ "libvndksupport",
+ ],
+ },
+ },
+
+ whole_static_libs: ["libbcc_binary"],
+}
+
+// libbcc_binary is used to compile vendor modules - should not be removed
+cc_library {
+ name: "libbcc_binary",
+ host_supported: true,
+ vendor_available: true,
+ defaults: ["libbcc-defaults"],
+
srcs: ["Main.cpp"],
shared_libs: [