aboutsummaryrefslogtreecommitdiffstats
path: root/radeon
diff options
context:
space:
mode:
authorDan Willemsen2017-10-20 00:18:23 -0500
committerDan Willemsen2017-10-23 14:27:31 -0500
commitfa32e29a1fe81e5472aabc65d3aa25a5af5aec55 (patch)
treeddc9bf3abee1194215f500913f95229b33b928f7 /radeon
parentc6ebab75df64ad6ff2be83cd53bb7d02955d7438 (diff)
downloadexternal-libgbm-fa32e29a1fe81e5472aabc65d3aa25a5af5aec55.tar.gz
external-libgbm-fa32e29a1fe81e5472aabc65d3aa25a5af5aec55.tar.xz
external-libgbm-fa32e29a1fe81e5472aabc65d3aa25a5af5aec55.zip
Convert to Android.bp
See build/soong/README.md for more information about Soong. Removes BOARD_GPU_DRIVERS, which wasn't affecting anything, since none of the HAVE_* macros are defined. Even if they were, we'd prefer to compile all of them so that a single library can support multiple boards. Test: mmma external/libdrm Change-Id: Ie01736bce6cf41e3da5040fe5341ade0634b5111
Diffstat (limited to 'radeon')
-rw-r--r--radeon/Android.bp11
-rw-r--r--radeon/Android.mk15
-rw-r--r--radeon/Android.sources.bp13
3 files changed, 24 insertions, 15 deletions
diff --git a/radeon/Android.bp b/radeon/Android.bp
new file mode 100644
index 00000000..9d0a09ec
--- /dev/null
+++ b/radeon/Android.bp
@@ -0,0 +1,11 @@
1build = ["Android.sources.bp"]
2
3cc_library_shared {
4 name: "libdrm_radeon",
5 defaults: [
6 "libdrm_defaults",
7 "libdrm_radeon_sources",
8 ],
9 vendor: true,
10 shared_libs: ["libdrm"],
11}
diff --git a/radeon/Android.mk b/radeon/Android.mk
deleted file mode 100644
index 7bc9cee9..00000000
--- a/radeon/Android.mk
+++ /dev/null
@@ -1,15 +0,0 @@
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4# Import variables LIBDRM_RADEON_FILES, LIBDRM_RADEON_H_FILES
5include $(LOCAL_PATH)/Makefile.sources
6
7LOCAL_MODULE := libdrm_radeon
8LOCAL_VENDOR_MODULE := true
9
10LOCAL_SHARED_LIBRARIES := libdrm
11
12LOCAL_SRC_FILES := $(LIBDRM_RADEON_FILES)
13
14include $(LIBDRM_COMMON_MK)
15include $(BUILD_SHARED_LIBRARY)
diff --git a/radeon/Android.sources.bp b/radeon/Android.sources.bp
new file mode 100644
index 00000000..820ac4d6
--- /dev/null
+++ b/radeon/Android.sources.bp
@@ -0,0 +1,13 @@
1// Autogenerated with Android.sources.bp.mk
2
3cc_defaults {
4 name: "libdrm_radeon_sources",
5 srcs: [
6 "radeon_bo_gem.c",
7 "radeon_cs_gem.c",
8 "radeon_cs_space.c",
9 "radeon_bo.c",
10 "radeon_cs.c",
11 "radeon_surface.c",
12 ],
13}