sync with OpenBSD -current
This commit is contained in:
parent
f3c6f98243
commit
4b49aefbb1
101 changed files with 911 additions and 672 deletions
35
lib/libdrm/tests/util/Android.bp
Normal file
35
lib/libdrm/tests/util/Android.bp
Normal file
|
@ -0,0 +1,35 @@
|
|||
//
|
||||
// Copyright © 2015 NVIDIA Corporation
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the "Software"),
|
||||
// to deal in the Software without restriction, including without limitation
|
||||
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
// and/or sell copies of the Software, and to permit persons to whom the
|
||||
// Software is furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice (including the next
|
||||
// paragraph) shall be included in all copies or substantial portions of the
|
||||
// Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
build = ["Android.sources.bp"]
|
||||
|
||||
cc_library_static {
|
||||
name: "libdrm_util",
|
||||
defaults: [
|
||||
"libdrm_defaults",
|
||||
"libdrm_util_sources",
|
||||
],
|
||||
shared_libs: ["libdrm"],
|
||||
header_libs: ["libdrm_test_headers"],
|
||||
export_header_lib_headers: ["libdrm_test_headers"],
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#
|
||||
# Copyright © 2015 NVIDIA Corporation
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||
# copy of this software and associated documentation files (the "Software"),
|
||||
# to deal in the Software without restriction, including without limitation
|
||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
# and/or sell copies of the Software, and to permit persons to whom the
|
||||
# Software is furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice (including the next
|
||||
# paragraph) shall be included in all copies or substantial portions of the
|
||||
# Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
# IN THE SOFTWARE.
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
include $(LOCAL_PATH)/Makefile.sources
|
||||
|
||||
LOCAL_MODULE := libdrm_util
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libdrm
|
||||
|
||||
LOCAL_SRC_FILES := $(UTIL_FILES)
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LIBDRM_TOP)/tests
|
||||
|
||||
include $(LIBDRM_COMMON_MK)
|
||||
include $(BUILD_STATIC_LIBRARY)
|
10
lib/libdrm/tests/util/Android.sources.bp
Normal file
10
lib/libdrm/tests/util/Android.sources.bp
Normal file
|
@ -0,0 +1,10 @@
|
|||
// Autogenerated with Android.sources.bp.mk
|
||||
|
||||
cc_defaults {
|
||||
name: "libdrm_util_sources",
|
||||
srcs: [
|
||||
"format.c",
|
||||
"kms.c",
|
||||
"pattern.c",
|
||||
],
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
UTIL_FILES := \
|
||||
common.h \
|
||||
format.c \
|
||||
format.h \
|
||||
kms.c \
|
||||
kms.h \
|
||||
pattern.c \
|
||||
pattern.h
|
|
@ -126,6 +126,7 @@ static const char * const modules[] = {
|
|||
"simpledrm",
|
||||
"imx-lcdif",
|
||||
"vkms",
|
||||
"tidss",
|
||||
};
|
||||
|
||||
int util_open(const char *device, const char *module)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue