diff options
author | John Stultz | 2018-05-01 12:44:24 -0500 |
---|---|---|
committer | Dmitry Shmidt | 2018-05-01 13:05:08 -0500 |
commit | 898243f460089111e1942b56bf0b0cee367d893e (patch) | |
tree | a140c7cc156c58c273c59569978ce990dddee91f | |
parent | 843b2390044ab2a0de5daff27b2fdd0c771b0d49 (diff) | |
download | external-libdrm-898243f460089111e1942b56bf0b0cee367d893e.tar.gz external-libdrm-898243f460089111e1942b56bf0b0cee367d893e.tar.xz external-libdrm-898243f460089111e1942b56bf0b0cee367d893e.zip |
libdrm: Switch to Android.bp for omap driver
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>
-rw-r--r-- | omap/Android.bp | 12 | ||||
-rw-r--r-- | omap/Android.mk | 13 | ||||
-rw-r--r-- | omap/Android.sources.bp | 8 |
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 @@ | |||
1 | build = ["Android.sources.bp"] | ||
2 | |||
3 | cc_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 @@ | |||
1 | LOCAL_PATH := $(call my-dir) | ||
2 | include $(CLEAR_VARS) | ||
3 | |||
4 | LOCAL_MODULE := libdrm_omap | ||
5 | LOCAL_VENDOR_MODULE := true | ||
6 | |||
7 | LOCAL_SRC_FILES := omap_drm.c | ||
8 | |||
9 | LOCAL_SHARED_LIBRARIES := libdrm | ||
10 | |||
11 | include $(LIBDRM_COMMON_MK) | ||
12 | |||
13 | include $(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 | |||
3 | cc_defaults { | ||
4 | name: "libdrm_omap_sources", | ||
5 | srcs: [ | ||
6 | "omap_drm.c", | ||
7 | ], | ||
8 | } | ||