forked from KhronosGroup/VK-GL-CTS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
61 lines (47 loc) · 1.47 KB
/
Android.mk
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
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 \
-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 := 22
LOCAL_CPPFLAGS += -Wno-non-virtual-dtor -Wno-delete-non-virtual-dtor
LOCAL_NDK_STL_VARIANT := gnustl_static
LOCAL_RTTI_FLAG := -frtti -fexceptions
LOCAL_MULTILIB := both
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 $(LOCAL_PATH)/android/cts/Android.mk