aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'rockchip')
-rw-r--r--rockchip/Android.bp13
-rw-r--r--rockchip/Android.mk19
2 files changed, 13 insertions, 19 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 @@
1cc_library_shared {
2 name: "libdrm_rockchip",
3 vendor: true,
4 shared_libs: ["libdrm"],
5
6 srcs: ["rockchip_drm.c"],
7
8 cflags: [
9 "-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1",
10 "-Wall",
11 "-Werror",
12 ],
13}
diff --git a/rockchip/Android.mk b/rockchip/Android.mk
deleted file mode 100644
index 8f561cd9..00000000
--- a/rockchip/Android.mk
+++ /dev/null
@@ -1,19 +0,0 @@
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_MODULE := libdrm_rockchip
5
6LOCAL_SHARED_LIBRARIES := libdrm
7
8LOCAL_SRC_FILES := rockchip_drm.c
9
10LOCAL_CFLAGS := \
11 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 \
12 -Wall -Werror
13
14LOCAL_SHARED_LIBRARIES := \
15 libdrm
16
17LOCAL_VENDOR_MODULE := true
18
19include $(BUILD_SHARED_LIBRARY)