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