blob: 30c10b70adbc22884766a04e0df62826d9dd5540 [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
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_av_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_av_license"],
8}
9
Andy Hungd4265822022-04-01 18:54:32 -070010cc_test_library {
11 name: "libsharedtest",
12 cflags: [
13 "-Wall",
14 "-Werror",
15 "-Wextra",
16 ],
17
18 sanitize:{
19 address: true,
20 cfi: true,
21 integer_overflow: true,
22 memtag_heap: true,
23 },
24
25 shared_libs: [
26 "liblog",
27 ],
28
29 srcs: [
30 "sharedtest.cpp",
31 ]
32}
33
34cc_test {
35 name: "library_tests",
36
37 cflags: [
38 "-Wall",
39 "-Werror",
40 "-Wextra",
41 ],
42
43 sanitize:{
44 address: true,
45 cfi: true,
46 integer_overflow: true,
47 memtag_heap: true,
48 },
49
50 shared_libs: [
51 "libbase",
52 "liblog",
53 "libmediautils",
54 "libutils",
55 ],
56
57 data_libs: [
58 "libsharedtest",
59 ],
60
61 srcs: [
62 "library_tests.cpp",
63 ],
64}
65
Andy Hung328d6772021-01-12 12:32:21 -080066cc_test {
67 name: "media_synchronization_tests",
68
69 cflags: [
70 "-Wall",
71 "-Werror",
72 "-Wextra",
73 ],
74
75 shared_libs: [
76 "liblog",
77 "libmediautils",
78 "libutils",
79 ],
80
81 srcs: [
82 "media_synchronization_tests.cpp",
83 ],
84}
Andy Hung5c6d68a2022-03-09 21:54:59 -080085
86cc_test {
Andy Hungc747c532022-03-07 21:41:14 -080087 name: "methodstatistics_tests",
88
89 cflags: [
90 "-Wall",
91 "-Werror",
92 "-Wextra",
93 ],
94
95 shared_libs: [
96 "libaudioutils",
97 "liblog",
98 "libmediautils",
99 "libutils",
100 ],
101
102 srcs: [
103 "methodstatistics_tests.cpp",
104 ],
105}
106
107cc_test {
Andy Hung5c6d68a2022-03-09 21:54:59 -0800108 name: "timecheck_tests",
109
110 cflags: [
111 "-Wall",
112 "-Werror",
113 "-Wextra",
114 ],
115
116 sanitize:{
117 address: true,
118 cfi: true,
119 integer_overflow: true,
120 memtag_heap: true,
121 },
122
123 shared_libs: [
124 "liblog",
125 "libmediautils",
126 "libutils",
127 ],
128
129 srcs: [
130 "timecheck_tests.cpp",
131 ],
132}