aboutsummaryrefslogtreecommitdiffstats
path: root/rockchip/Android.bp
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-10-19 22:18:23 -0700
committerJoonas Kylmälä <joonas.kylmala@iki.fi>2020-04-12 10:02:17 -0400
commitfd6e14c92bc3b57668e9cb20036529a131f028bb (patch)
tree96ea5749bdfc3bc05c0ce08a4b8c849f06d95e60 /rockchip/Android.bp
parent27fa47a738b15464528a1c44d8cb0b2ab31d3cf7 (diff)
downloadexternal_libdrm-fd6e14c92bc3b57668e9cb20036529a131f028bb.tar.gz
external_libdrm-fd6e14c92bc3b57668e9cb20036529a131f028bb.tar.bz2
external_libdrm-fd6e14c92bc3b57668e9cb20036529a131f028bb.zip
Convert to Android.bp
See build/soong/README.md for more information about Soong. Removes BOARD_GPU_DRIVERS, which wasn't affecting anything, since none of the HAVE_* macros are defined. Even if they were, we'd prefer to compile all of them so that a single library can support multiple boards. Test: mmma external/libdrm Change-Id: Ie01736bce6cf41e3da5040fe5341ade0634b5111
Diffstat (limited to 'rockchip/Android.bp')
-rw-r--r--rockchip/Android.bp13
1 files changed, 13 insertions, 0 deletions
diff --git a/rockchip/Android.bp b/rockchip/Android.bp
new file mode 100644
index 00000000..daceacca
--- /dev/null
+++ b/rockchip/Android.bp
@@ -0,0 +1,13 @@
+cc_library_shared {
+ name: "libdrm_rockchip",
+ vendor: true,
+ shared_libs: ["libdrm"],
+
+ srcs: ["rockchip_drm.c"],
+
+ cflags: [
+ "-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1",
+ "-Wall",
+ "-Werror",
+ ],
+}