aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stultz2018-05-02 12:31:02 -0500
committerandroid-build-merger2018-05-02 12:31:02 -0500
commitbae5e71e53931f4aa2cfd253686608eaa889eba4 (patch)
tree81779df104ec005b6a185cdd3dae0c18a05c6c19
parenta719d8b000213fbc8fc0b870cc144b9fa4834968 (diff)
parentdffc3a32a1faa02f8a8f4b3015fd59fe8a228fba (diff)
downloadexternal-libgbm-bae5e71e53931f4aa2cfd253686608eaa889eba4.tar.gz
external-libgbm-bae5e71e53931f4aa2cfd253686608eaa889eba4.tar.xz
external-libgbm-bae5e71e53931f4aa2cfd253686608eaa889eba4.zip
libdrm: amdgpu: Fix Android.bp build issues
am: dffc3a32a1 Change-Id: Ie48f80d96f099127ec2b82c5935df043cda9d32e
-rw-r--r--amdgpu/Android.bp5
-rw-r--r--amdgpu/Android.sources.bp2
2 files changed, 7 insertions, 0 deletions
diff --git a/amdgpu/Android.bp b/amdgpu/Android.bp
index a63b6174..976f03e9 100644
--- a/amdgpu/Android.bp
+++ b/amdgpu/Android.bp
@@ -2,6 +2,11 @@ build = ["Android.sources.bp"]
2 2
3cc_library_shared { 3cc_library_shared {
4 name: "libdrm_amdgpu", 4 name: "libdrm_amdgpu",
5
6 cflags: [
7 "-DAMDGPU_ASIC_ID_TABLE=\"/vendor/etc/hwdata/amdgpu.ids\""
8 ],
9
5 defaults: [ 10 defaults: [
6 "libdrm_defaults", 11 "libdrm_defaults",
7 "libdrm_amdgpu_sources", 12 "libdrm_amdgpu_sources",
diff --git a/amdgpu/Android.sources.bp b/amdgpu/Android.sources.bp
index 62b8f054..ed85682a 100644
--- a/amdgpu/Android.sources.bp
+++ b/amdgpu/Android.sources.bp
@@ -3,11 +3,13 @@
3cc_defaults { 3cc_defaults {
4 name: "libdrm_amdgpu_sources", 4 name: "libdrm_amdgpu_sources",
5 srcs: [ 5 srcs: [
6 "amdgpu_asic_id.c",
6 "amdgpu_bo.c", 7 "amdgpu_bo.c",
7 "amdgpu_cs.c", 8 "amdgpu_cs.c",
8 "amdgpu_device.c", 9 "amdgpu_device.c",
9 "amdgpu_gpu_info.c", 10 "amdgpu_gpu_info.c",
10 "amdgpu_vamgr.c", 11 "amdgpu_vamgr.c",
12 "amdgpu_vm.c",
11 "util_hash.c", 13 "util_hash.c",
12 "util_hash_table.c", 14 "util_hash_table.c",
13 ], 15 ],