diff options
author | John Stultz <john.stultz@linaro.org> | 2018-05-01 10:44:24 -0700 |
---|---|---|
committer | Joonas Kylmälä <joonas.kylmala@iki.fi> | 2020-04-12 10:26:35 -0400 |
commit | 7af0a641530d64fdffa604152fc7e6ec1a7c00d3 (patch) | |
tree | 273564f244e64d2ad7b6e072d79bb9634f6655b6 | |
parent | cfe616b37468ab064e3bd90b046367e6e59eb154 (diff) | |
download | external_libdrm-7af0a641530d64fdffa604152fc7e6ec1a7c00d3.tar.gz external_libdrm-7af0a641530d64fdffa604152fc7e6ec1a7c00d3.tar.bz2 external_libdrm-7af0a641530d64fdffa604152fc7e6ec1a7c00d3.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 @@ +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 index b25cca13..00000000 --- a/omap/Android.mk +++ /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 index 00000000..3c7da94a --- /dev/null +++ b/omap/Android.sources.bp @@ -0,0 +1,8 @@ +// Autogenerated with Android.sources.bp.mk + +cc_defaults { + name: "libdrm_omap_sources", + srcs: [ + "omap_drm.c", + ], +} |