blob: 551d9b753c912bd11a51c8375f01afb3f0997894 [file] [log] [blame]
Tom Murphy8e7bb082025-01-28 12:44:20 +00001package {
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
10cc_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",
30 "vulkan_headers",
31 ],
32
33 cppflags: [
34 "-Wno-c++98-compat-pedantic",
35 "-Wno-c99-extensions",
36 "-Wno-exit-time-destructors",
37 "-Wno-float-equal",
38 "-Wno-global-constructors",
39 "-Wno-zero-length-array",
40 ],
41
42 shared_libs: [
43 "libbase",
44 "libgraphicsenv",
45 "liblog",
46 "libmediandk",
47 "libvulkan",
48 ],
49
50 static_libs: [
51 "libgmock",
52 "libgtest",
53 "liblog",
54 ],
55
56}