1build = ["AndroidGen.bp"] 2 3cc_library_shared { 4 name: "libdeqp", 5 defaults: ["libdeqp_gen"], 6 7 tidy_checks: [ 8 // The clang-tidy google-explicit-constructor warning is issued to nearly 9 // 1000 conversion constructors in this project. They are from more than 10 // 500 source files. Most of them should be declared explicit, but many 11 // of them need to be implicit. Until we correctly mark them as explicit 12 // or NOLINT(implicit), we suppress the google-explicit-constructor check. 13 "-google-explicit-constructor", 14 15 "-google-build-explicit-make-pair", 16 "-google-global-names-in-headers", 17 "-google-runtime-member-string-references", 18 "-google-runtime-operator", 19 ], 20 21 include_dirs: [ 22 "external/deqp-deps/SPIRV-Headers/include", 23 ], 24 25 shared_libs: [ 26 "libEGL", 27 "libGLESv2", 28 "libandroid", 29 "liblog", 30 "libm", 31 "libc", 32 "libz", 33 "libdl", 34 ], 35 36 static_libs: [ 37 "libpng_ndk", 38 "deqp_OSDependent", 39 "deqp_OGLCompiler", 40 "deqp_HLSL", 41 "deqp_glslang", 42 "deqp_SPIRV", 43 "deqp_spirv-tools", 44 "deqp_amber", 45 ], 46 47 cflags: [ 48 "-DDEQP_SUPPORT_GLES1=1", 49 "-DDE_ANDROID_API=28", 50 "-D_XOPEN_SOURCE=600", 51 "-DDEQP_TARGET_NAME=\"android\"", 52 "-DQP_SUPPORT_PNG=1", 53 "-DDEQP_HAVE_GLSLANG=1", 54 "-DDEQP_HAVE_SPIRV_TOOLS=1", 55 "-Wall", 56 "-Werror", 57 "-Wconversion", 58 "-fwrapv", 59 "-Wno-implicit-fallthrough", 60 "-Wno-sign-conversion", 61 "-Wno-unused-private-field", 62 "-DENABLE_HLSL", 63 ], 64 65 sdk_version: "27", 66 cppflags: [ 67 "-Wno-non-virtual-dtor", 68 "-Wno-delete-non-virtual-dtor", 69 "-Wno-implicit-int-conversion", 70 "-Wno-missing-field-initializers", 71 "-Wno-switch", 72 "-Wno-unused-parameter", 73 "-Wno-unused-variable", 74 "-fexceptions", 75 ], 76 rtti: true, 77 stl: "c++_static", 78} 79 80android_test { 81 name: "com.drawelements.deqp", 82 83 test_suites: [ 84 "cts", 85 "mts", 86 "vts10", 87 ], 88 89 srcs: ["android/package/src/**/*.java"], 90 resource_dirs: ["android/package/res"], 91 manifest: "android/package/AndroidManifest-integration.xml", 92 93 asset_dirs: [ 94 "data", 95 "external/vulkancts/data", 96 "external/graphicsfuzz/data", 97 ], 98 99 jni_libs: ["libdeqp"], 100 101 compile_multilib: "both", 102 103 // We could go down all the way to API-13 for 32bit. 22 is required for 64bit ARM. 104 sdk_version: "test_current", 105} 106