aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-06 20:38:12 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-06 20:38:12 +0000
commitd2c742122c96f3a980835e1427823525c278f177 (patch)
tree053d3acaad91c69e7ad71b460a591612de7d19c3
parent4bc9d0d28154610618b643317e871ae5f6332450 (diff)
parentf693e4c775bffb872c961be2454bf46cbfd8fb3b (diff)
downloadvirglrenderer-android13-qpr1-s8-release.tar.gz
Change-Id: I266f2a964836ec404e75059ed6dfd0f85d822270
-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: {