diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-07 14:16:57 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-07 14:16:57 +0000 |
commit | e03296c923445a27baa2967ba27f3df624c3a9c3 (patch) | |
tree | d6c2bf674287955a7f6a9c1c1e3f419e281bc863 | |
parent | cb4d927c15f15ae2dc0a5c597540d8f27d9e58fb (diff) | |
parent | fe79261aabe2e8671d6a3d12f4571e0d007a6cfb (diff) | |
download | libbcc-android10-mainline-release.tar.gz |
Snap for 5631779 from fe79261aabe2e8671d6a3d12f4571e0d007a6cfb to qt-aml-releaseandroid-mainline-10.0.0_r3android-mainline-10.0.0_r2android-mainline-10.0.0_r1android10-mainline-releaseandroid10-mainline-a-release
Change-Id: Iecef6fbb1b0b3bc95cbc98fa7ef6604dccc127f0
-rw-r--r-- | lib/Android.bp | 3 | ||||
-rw-r--r-- | tools/bcc/Android.bp | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/lib/Android.bp b/lib/Android.bp index 962d8bf..d5a33f6 100644 --- a/lib/Android.bp +++ b/lib/Android.bp @@ -12,8 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -cc_library_shared { +cc_library { name: "libbcc", + vendor_available: true, host_supported: true, defaults: ["libbcc-defaults"], 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: [ |