aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:04:17 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:04:17 +0000
commit14a705e6558ef7db3995a1f6dc61ca849727a2d5 (patch)
tree053d3acaad91c69e7ad71b460a591612de7d19c3
parentfe914f1404c01eff071b016b9cdeb7137e3cdea2 (diff)
parentf693e4c775bffb872c961be2454bf46cbfd8fb3b (diff)
downloadvirglrenderer-android13-frc-resolv-release.tar.gz
Snap for 8512216 from f693e4c775bffb872c961be2454bf46cbfd8fb3b to tm-frc-resolv-releaset_frc_res_330443000android13-frc-resolv-release
Change-Id: Ib838e82b61820fcff8105c9b4f3e9fcc81963c51
-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: {