]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/external-libdrm.git/commitdiff
libdrm: Switch to Android.bp for omap driver
authorJohn Stultz <john.stultz@linaro.org>
Tue, 1 May 2018 17:44:24 +0000 (10:44 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Tue, 1 May 2018 18:05:08 +0000 (11:05 -0700)
The omap driver got missed in forward porting
the change to the Android.bp make files, so fix
that.

Change-Id: I94dee0852f418090f861a0930c862512083a46ee
Signed-off-by: John Stultz <john.stultz@linaro.org>
omap/Android.bp [new file with mode: 0644]
omap/Android.mk [deleted file]
omap/Android.sources.bp [new file with mode: 0644]

diff --git a/omap/Android.bp b/omap/Android.bp
new file mode 100644 (file)
index 0000000..05ca7d2
--- /dev/null
@@ -0,0 +1,12 @@
+build = ["Android.sources.bp"]
+
+cc_library_shared {
+    name: "libdrm_omap",
+    defaults: [
+        "libdrm_defaults",
+        "libdrm_omap_sources",
+    ],
+    vendor: true,
+
+    shared_libs: ["libdrm"],
+}
diff --git a/omap/Android.mk b/omap/Android.mk
deleted file mode 100644 (file)
index b25cca1..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libdrm_omap
-LOCAL_VENDOR_MODULE := true
-
-LOCAL_SRC_FILES := omap_drm.c
-
-LOCAL_SHARED_LIBRARIES := libdrm
-
-include $(LIBDRM_COMMON_MK)
-
-include $(BUILD_SHARED_LIBRARY)
diff --git a/omap/Android.sources.bp b/omap/Android.sources.bp
new file mode 100644 (file)
index 0000000..3c7da94
--- /dev/null
@@ -0,0 +1,8 @@
+// Autogenerated with Android.sources.bp.mk
+
+cc_defaults {
+    name: "libdrm_omap_sources",
+    srcs: [
+       "omap_drm.c",
+    ],
+}