diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-04 03:21:48 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-04 03:21:48 +0000 |
commit | 1bc96c0b99be6eece7b59ab9e8ef0ec4b4462911 (patch) | |
tree | d6c2bf674287955a7f6a9c1c1e3f419e281bc863 | |
parent | 93500083578ec0ba3dd9f573fb5c4ae974b31331 (diff) | |
parent | d9914c3a49ff28c3a60ea2f6d49c758122b7816c (diff) | |
download | libbcc-android10-qpr1-b-s1-release.tar.gz |
Snap for 5631559 from d9914c3a49ff28c3a60ea2f6d49c758122b7816c to qt-qpr1-releaseandroid-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android10-qpr1-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-release
Change-Id: Ib9c493f872c652a5571f89a039f14c09109dfd7c
-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: [ |