aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert to Android.bpDan Willemsen2017-10-232-19/+13
| | | | | | | | | | | | 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
* Build libdrm* modules with BOARD_VNDK_VERSIONJiyong Park2017-10-191-0/+2
| | | | | | | | | | | | | | | | | They are marked as vendor module since they all are depending on libdrm, which is a vendor lib. Also, libdrm_platform is newly introduced as the platform version of libdrm. Bug: 37342627 Bug: 63741047 Test: BOARD_VNDK_VERSION=current m -j libdrm_amdgpu libdrm_etnaviv libdrm_freedreno libdrm_intel libdrm_nouveau libdrm_radeon libdrm_rockchip libdrm_tegra libkms modetest atomictest planetest Change-Id: Ic1ff6fb616f406f1c5e005d3e6f6039758d62315 Merged-In: Ic1ff6fb616f406f1c5e005d3e6f6039758d62315
* Use -Werror in external/libdrmChih-Hung Hsieh2017-10-121-1/+2
| | | | | | | | | * Suppress unused-parameter, unused-variable, pointer-arith, format, gnu-variable-sized-type-not-at-end warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I74fdde60e697d77b90644ea9e94005dc6d14a9a6
* Remove headers from LOCAL_SRC_FILESDan Willemsen2016-01-251-8/+0
| | | | | | | | | | | | | | | | | The build system does not use headers in LOCAL_SRC_FILES. To prevent typos, it's becoming a warning to add something to LOCAL_SRC_FILES that is not used. Since these lists are coming from file shared with other Makefile systems, use filter-out to do this dynamically. Once we move to Soong, we will need our own lists though - Soong cannot read makefiles. Remove LOCAL_EXPORT_C_INCLUDE_DIR entries that do not exist. Also clean up LOCAL_C_INCLUDES -- with LOCAL_EXPORT_C_INCLUDE_DIRS and the default $(LOCAL_PATH) entry, most were not necessary. Remove LOCAL_MODULE_TAGS := optional, that's the default. Change-Id: I2d77814eb227371da2945f6aede671d9f66d7b09
* Remove LOCAL_COPY_HEADERSColin Cross2015-12-211-3/+0
| | | | | | | | | | | Copying headers is bad for enforcing build dependencies because it puts the headers in a location that anyone can include them without depending on the module. The new build system will not support copying headers. Remove LOCAL_COPY_HEADERS, they are already available through LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) Change-Id: I545228718b7a3ad108f155673df8e7faf1c6dd3e
* rockchip: Add support for Android build systemTomasz Figa2015-06-041-0/+27
| | | | | | | | This patch adds changes necessary to enable building libdrm_rockchip inside Android build system. Change-Id: Ib9562f4891dfd5868ba4cb0b7acc20467a2d4084 Signed-off-by: Tomasz Figa <tfiga@google.com>
* rockchip: Add API to create BO object from existing handleTomasz Figa2015-06-042-0/+27
| | | | | | | | Certain use cases involve importing BO from Prime FD and obtaining a handle, which then needs to be imported into libdrm. Change-Id: Ibe28f719d1287e2cc5fb62523239635f8baac901 Signed-off-by: Tomasz Figa <tfiga@google.com>
* rockchip: Add rockchip drm APIyzq2015-06-045-0/+455
This patch adds rockchip libdrm API to provide helpers for BO management on systems using Rockchip DRM. Change-Id: I2abe6434a1aad8ecf63930119b1a2adf3181d9fe Signed-off-by: Tomasz Figa <tfiga@google.com>