| Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 1 | package { | 
|  | 2 | default_applicable_licenses: ["system_core_libcutils_license"], | 
|  | 3 | } | 
|  | 4 |  | 
| Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 5 | license { | 
|  | 6 | name: "system_core_libcutils_license", | 
|  | 7 | visibility: [":__subpackages__"], | 
|  | 8 | license_kinds: [ | 
|  | 9 | "SPDX-license-identifier-Apache-2.0", | 
|  | 10 | "SPDX-license-identifier-BSD", | 
| Elliott Hughes | 527d71f | 2021-03-04 09:18:19 -0800 | [diff] [blame] | 11 | "SPDX-license-identifier-MIT", // strlcpy.c | 
| Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 12 | ], | 
|  | 13 | license_text: [ | 
|  | 14 | "NOTICE", | 
|  | 15 | ], | 
|  | 16 | } | 
|  | 17 |  | 
| Tom Cherry | 167fbf5 | 2020-09-17 09:39:24 -0700 | [diff] [blame] | 18 | filegroup { | 
|  | 19 | name: "android_filesystem_config_header", | 
|  | 20 | srcs: ["include/private/android_filesystem_config.h"], | 
|  | 21 | } | 
|  | 22 |  | 
| Elliott Hughes | 527d71f | 2021-03-04 09:18:19 -0800 | [diff] [blame] | 23 | cc_defaults { | 
|  | 24 | name: "libcutils_defaults", | 
|  | 25 | cflags: [ | 
|  | 26 | "-Wno-exit-time-destructors", | 
|  | 27 | ], | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 28 |  | 
| Justin Yun | feef4d3 | 2020-11-11 19:17:40 +0900 | [diff] [blame] | 29 | product_available: true, | 
| Tom Cherry | a5edc0f | 2020-09-17 09:38:42 -0700 | [diff] [blame] | 30 | ramdisk_available: true, | 
| Elliott Hughes | 527d71f | 2021-03-04 09:18:19 -0800 | [diff] [blame] | 31 | recovery_available: true, | 
|  | 32 | vendor_available: true, | 
| Yifan Hong | 55015ff | 2020-10-27 16:37:06 -0700 | [diff] [blame] | 33 | vendor_ramdisk_available: true, | 
| Elliott Hughes | 527d71f | 2021-03-04 09:18:19 -0800 | [diff] [blame] | 34 |  | 
| Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 35 | host_supported: true, | 
| Elliott Hughes | 527d71f | 2021-03-04 09:18:19 -0800 | [diff] [blame] | 36 | native_bridge_supported: true, | 
|  | 37 |  | 
| Jiyong Park | 8bf9b16 | 2020-03-07 16:36:09 +0900 | [diff] [blame] | 38 | apex_available: [ | 
|  | 39 | "//apex_available:platform", | 
|  | 40 | "//apex_available:anyapex", | 
|  | 41 | ], | 
| Jooyung Han | 88f00f2 | 2020-04-16 18:48:33 +0900 | [diff] [blame] | 42 | min_sdk_version: "29", | 
| Elliott Hughes | 527d71f | 2021-03-04 09:18:19 -0800 | [diff] [blame] | 43 | } | 
|  | 44 |  | 
|  | 45 | cc_library_headers { | 
|  | 46 | name: "libcutils_headers", | 
|  | 47 | defaults: ["libcutils_defaults"], | 
|  | 48 |  | 
| Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 49 | export_include_dirs: ["include"], | 
|  | 50 | target: { | 
| Steven Moreland | 385fe69 | 2017-04-13 14:29:58 -0700 | [diff] [blame] | 51 | vendor: { | 
| Justin Yun | feef4d3 | 2020-11-11 19:17:40 +0900 | [diff] [blame] | 52 | override_export_include_dirs: ["include_outside_system"], | 
|  | 53 | }, | 
|  | 54 | product: { | 
|  | 55 | override_export_include_dirs: ["include_outside_system"], | 
| Steven Moreland | 385fe69 | 2017-04-13 14:29:58 -0700 | [diff] [blame] | 56 | }, | 
| Dan Willemsen | e0cd1e0 | 2017-03-15 15:23:36 -0700 | [diff] [blame] | 57 | linux_bionic: { | 
|  | 58 | enabled: true, | 
|  | 59 | }, | 
|  | 60 | windows: { | 
|  | 61 | enabled: true, | 
|  | 62 | }, | 
| Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 63 | }, | 
|  | 64 | } | 
|  | 65 |  | 
| Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 66 | // 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] | 67 | cc_library { | 
| Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 68 | name: "libcutils_sockets", | 
| Elliott Hughes | 527d71f | 2021-03-04 09:18:19 -0800 | [diff] [blame] | 69 | defaults: ["libcutils_defaults"], | 
| Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 70 |  | 
|  | 71 | export_include_dirs: ["include"], | 
|  | 72 |  | 
| Josh Gao | 7f8a37c | 2020-03-09 15:20:55 -0700 | [diff] [blame] | 73 | shared_libs: ["liblog"], | 
| Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 74 | srcs: ["sockets.cpp"], | 
|  | 75 | target: { | 
|  | 76 | linux_bionic: { | 
|  | 77 | enabled: true, | 
|  | 78 | }, | 
|  | 79 |  | 
|  | 80 | not_windows: { | 
|  | 81 | srcs: [ | 
|  | 82 | "socket_inaddr_any_server_unix.cpp", | 
|  | 83 | "socket_local_client_unix.cpp", | 
|  | 84 | "socket_local_server_unix.cpp", | 
|  | 85 | "socket_network_client_unix.cpp", | 
|  | 86 | "sockets_unix.cpp", | 
|  | 87 | ], | 
|  | 88 | }, | 
|  | 89 |  | 
|  | 90 | // "not_windows" means "non-Windows host". | 
|  | 91 | android: { | 
|  | 92 | srcs: [ | 
|  | 93 | "android_get_control_file.cpp", | 
|  | 94 | "socket_inaddr_any_server_unix.cpp", | 
|  | 95 | "socket_local_client_unix.cpp", | 
|  | 96 | "socket_local_server_unix.cpp", | 
|  | 97 | "socket_network_client_unix.cpp", | 
|  | 98 | "sockets_unix.cpp", | 
|  | 99 | ], | 
|  | 100 | static_libs: ["libbase"], | 
|  | 101 | }, | 
|  | 102 |  | 
|  | 103 | windows: { | 
|  | 104 | host_ldlibs: ["-lws2_32"], | 
|  | 105 | srcs: [ | 
|  | 106 | "socket_inaddr_any_server_windows.cpp", | 
|  | 107 | "socket_network_client_windows.cpp", | 
|  | 108 | "sockets_windows.cpp", | 
|  | 109 | ], | 
|  | 110 |  | 
|  | 111 | enabled: true, | 
|  | 112 | cflags: [ | 
|  | 113 | "-D_GNU_SOURCE", | 
|  | 114 | ], | 
|  | 115 | }, | 
|  | 116 | }, | 
|  | 117 | } | 
|  | 118 |  | 
|  | 119 | cc_test { | 
|  | 120 | name: "libcutils_sockets_test", | 
|  | 121 | test_suites: ["device-tests"], | 
|  | 122 | static_libs: ["libbase", "libcutils_sockets"], | 
|  | 123 | cflags: [ | 
|  | 124 | "-Wall", | 
|  | 125 | "-Wextra", | 
|  | 126 | "-Werror", | 
|  | 127 | ], | 
|  | 128 |  | 
|  | 129 | srcs: ["sockets_test.cpp"], | 
|  | 130 | target: { | 
|  | 131 | android: { | 
|  | 132 | srcs: [ | 
|  | 133 | "android_get_control_file_test.cpp", | 
|  | 134 | "android_get_control_socket_test.cpp", | 
|  | 135 | ], | 
|  | 136 | }, | 
|  | 137 | }, | 
|  | 138 | } | 
|  | 139 |  | 
| Elliott Hughes | 527d71f | 2021-03-04 09:18:19 -0800 | [diff] [blame] | 140 | // some files must not be compiled when building against Mingw | 
|  | 141 | // they correspond to features not used by our host development tools | 
|  | 142 | // which are also hard or even impossible to port to native Win32 | 
|  | 143 | libcutils_nonwindows_sources = [ | 
|  | 144 | "fs.cpp", | 
|  | 145 | "hashmap.cpp", | 
|  | 146 | "multiuser.cpp", | 
|  | 147 | "str_parms.cpp", | 
|  | 148 | ] | 
|  | 149 |  | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 150 | cc_library { | 
|  | 151 | name: "libcutils", | 
| Elliott Hughes | 527d71f | 2021-03-04 09:18:19 -0800 | [diff] [blame] | 152 | defaults: ["libcutils_defaults"], | 
| Justin Yun | 9ca9245 | 2017-07-31 15:41:10 +0900 | [diff] [blame] | 153 | vndk: { | 
|  | 154 | enabled: true, | 
|  | 155 | support_system_process: true, | 
|  | 156 | }, | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 157 | srcs: [ | 
| Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 158 | "config_utils.cpp", | 
| Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 159 | "iosched_policy.cpp", | 
|  | 160 | "load_file.cpp", | 
|  | 161 | "native_handle.cpp", | 
| S Vasudev Prasad | 100b08a | 2020-05-08 11:45:45 +0530 | [diff] [blame] | 162 | "properties.cpp", | 
| Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 163 | "record_stream.cpp", | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 164 | "strlcpy.c", | 
| Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 165 | "threads.cpp", | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 166 | ], | 
|  | 167 |  | 
|  | 168 | target: { | 
| Dan Willemsen | e0cd1e0 | 2017-03-15 15:23:36 -0700 | [diff] [blame] | 169 | linux_bionic: { | 
|  | 170 | enabled: true, | 
| Brian Duddie | 9f2af69 | 2022-08-24 19:52:08 +0000 | [diff] [blame] | 171 | static_libs: [ | 
|  | 172 | "libasync_safe", | 
|  | 173 | ], | 
| Dan Willemsen | e0cd1e0 | 2017-03-15 15:23:36 -0700 | [diff] [blame] | 174 | }, | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 175 | not_windows: { | 
|  | 176 | srcs: libcutils_nonwindows_sources + [ | 
| Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 177 | "ashmem-host.cpp", | 
| Jiyong Park | d860291 | 2021-12-13 13:11:10 +0900 | [diff] [blame] | 178 | "canned_fs_config.cpp", | 
| Elliott Hughes | 39d6c8e | 2021-03-08 18:50:59 +0000 | [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: { | 
| Elliott Hughes | 06a839f | 2022-10-18 16:31:04 +0000 | [diff] [blame] | 196 | sanitize: { | 
|  | 197 | misc_undefined: ["integer"], | 
|  | 198 | }, | 
| Brian Duddie | 9f2af69 | 2022-08-24 19:52:08 +0000 | [diff] [blame] | 199 | static_libs: [ | 
|  | 200 | "libasync_safe", | 
|  | 201 | ], | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 202 | srcs: libcutils_nonwindows_sources + [ | 
| Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 203 | "android_reboot.cpp", | 
|  | 204 | "ashmem-dev.cpp", | 
| Jiyong Park | d860291 | 2021-12-13 13:11:10 +0900 | [diff] [blame] | 205 | "canned_fs_config.cpp", | 
| Elliott Hughes | 39d6c8e | 2021-03-08 18:50:59 +0000 | [diff] [blame] | 206 | "fs_config.cpp", | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 207 | "klog.cpp", | 
| Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 208 | "partition_utils.cpp", | 
| Chenbo Feng | baede73 | 2017-10-25 12:31:43 -0700 | [diff] [blame] | 209 | "qtaguid.cpp", | 
| Elliott Hughes | 8e9aeb9 | 2017-11-10 10:22:07 -0800 | [diff] [blame] | 210 | "trace-dev.cpp", | 
| Luis Hector Chavez | e97a4b9 | 2017-11-02 14:17:43 -0700 | [diff] [blame] | 211 | "uevent.cpp", | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 212 | ], | 
| Luis Hector Chavez | fae195b | 2017-11-03 16:22:05 -0700 | [diff] [blame] | 213 | }, | 
|  | 214 |  | 
| Justin Yun | feef4d3 | 2020-11-11 19:17:40 +0900 | [diff] [blame] | 215 | // qtaguid.cpp loads libnetd_client.so with dlopen().  Since | 
|  | 216 | // the interface of libnetd_client.so may vary between AOSP | 
|  | 217 | // releases, exclude qtaguid.cpp from the VNDK-SP variant. | 
| Logan Chien | 25b742c | 2018-05-08 17:37:29 +0800 | [diff] [blame] | 218 | vendor: { | 
|  | 219 | exclude_srcs: [ | 
| Logan Chien | 25b742c | 2018-05-08 17:37:29 +0800 | [diff] [blame] | 220 | "qtaguid.cpp", | 
|  | 221 | ], | 
| Justin Yun | feef4d3 | 2020-11-11 19:17:40 +0900 | [diff] [blame] | 222 | }, | 
|  | 223 | product: { | 
|  | 224 | exclude_srcs: [ | 
|  | 225 | "qtaguid.cpp", | 
|  | 226 | ], | 
|  | 227 | }, | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 228 | }, | 
|  | 229 |  | 
| Josh Gao | a9b62d5 | 2020-02-19 13:50:57 -0800 | [diff] [blame] | 230 | whole_static_libs: ["libcutils_sockets"], | 
| Joel Fernandes | 5194404 | 2018-12-18 13:32:31 -0800 | [diff] [blame] | 231 | shared_libs: [ | 
|  | 232 | "liblog", | 
|  | 233 | "libbase", | 
|  | 234 | ], | 
| Steven Moreland | d73be1b | 2017-04-13 23:48:57 -0700 | [diff] [blame] | 235 | header_libs: [ | 
| Elliott Hughes | 9f49508 | 2018-04-25 14:52:50 -0700 | [diff] [blame] | 236 | "libbase_headers", | 
| Steven Moreland | d73be1b | 2017-04-13 23:48:57 -0700 | [diff] [blame] | 237 | "libcutils_headers", | 
| Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 238 | "libprocessgroup_headers", | 
| Steven Moreland | d73be1b | 2017-04-13 23:48:57 -0700 | [diff] [blame] | 239 | ], | 
| Suren Baghdasaryan | 1bd127b | 2019-01-25 05:30:52 +0000 | [diff] [blame] | 240 | export_header_lib_headers: [ | 
|  | 241 | "libcutils_headers", | 
|  | 242 | "libprocessgroup_headers", | 
|  | 243 | ], | 
| Yifan Hong | b680712 | 2017-07-25 15:24:04 -0700 | [diff] [blame] | 244 | local_include_dirs: ["include"], | 
| Vijay Venkatraman | 651f838 | 2017-01-25 18:52:17 +0000 | [diff] [blame] | 245 |  | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 246 | cflags: [ | 
|  | 247 | "-Werror", | 
|  | 248 | "-Wall", | 
|  | 249 | "-Wextra", | 
|  | 250 | ], | 
| Dan Willemsen | eee8e7f | 2016-06-06 22:31:58 -0700 | [diff] [blame] | 251 | } | 
|  | 252 |  | 
| Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 253 | cc_defaults { | 
|  | 254 | name: "libcutils_test_default", | 
| Elliott Hughes | 7e42484 | 2019-11-12 20:20:42 -0800 | [diff] [blame] | 255 | srcs: [ | 
|  | 256 | "native_handle_test.cpp", | 
| S Vasudev Prasad | 100b08a | 2020-05-08 11:45:45 +0530 | [diff] [blame] | 257 | "properties_test.cpp", | 
| Elliott Hughes | 7e42484 | 2019-11-12 20:20:42 -0800 | [diff] [blame] | 258 | "sockets_test.cpp", | 
|  | 259 | ], | 
| Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 260 |  | 
|  | 261 | target: { | 
|  | 262 | android: { | 
|  | 263 | srcs: [ | 
|  | 264 | "android_get_control_file_test.cpp", | 
|  | 265 | "android_get_control_socket_test.cpp", | 
|  | 266 | "ashmem_test.cpp", | 
|  | 267 | "fs_config_test.cpp", | 
| Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 268 | "multiuser_test.cpp", | 
| Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 269 | "sched_policy_test.cpp", | 
|  | 270 | "str_parms_test.cpp", | 
|  | 271 | "trace-dev_test.cpp", | 
|  | 272 | ], | 
|  | 273 | }, | 
|  | 274 |  | 
|  | 275 | not_windows: { | 
|  | 276 | srcs: [ | 
|  | 277 | "str_parms_test.cpp", | 
|  | 278 | ], | 
|  | 279 | }, | 
|  | 280 | }, | 
|  | 281 |  | 
|  | 282 | cflags: [ | 
|  | 283 | "-Wall", | 
|  | 284 | "-Wextra", | 
|  | 285 | "-Werror", | 
|  | 286 | ], | 
|  | 287 | } | 
|  | 288 |  | 
|  | 289 | test_libraries = [ | 
|  | 290 | "libcutils", | 
|  | 291 | "liblog", | 
|  | 292 | "libbase", | 
|  | 293 | "libjsoncpp", | 
|  | 294 | "libprocessgroup", | 
| Yifan Hong | 53e0deb | 2019-03-22 17:01:08 -0700 | [diff] [blame] | 295 | "libcgrouprc", | 
| Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 296 | ] | 
|  | 297 |  | 
|  | 298 | cc_test { | 
|  | 299 | name: "libcutils_test", | 
|  | 300 | test_suites: ["device-tests"], | 
|  | 301 | defaults: ["libcutils_test_default"], | 
|  | 302 | host_supported: true, | 
|  | 303 | shared_libs: test_libraries, | 
| Tom Cherry | e41aded | 2019-11-07 14:06:21 -0800 | [diff] [blame] | 304 | require_root: true, | 
| Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 305 | } | 
|  | 306 |  | 
| nelsonli | d83f390 | 2020-01-16 17:20:18 +0800 | [diff] [blame] | 307 | cc_defaults { | 
|  | 308 | name: "libcutils_test_static_defaults", | 
| Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 309 | defaults: ["libcutils_test_default"], | 
| Yifan Hong | 53e0deb | 2019-03-22 17:01:08 -0700 | [diff] [blame] | 310 | static_libs: [ | 
|  | 311 | "libc", | 
|  | 312 | "libcgrouprc_format", | 
|  | 313 | ] + test_libraries, | 
| Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 314 | stl: "libc++_static", | 
| Tom Cherry | e41aded | 2019-11-07 14:06:21 -0800 | [diff] [blame] | 315 | require_root: true, | 
| Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 316 |  | 
|  | 317 | target: { | 
|  | 318 | android: { | 
|  | 319 | static_executable: true, | 
|  | 320 | }, | 
|  | 321 | windows: { | 
|  | 322 | host_ldlibs: ["-lws2_32"], | 
|  | 323 |  | 
|  | 324 | enabled: true, | 
|  | 325 | }, | 
|  | 326 | }, | 
|  | 327 | } | 
| nelsonli | d83f390 | 2020-01-16 17:20:18 +0800 | [diff] [blame] | 328 |  | 
|  | 329 | cc_test { | 
|  | 330 | name: "libcutils_test_static", | 
|  | 331 | test_suites: ["device-tests"], | 
|  | 332 | defaults: ["libcutils_test_static_defaults"], | 
|  | 333 | } | 
|  | 334 |  | 
|  | 335 | cc_test { | 
|  | 336 | name: "KernelLibcutilsTest", | 
| Dan Shi | a7b9a2b | 2020-04-06 16:11:29 -0700 | [diff] [blame] | 337 | test_suites: ["general-tests", "vts"], | 
| nelsonli | d83f390 | 2020-01-16 17:20:18 +0800 | [diff] [blame] | 338 | defaults: ["libcutils_test_static_defaults"], | 
|  | 339 | test_config: "KernelLibcutilsTest.xml", | 
|  | 340 | } |