summaryrefslogtreecommitdiff
path: root/lib/libdrm/amdgpu/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdrm/amdgpu/Android.bp')
-rw-r--r--lib/libdrm/amdgpu/Android.bp16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libdrm/amdgpu/Android.bp b/lib/libdrm/amdgpu/Android.bp
new file mode 100644
index 000000000..976f03e9d
--- /dev/null
+++ b/lib/libdrm/amdgpu/Android.bp
@@ -0,0 +1,16 @@
+build = ["Android.sources.bp"]
+
+cc_library_shared {
+ name: "libdrm_amdgpu",
+
+ cflags: [
+ "-DAMDGPU_ASIC_ID_TABLE=\"/vendor/etc/hwdata/amdgpu.ids\""
+ ],
+
+ defaults: [
+ "libdrm_defaults",
+ "libdrm_amdgpu_sources",
+ ],
+ vendor: true,
+ shared_libs: ["libdrm"],
+}