aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGowtham Tammana2016-06-22 15:40:59 -0500
committerAndrew F. Davis2018-03-13 10:25:38 -0500
commit077ac10b8ed77a49353de20aaae1cb52cb42c4f1 (patch)
tree60a791e00aa0e9032e91624000abddc0a0c5f795
parentdef3eb73c259cba667addec5332c2dd3fa26d340 (diff)
downloadexternal-libdrm-d-oreo-mr1-core-release.tar.gz
external-libdrm-d-oreo-mr1-core-release.tar.xz
external-libdrm-d-oreo-mr1-core-release.zip
omap: Convert Android.mk to Android.bpd-oreo-mr1-core-release
Signed-off-by: Andrew F. Davis <afd@ti.com>
-rw-r--r--omap/Android.bp14
-rw-r--r--omap/Android.mk20
2 files changed, 14 insertions, 20 deletions
diff --git a/omap/Android.bp b/omap/Android.bp
new file mode 100644
index 00000000..94e2349e
--- /dev/null
+++ b/omap/Android.bp
@@ -0,0 +1,14 @@
1cc_library_shared {
2 name: "libdrm_omap",
3 vendor: true,
4 shared_libs: ["libdrm"],
5
6 srcs: ["omap_drm.c"],
7
8 cflags: [
9 "-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1",
10 "-Wall",
11 "-Werror",
12 "-Wno-unused-variable",
13 ],
14}
diff --git a/omap/Android.mk b/omap/Android.mk
deleted file mode 100644
index 91b5a99c..00000000
--- a/omap/Android.mk
+++ /dev/null
@@ -1,20 +0,0 @@
1ifneq ($(filter $(BOARD_GPU_DRIVERS), omapdrm),)
2
3LOCAL_PATH := $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES := \
7 omap_drm.c
8
9LOCAL_CFLAGS := \
10 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
11
12LOCAL_MODULE := libdrm_omap
13LOCAL_MODULE_FLAGS := optional
14
15LOCAL_SHARED_LIBRARIES := libdrm
16LOCAL_VENDOR_MODULE := true
17
18include $(BUILD_SHARED_LIBRARY)
19
20endif