aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:05:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:05:10 +0000
commit0a1b1edb6d5c0f3977804bdaa1b868b656cb05d6 (patch)
tree053d3acaad91c69e7ad71b460a591612de7d19c3
parent4bc9d0d28154610618b643317e871ae5f6332450 (diff)
parentf693e4c775bffb872c961be2454bf46cbfd8fb3b (diff)
downloadvirglrenderer-android13-frc-adbd-release.tar.gz
Snap for 8512216 from f693e4c775bffb872c961be2454bf46cbfd8fb3b to tm-frc-adbd-releaset_frc_adb_330444000android13-frc-adbd-release
Change-Id: I6030b9d36c10a4aabe5a8abbc3121c86efa992b1
-rw-r--r--Android.bp17
1 files changed, 8 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 7c632cef..1b3a2e81 100644
--- a/Android.bp
+++ b/Android.bp
@@ -122,22 +122,21 @@ cc_library {
"src/vrend_winsys_gbm.c",
],
target: {
+ host_linux: {
+ shared_libs: [
+ "libdrm",
+ "libepoxy",
+ "libgbm",
+ ],
+ },
linux_glibc: {
// Avoid linking to another host copy of libdrm; this library will cause
// binary GPU drivers to be loaded from the host, which might be linked
// to a system copy of libdrm, which conflicts with the AOSP one
allow_undefined_symbols: true,
header_libs: ["libdrm_headers"],
- shared_libs: [
- "libepoxy",
- "libgbm"
- ],
- },
- linux_bionic: {
- shared_libs: [
+ exclude_shared_libs: [
"libdrm",
- "libepoxy",
- "libgbm",
],
},
android: {