blob: 125c89813ff3f67c9471de99369c4b7137118362 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
# The clang-tidy google-explicit-constructor warning is issued to nearly
# 1000 conversion constructors in this project. They are from more than
# 500 source files. Most of them should be declared explicit, but many
# of them need to be implicit. Until we correctly mark them as explicit
# or NOLINT(implicit), we suppress the google-explicit-constructor check.
LOCAL_TIDY_CHECKS := -google-explicit-constructor
deqp_dir := $(LOCAL_PATH)/
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE := libdeqp
include $(LOCAL_PATH)/AndroidGen.mk
LOCAL_C_INCLUDES += \
frameworks/native/opengl/include \
external/libpng \
external/zlib
deqp_compile_flags := \
-DDEQP_SUPPORT_GLES1=1 \
-DDE_ANDROID_API=9 \
-D_XOPEN_SOURCE=600 \
-DDEQP_TARGET_NAME=\"android\" \
-DQP_SUPPORT_PNG=1 \
-Wall \
-Werror \
-Wconversion \
-fwrapv \
-Wno-sign-conversion
LOCAL_SHARED_LIBRARIES := \
libEGL \
libGLESv2 \
libandroid \
liblog \
libm \
libc \
libz \
libdl
LOCAL_STATIC_LIBRARIES := \
libpng_ndk \
LOCAL_CFLAGS += \
$(deqp_compile_flags)
LOCAL_SDK_VERSION := 26
LOCAL_CPPFLAGS += -Wno-non-virtual-dtor -Wno-delete-non-virtual-dtor
LOCAL_NDK_STL_VARIANT := c++_static
LOCAL_RTTI_FLAG := -frtti -fexceptions
LOCAL_MULTILIB := both
LOCAL_TIDY_CHECKS := \
-google-build-explicit-make-pair, \
-google-global-names-in-headers, \
-google-runtime-member-string-references, \
-google-runtime-operator, \
include $(BUILD_SHARED_LIBRARY)
# Build the test APKs using their own makefiles
# include $(call all-makefiles-under,$(LOCAL_PATH)/android)
include $(LOCAL_PATH)/android/package/Android.mk
|