Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2008 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
Tom Cherry | 167fbf5 | 2020-09-17 09:39:24 -0700 | [diff] [blame] | 17 | filegroup { |
| 18 | name: "android_filesystem_config_header", |
| 19 | srcs: ["include/private/android_filesystem_config.h"], |
| 20 | } |
| 21 | |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 22 | // some files must not be compiled when building against Mingw |
| 23 | // they correspond to features not used by our host development tools |
| 24 | // which are also hard or even impossible to port to native Win32 |
| 25 | libcutils_nonwindows_sources = [ |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 26 | "fs.cpp", |
Elliott Hughes | 9d12725 | 2018-07-13 10:54:49 -0700 | [diff] [blame] | 27 | "hashmap.cpp", |
Jeff Sharkey | 53d37ba | 2017-11-09 17:41:09 -0700 | [diff] [blame] | 28 | "multiuser.cpp", |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 29 | "str_parms.cpp", |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 30 | ] |
| 31 | |
Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 32 | cc_library_headers { |
Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 33 | name: "libcutils_headers", |
Steven Moreland | 385fe69 | 2017-04-13 14:29:58 -0700 | [diff] [blame] | 34 | vendor_available: true, |
Jiyong Park | 612210c | 2018-04-27 21:48:43 +0900 | [diff] [blame] | 35 | recovery_available: true, |
Tom Cherry | a5edc0f | 2020-09-17 09:38:42 -0700 | [diff] [blame] | 36 | ramdisk_available: true, |
Yifan Hong | 55015ff | 2020-10-27 16:37:06 -0700 | [diff] [blame^] | 37 | vendor_ramdisk_available: true, |
Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 38 | host_supported: true, |
Jiyong Park | 8bf9b16 | 2020-03-07 16:36:09 +0900 | [diff] [blame] | 39 | apex_available: [ |
| 40 | "//apex_available:platform", |
| 41 | "//apex_available:anyapex", |
| 42 | ], |
Jooyung Han | 88f00f2 | 2020-04-16 18:48:33 +0900 | [diff] [blame] | 43 | min_sdk_version: "29", |
dimitry | 051d5cb | 2019-05-16 14:17:00 +0200 | [diff] [blame] | 44 | native_bridge_supported: true, |
Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 45 | export_include_dirs: ["include"], |
| 46 | target: { |
Steven Moreland | 385fe69 | 2017-04-13 14:29:58 -0700 | [diff] [blame] | 47 | vendor: { |
Steven Moreland | e1c834d | 2018-01-05 14:42:12 -0800 | [diff] [blame] | 48 | override_export_include_dirs: ["include_vndk"], |
Steven Moreland | 385fe69 | 2017-04-13 14:29:58 -0700 | [diff] [blame] | 49 | }, |
Dan Willemsen | e0cd1e0 | 2017-03-15 15:23:36 -0700 | [diff] [blame] | 50 | linux_bionic: { |
| 51 | enabled: true, |
| 52 | }, |
| 53 | windows: { |
| 54 | enabled: true, |
| 55 | }, |
Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 56 | }, |
| 57 | } |
| 58 | |
Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 59 | // Socket specific parts of libcutils that are safe to statically link into an APEX. |
Josh Gao | 7f8a37c | 2020-03-09 15:20:55 -0700 | [diff] [blame] | 60 | cc_library { |
Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 61 | name: "libcutils_sockets", |
| 62 | vendor_available: true, |
Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 63 | recovery_available: true, |
Akilesh Kailash | dfb1e08 | 2020-09-30 01:34:42 +0000 | [diff] [blame] | 64 | ramdisk_available: true, |
Yifan Hong | 55015ff | 2020-10-27 16:37:06 -0700 | [diff] [blame^] | 65 | vendor_ramdisk_available: true, |
Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 66 | host_supported: true, |
| 67 | native_bridge_supported: true, |
| 68 | apex_available: [ |
| 69 | "//apex_available:platform", |
| 70 | "//apex_available:anyapex", |
| 71 | ], |
Jooyung Han | 88f00f2 | 2020-04-16 18:48:33 +0900 | [diff] [blame] | 72 | min_sdk_version: "29", |
Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 73 | |
| 74 | export_include_dirs: ["include"], |
| 75 | |
Josh Gao | 7f8a37c | 2020-03-09 15:20:55 -0700 | [diff] [blame] | 76 | shared_libs: ["liblog"], |
Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 77 | srcs: ["sockets.cpp"], |
| 78 | target: { |
| 79 | linux_bionic: { |
| 80 | enabled: true, |
| 81 | }, |
| 82 | |
| 83 | not_windows: { |
| 84 | srcs: [ |
| 85 | "socket_inaddr_any_server_unix.cpp", |
| 86 | "socket_local_client_unix.cpp", |
| 87 | "socket_local_server_unix.cpp", |
| 88 | "socket_network_client_unix.cpp", |
| 89 | "sockets_unix.cpp", |
| 90 | ], |
| 91 | }, |
| 92 | |
| 93 | // "not_windows" means "non-Windows host". |
| 94 | android: { |
| 95 | srcs: [ |
| 96 | "android_get_control_file.cpp", |
| 97 | "socket_inaddr_any_server_unix.cpp", |
| 98 | "socket_local_client_unix.cpp", |
| 99 | "socket_local_server_unix.cpp", |
| 100 | "socket_network_client_unix.cpp", |
| 101 | "sockets_unix.cpp", |
| 102 | ], |
| 103 | static_libs: ["libbase"], |
| 104 | }, |
| 105 | |
| 106 | windows: { |
| 107 | host_ldlibs: ["-lws2_32"], |
| 108 | srcs: [ |
| 109 | "socket_inaddr_any_server_windows.cpp", |
| 110 | "socket_network_client_windows.cpp", |
| 111 | "sockets_windows.cpp", |
| 112 | ], |
| 113 | |
| 114 | enabled: true, |
| 115 | cflags: [ |
| 116 | "-D_GNU_SOURCE", |
| 117 | ], |
| 118 | }, |
| 119 | }, |
| 120 | } |
| 121 | |
| 122 | cc_test { |
| 123 | name: "libcutils_sockets_test", |
| 124 | test_suites: ["device-tests"], |
| 125 | static_libs: ["libbase", "libcutils_sockets"], |
| 126 | cflags: [ |
| 127 | "-Wall", |
| 128 | "-Wextra", |
| 129 | "-Werror", |
| 130 | ], |
| 131 | |
| 132 | srcs: ["sockets_test.cpp"], |
| 133 | target: { |
| 134 | android: { |
| 135 | srcs: [ |
| 136 | "android_get_control_file_test.cpp", |
| 137 | "android_get_control_socket_test.cpp", |
| 138 | ], |
| 139 | }, |
| 140 | }, |
| 141 | } |
| 142 | |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 143 | cc_library { |
| 144 | name: "libcutils", |
Steven Moreland | 385fe69 | 2017-04-13 14:29:58 -0700 | [diff] [blame] | 145 | vendor_available: true, |
Justin Yun | 9ca9245 | 2017-07-31 15:41:10 +0900 | [diff] [blame] | 146 | vndk: { |
| 147 | enabled: true, |
| 148 | support_system_process: true, |
| 149 | }, |
Jiyong Park | 612210c | 2018-04-27 21:48:43 +0900 | [diff] [blame] | 150 | recovery_available: true, |
Yifan Hong | 55015ff | 2020-10-27 16:37:06 -0700 | [diff] [blame^] | 151 | vendor_ramdisk_available: true, |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 152 | host_supported: true, |
Jiyong Park | 8bf9b16 | 2020-03-07 16:36:09 +0900 | [diff] [blame] | 153 | apex_available: [ |
| 154 | "//apex_available:platform", |
| 155 | "//apex_available:anyapex", |
| 156 | ], |
Jooyung Han | 88f00f2 | 2020-04-16 18:48:33 +0900 | [diff] [blame] | 157 | min_sdk_version: "29", |
dimitry | 051d5cb | 2019-05-16 14:17:00 +0200 | [diff] [blame] | 158 | native_bridge_supported: true, |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 159 | srcs: [ |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 160 | "config_utils.cpp", |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 161 | "canned_fs_config.cpp", |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 162 | "iosched_policy.cpp", |
| 163 | "load_file.cpp", |
Steven Moreland | d22659b | 2020-10-05 23:20:11 +0000 | [diff] [blame] | 164 | "memory.cpp", |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 165 | "native_handle.cpp", |
S Vasudev Prasad | 100b08a | 2020-05-08 11:45:45 +0530 | [diff] [blame] | 166 | "properties.cpp", |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 167 | "record_stream.cpp", |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 168 | "strlcpy.c", |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 169 | "threads.cpp", |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 170 | ], |
| 171 | |
| 172 | target: { |
Dan Willemsen | e0cd1e0 | 2017-03-15 15:23:36 -0700 | [diff] [blame] | 173 | linux_bionic: { |
| 174 | enabled: true, |
Dan Willemsen | e0cd1e0 | 2017-03-15 15:23:36 -0700 | [diff] [blame] | 175 | }, |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 176 | not_windows: { |
| 177 | srcs: libcutils_nonwindows_sources + [ |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 178 | "ashmem-host.cpp", |
Jiyong Park | a2159c4 | 2019-02-03 00:34:29 +0900 | [diff] [blame] | 179 | "fs_config.cpp", |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 180 | "trace-host.cpp", |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 181 | ], |
| 182 | }, |
| 183 | windows: { |
Steven Moreland | e6132be | 2019-03-25 20:38:56 -0700 | [diff] [blame] | 184 | host_ldlibs: ["-lws2_32"], |
| 185 | |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 186 | srcs: [ |
David Sehr | eb2dd20 | 2018-12-20 12:59:36 -0800 | [diff] [blame] | 187 | "trace-host.cpp", |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 188 | ], |
| 189 | |
| 190 | enabled: true, |
Mark Salyzyn | 163ecc6 | 2017-05-02 08:56:15 -0700 | [diff] [blame] | 191 | cflags: [ |
| 192 | "-D_GNU_SOURCE", |
| 193 | ], |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 194 | }, |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 195 | android: { |
| 196 | srcs: libcutils_nonwindows_sources + [ |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 197 | "android_reboot.cpp", |
| 198 | "ashmem-dev.cpp", |
Jiyong Park | a2159c4 | 2019-02-03 00:34:29 +0900 | [diff] [blame] | 199 | "fs_config.cpp", |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 200 | "klog.cpp", |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 201 | "partition_utils.cpp", |
Chenbo Feng | baede73 | 2017-10-25 12:31:43 -0700 | [diff] [blame] | 202 | "qtaguid.cpp", |
Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 203 | "trace-dev.cpp", |
Luis Hector Chavez | e97a4b9 | 2017-11-02 14:17:43 -0700 | [diff] [blame] | 204 | "uevent.cpp", |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 205 | ], |
Luis Hector Chavez | fae195b | 2017-11-03 16:22:05 -0700 | [diff] [blame] | 206 | }, |
Steven Moreland | d22659b | 2020-10-05 23:20:11 +0000 | [diff] [blame] | 207 | bionic: { |
| 208 | header_libs: ["bionic_libc_platform_headers"], |
| 209 | }, |
Luis Hector Chavez | fae195b | 2017-11-03 16:22:05 -0700 | [diff] [blame] | 210 | |
| 211 | android_arm: { |
Luis Hector Chavez | fae195b | 2017-11-03 16:22:05 -0700 | [diff] [blame] | 212 | sanitize: { |
| 213 | misc_undefined: ["integer"], |
| 214 | }, |
| 215 | }, |
| 216 | android_arm64: { |
Luis Hector Chavez | fae195b | 2017-11-03 16:22:05 -0700 | [diff] [blame] | 217 | sanitize: { |
| 218 | misc_undefined: ["integer"], |
| 219 | }, |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 220 | }, |
| 221 | |
| 222 | android_x86: { |
Luis Hector Chavez | fae195b | 2017-11-03 16:22:05 -0700 | [diff] [blame] | 223 | // TODO: This is to work around b/29412086. |
| 224 | // Remove once __mulodi4 is available and move the "sanitize" block |
| 225 | // to the android target. |
| 226 | sanitize: { |
| 227 | misc_undefined: [], |
| 228 | }, |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 229 | }, |
| 230 | |
| 231 | android_x86_64: { |
Luis Hector Chavez | fae195b | 2017-11-03 16:22:05 -0700 | [diff] [blame] | 232 | sanitize: { |
| 233 | misc_undefined: ["integer"], |
| 234 | }, |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 235 | }, |
Logan Chien | 25b742c | 2018-05-08 17:37:29 +0800 | [diff] [blame] | 236 | |
| 237 | vendor: { |
| 238 | exclude_srcs: [ |
| 239 | // qtaguid.cpp loads libnetd_client.so with dlopen(). Since |
| 240 | // the interface of libnetd_client.so may vary between AOSP |
| 241 | // releases, exclude qtaguid.cpp from the VNDK-SP variant. |
| 242 | "qtaguid.cpp", |
| 243 | ], |
| 244 | } |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 245 | }, |
| 246 | |
Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 247 | whole_static_libs: ["libcutils_sockets"], |
Joel Fernandes | 5194404 | 2018-12-18 13:32:31 -0800 | [diff] [blame] | 248 | shared_libs: [ |
| 249 | "liblog", |
| 250 | "libbase", |
| 251 | ], |
Steven Moreland | d73be1b | 2017-04-13 23:48:57 -0700 | [diff] [blame] | 252 | header_libs: [ |
Elliott Hughes | 9f49508 | 2018-04-25 14:52:50 -0700 | [diff] [blame] | 253 | "libbase_headers", |
Steven Moreland | d73be1b | 2017-04-13 23:48:57 -0700 | [diff] [blame] | 254 | "libcutils_headers", |
| 255 | "libutils_headers", |
Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 256 | "libprocessgroup_headers", |
Steven Moreland | d73be1b | 2017-04-13 23:48:57 -0700 | [diff] [blame] | 257 | ], |
Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 258 | export_header_lib_headers: [ |
| 259 | "libcutils_headers", |
| 260 | "libprocessgroup_headers", |
| 261 | ], |
Yifan Hong | b680712 | 2017-07-25 15:24:04 -0700 | [diff] [blame] | 262 | local_include_dirs: ["include"], |
Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 263 | |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 264 | cflags: [ |
| 265 | "-Werror", |
| 266 | "-Wall", |
| 267 | "-Wextra", |
| 268 | ], |
Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 269 | } |
| 270 | |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 271 | cc_defaults { |
| 272 | name: "libcutils_test_default", |
Elliott Hughes | 7e42484 | 2019-11-12 20:20:42 -0800 | [diff] [blame] | 273 | srcs: [ |
| 274 | "native_handle_test.cpp", |
S Vasudev Prasad | 100b08a | 2020-05-08 11:45:45 +0530 | [diff] [blame] | 275 | "properties_test.cpp", |
Elliott Hughes | 7e42484 | 2019-11-12 20:20:42 -0800 | [diff] [blame] | 276 | "sockets_test.cpp", |
| 277 | ], |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 278 | |
| 279 | target: { |
| 280 | android: { |
| 281 | srcs: [ |
| 282 | "android_get_control_file_test.cpp", |
| 283 | "android_get_control_socket_test.cpp", |
| 284 | "ashmem_test.cpp", |
| 285 | "fs_config_test.cpp", |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 286 | "multiuser_test.cpp", |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 287 | "sched_policy_test.cpp", |
| 288 | "str_parms_test.cpp", |
| 289 | "trace-dev_test.cpp", |
| 290 | ], |
| 291 | }, |
| 292 | |
| 293 | not_windows: { |
| 294 | srcs: [ |
| 295 | "str_parms_test.cpp", |
| 296 | ], |
| 297 | }, |
| 298 | }, |
| 299 | |
| 300 | cflags: [ |
| 301 | "-Wall", |
| 302 | "-Wextra", |
| 303 | "-Werror", |
| 304 | ], |
| 305 | } |
| 306 | |
| 307 | test_libraries = [ |
| 308 | "libcutils", |
| 309 | "liblog", |
| 310 | "libbase", |
| 311 | "libjsoncpp", |
| 312 | "libprocessgroup", |
Yifan Hong | 53e0deb | 2019-03-22 17:01:08 -0700 | [diff] [blame] | 313 | "libcgrouprc", |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 314 | ] |
| 315 | |
| 316 | cc_test { |
| 317 | name: "libcutils_test", |
| 318 | test_suites: ["device-tests"], |
| 319 | defaults: ["libcutils_test_default"], |
| 320 | host_supported: true, |
| 321 | shared_libs: test_libraries, |
Tom Cherry | e41aded | 2019-11-07 14:06:21 -0800 | [diff] [blame] | 322 | require_root: true, |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 323 | } |
| 324 | |
nelsonli | d83f390 | 2020-01-16 17:20:18 +0800 | [diff] [blame] | 325 | cc_defaults { |
| 326 | name: "libcutils_test_static_defaults", |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 327 | defaults: ["libcutils_test_default"], |
Yifan Hong | 53e0deb | 2019-03-22 17:01:08 -0700 | [diff] [blame] | 328 | static_libs: [ |
| 329 | "libc", |
| 330 | "libcgrouprc_format", |
| 331 | ] + test_libraries, |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 332 | stl: "libc++_static", |
Tom Cherry | e41aded | 2019-11-07 14:06:21 -0800 | [diff] [blame] | 333 | require_root: true, |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 334 | |
| 335 | target: { |
| 336 | android: { |
| 337 | static_executable: true, |
| 338 | }, |
| 339 | windows: { |
| 340 | host_ldlibs: ["-lws2_32"], |
| 341 | |
| 342 | enabled: true, |
| 343 | }, |
| 344 | }, |
| 345 | } |
nelsonli | d83f390 | 2020-01-16 17:20:18 +0800 | [diff] [blame] | 346 | |
| 347 | cc_test { |
| 348 | name: "libcutils_test_static", |
| 349 | test_suites: ["device-tests"], |
| 350 | defaults: ["libcutils_test_static_defaults"], |
| 351 | } |
| 352 | |
| 353 | cc_test { |
| 354 | name: "KernelLibcutilsTest", |
Dan Shi | a7b9a2b | 2020-04-06 16:11:29 -0700 | [diff] [blame] | 355 | test_suites: ["general-tests", "vts"], |
nelsonli | d83f390 | 2020-01-16 17:20:18 +0800 | [diff] [blame] | 356 | defaults: ["libcutils_test_static_defaults"], |
| 357 | test_config: "KernelLibcutilsTest.xml", |
| 358 | } |