aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stultz2018-05-02 12:34:18 -0500
committerandroid-build-merger2018-05-02 12:34:18 -0500
commit1fa3e778ae0e87c3a52748b1e782e627e49e00bb (patch)
treea140c7cc156c58c273c59569978ce990dddee91f
parent32dbc66ec9670bca588cb02d18f99f6c5397796f (diff)
parent3e48fd62c18fc26d93ad3099288e91c0a1cc933b (diff)
downloadexternal-libdrm-1fa3e778ae0e87c3a52748b1e782e627e49e00bb.tar.gz
external-libdrm-1fa3e778ae0e87c3a52748b1e782e627e49e00bb.tar.xz
external-libdrm-1fa3e778ae0e87c3a52748b1e782e627e49e00bb.zip
libdrm: Switch to Android.bp for omap driver am: 898243f460
am: 3e48fd62c1 Change-Id: Icf991273a6d1644ca9c4d372d054e191b2ed7f77
-rw-r--r--omap/Android.bp12
-rw-r--r--omap/Android.mk13
-rw-r--r--omap/Android.sources.bp8
3 files changed, 20 insertions, 13 deletions
diff --git a/omap/Android.bp b/omap/Android.bp
new file mode 100644
index 00000000..05ca7d2d
--- /dev/null
+++ b/omap/Android.bp
@@ -0,0 +1,12 @@
1build = ["Android.sources.bp"]
2
3cc_library_shared {
4 name: "libdrm_omap",
5 defaults: [
6 "libdrm_defaults",
7 "libdrm_omap_sources",
8 ],
9 vendor: true,
10
11 shared_libs: ["libdrm"],
12}
diff --git a/omap/Android.mk b/omap/Android.mk
deleted file mode 100644
index b25cca13..00000000
--- a/omap/Android.mk
+++ /dev/null
@@ -1,13 +0,0 @@
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_MODULE := libdrm_omap
5LOCAL_VENDOR_MODULE := true
6
7LOCAL_SRC_FILES := omap_drm.c
8
9LOCAL_SHARED_LIBRARIES := libdrm
10
11include $(LIBDRM_COMMON_MK)
12
13include $(BUILD_SHARED_LIBRARY)
diff --git a/omap/Android.sources.bp b/omap/Android.sources.bp
new file mode 100644
index 00000000..3c7da94a
--- /dev/null
+++ b/omap/Android.sources.bp
@@ -0,0 +1,8 @@
1// Autogenerated with Android.sources.bp.mk
2
3cc_defaults {
4 name: "libdrm_omap_sources",
5 srcs: [
6 "omap_drm.c",
7 ],
8}