Tom Murphy | 8e7bb08 | 2025-01-28 12:44:20 +0000 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_native_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_native_license"], |
| 8 | } |
| 9 | |
| 10 | cc_test { |
| 11 | name: "libvulkan_test", |
| 12 | test_suites: ["general-tests"], |
| 13 | |
| 14 | srcs: [ |
| 15 | "libvulkan_test.cpp", |
| 16 | ], |
| 17 | |
| 18 | strip: { |
| 19 | none: true, |
| 20 | }, |
| 21 | |
| 22 | cflags: [ |
| 23 | "-DVK_USE_PLATFORM_ANDROID_KHR", |
| 24 | "-Wall", |
| 25 | "-Werror", |
| 26 | ], |
| 27 | |
| 28 | header_libs: [ |
| 29 | "hwvulkan_headers", |
Tom Murphy | 244dbe4 | 2025-02-19 18:50:46 +0000 | [diff] [blame] | 30 | "libvulkanprivate_headers-testing", |
Tom Murphy | 8e7bb08 | 2025-01-28 12:44:20 +0000 | [diff] [blame] | 31 | "vulkan_headers", |
| 32 | ], |
| 33 | |
| 34 | cppflags: [ |
| 35 | "-Wno-c++98-compat-pedantic", |
| 36 | "-Wno-c99-extensions", |
| 37 | "-Wno-exit-time-destructors", |
| 38 | "-Wno-float-equal", |
| 39 | "-Wno-global-constructors", |
| 40 | "-Wno-zero-length-array", |
| 41 | ], |
| 42 | |
| 43 | shared_libs: [ |
| 44 | "libbase", |
| 45 | "libgraphicsenv", |
| 46 | "liblog", |
| 47 | "libmediandk", |
| 48 | "libvulkan", |
| 49 | ], |
| 50 | |
| 51 | static_libs: [ |
| 52 | "libgmock", |
| 53 | "libgtest", |
| 54 | "liblog", |
| 55 | ], |
| 56 | |
| 57 | } |