aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: {