Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 1 | // Copyright (C) 2008 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
Vijay Venkatraman | 75acc7b | 2017-01-05 10:39:38 -0800 | [diff] [blame] | 15 | cc_library_headers { |
| 16 | name: "libutils_headers", |
Steven Moreland | 91527ed | 2017-04-11 12:43:16 -0700 | [diff] [blame] | 17 | vendor_available: true, |
Jiyong Park | 612210c | 2018-04-27 21:48:43 +0900 | [diff] [blame] | 18 | recovery_available: true, |
Yifan Hong | 55015ff | 2020-10-27 16:37:06 -0700 | [diff] [blame^] | 19 | vendor_ramdisk_available: true, |
Vijay Venkatraman | 75acc7b | 2017-01-05 10:39:38 -0800 | [diff] [blame] | 20 | host_supported: true, |
dimitry | 454ba7e | 2019-05-16 13:48:17 +0200 | [diff] [blame] | 21 | native_bridge_supported: true, |
Jiyong Park | 8bf9b16 | 2020-03-07 16:36:09 +0900 | [diff] [blame] | 22 | apex_available: [ |
| 23 | "//apex_available:platform", |
| 24 | "//apex_available:anyapex", |
| 25 | ], |
Jooyung Han | 7ea0d74 | 2020-04-16 18:48:33 +0900 | [diff] [blame] | 26 | min_sdk_version: "apex_inherit", |
Steven Moreland | d3b4b2c | 2017-04-13 21:01:40 -0700 | [diff] [blame] | 27 | |
Jaesoo Lee | 1e8ac0f | 2017-04-20 16:56:45 +0900 | [diff] [blame] | 28 | header_libs: [ |
Steven Moreland | 95d7cbb | 2017-07-10 16:40:36 -0700 | [diff] [blame] | 29 | "liblog_headers", |
Jaesoo Lee | 1e8ac0f | 2017-04-20 16:56:45 +0900 | [diff] [blame] | 30 | "libsystem_headers", |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 31 | "libcutils_headers", |
Suren Baghdasaryan | 9491078 | 2019-01-25 05:32:52 +0000 | [diff] [blame] | 32 | "libprocessgroup_headers", |
Jaesoo Lee | 1e8ac0f | 2017-04-20 16:56:45 +0900 | [diff] [blame] | 33 | ], |
| 34 | export_header_lib_headers: [ |
Steven Moreland | 95d7cbb | 2017-07-10 16:40:36 -0700 | [diff] [blame] | 35 | "liblog_headers", |
Jaesoo Lee | 1e8ac0f | 2017-04-20 16:56:45 +0900 | [diff] [blame] | 36 | "libsystem_headers", |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 37 | "libcutils_headers", |
Suren Baghdasaryan | 9491078 | 2019-01-25 05:32:52 +0000 | [diff] [blame] | 38 | "libprocessgroup_headers", |
Jaesoo Lee | 1e8ac0f | 2017-04-20 16:56:45 +0900 | [diff] [blame] | 39 | ], |
Vijay Venkatraman | 75acc7b | 2017-01-05 10:39:38 -0800 | [diff] [blame] | 40 | export_include_dirs: ["include"], |
Steven Moreland | d3b4b2c | 2017-04-13 21:01:40 -0700 | [diff] [blame] | 41 | |
Vijay Venkatraman | 75acc7b | 2017-01-05 10:39:38 -0800 | [diff] [blame] | 42 | target: { |
Steven Moreland | d3b4b2c | 2017-04-13 21:01:40 -0700 | [diff] [blame] | 43 | android: { |
| 44 | header_libs: ["libbacktrace_headers"], |
| 45 | export_header_lib_headers: ["libbacktrace_headers"], |
| 46 | }, |
Christopher Ferris | 0e69160 | 2020-10-14 14:13:58 -0700 | [diff] [blame] | 47 | linux_glibc: { |
| 48 | header_libs: ["libbacktrace_headers"], |
| 49 | export_header_lib_headers: ["libbacktrace_headers"], |
| 50 | }, |
Dan Willemsen | e0cd1e0 | 2017-03-15 15:23:36 -0700 | [diff] [blame] | 51 | linux_bionic: { |
Christopher Ferris | 0e69160 | 2020-10-14 14:13:58 -0700 | [diff] [blame] | 52 | header_libs: ["libbacktrace_headers"], |
| 53 | export_header_lib_headers: ["libbacktrace_headers"], |
Dan Willemsen | e0cd1e0 | 2017-03-15 15:23:36 -0700 | [diff] [blame] | 54 | enabled: true, |
| 55 | }, |
Vijay Venkatraman | 75acc7b | 2017-01-05 10:39:38 -0800 | [diff] [blame] | 56 | windows: { |
Dan Willemsen | e0cd1e0 | 2017-03-15 15:23:36 -0700 | [diff] [blame] | 57 | enabled: true, |
| 58 | }, |
Vijay Venkatraman | 75acc7b | 2017-01-05 10:39:38 -0800 | [diff] [blame] | 59 | }, |
| 60 | } |
| 61 | |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 62 | cc_defaults { |
| 63 | name: "libutils_defaults", |
Steven Moreland | 91527ed | 2017-04-11 12:43:16 -0700 | [diff] [blame] | 64 | vendor_available: true, |
Jiyong Park | 011ee12 | 2018-05-29 16:41:30 +0900 | [diff] [blame] | 65 | recovery_available: true, |
Justin Yun | 9ca9245 | 2017-07-31 15:41:10 +0900 | [diff] [blame] | 66 | vndk: { |
| 67 | enabled: true, |
| 68 | support_system_process: true, |
| 69 | }, |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 70 | host_supported: true, |
| 71 | |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 72 | cflags: [ |
| 73 | "-Wall", |
| 74 | "-Werror", |
| 75 | ], |
Steven Moreland | b084bc3 | 2017-04-12 18:57:57 -0700 | [diff] [blame] | 76 | header_libs: [ |
Chih-Hung Hsieh | 502f486 | 2018-09-13 11:08:41 -0700 | [diff] [blame] | 77 | "libbase_headers", |
Steven Moreland | b084bc3 | 2017-04-12 18:57:57 -0700 | [diff] [blame] | 78 | "libutils_headers", |
| 79 | ], |
| 80 | export_header_lib_headers: [ |
Steven Moreland | b084bc3 | 2017-04-12 18:57:57 -0700 | [diff] [blame] | 81 | "libutils_headers", |
| 82 | ], |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 83 | |
Steven Moreland | 1f64241 | 2017-06-26 13:52:06 -0700 | [diff] [blame] | 84 | shared_libs: [ |
Steven Moreland | e6132be | 2019-03-25 20:38:56 -0700 | [diff] [blame] | 85 | "libcutils", |
Steven Moreland | 1f64241 | 2017-06-26 13:52:06 -0700 | [diff] [blame] | 86 | "liblog", |
| 87 | ], |
Steven Moreland | 9c83202 | 2020-07-07 22:37:07 +0000 | [diff] [blame] | 88 | sanitize: { |
| 89 | misc_undefined: ["integer"], |
| 90 | }, |
Steven Moreland | 1f64241 | 2017-06-26 13:52:06 -0700 | [diff] [blame] | 91 | |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 92 | target: { |
| 93 | android: { |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 94 | cflags: ["-fvisibility=protected"], |
| 95 | |
| 96 | shared_libs: [ |
Suren Baghdasaryan | 9491078 | 2019-01-25 05:32:52 +0000 | [diff] [blame] | 97 | "libprocessgroup", |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 98 | "libdl", |
Jiyong Park | 0b3c24b | 2017-05-26 17:57:18 +0900 | [diff] [blame] | 99 | "libvndksupport", |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 100 | ], |
Dan Willemsen | e16bdb1 | 2016-07-13 00:20:20 -0700 | [diff] [blame] | 101 | |
| 102 | sanitize: { |
| 103 | misc_undefined: ["integer"], |
| 104 | }, |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 105 | }, |
| 106 | |
Jiyong Park | 011ee12 | 2018-05-29 16:41:30 +0900 | [diff] [blame] | 107 | recovery: { |
| 108 | exclude_shared_libs: ["libvndksupport"], |
| 109 | }, |
| 110 | |
Dan Willemsen | ab34b47 | 2016-11-29 13:32:55 -0800 | [diff] [blame] | 111 | linux_bionic: { |
| 112 | enabled: true, |
Dan Willemsen | ab34b47 | 2016-11-29 13:32:55 -0800 | [diff] [blame] | 113 | }, |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 114 | |
| 115 | darwin: { |
| 116 | cflags: ["-Wno-unused-parameter"], |
| 117 | }, |
| 118 | |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 119 | windows: { |
Dan Willemsen | 528f144 | 2017-11-29 18:06:11 -0800 | [diff] [blame] | 120 | cflags: [ |
| 121 | // Under MinGW, ctype.h doesn't need multi-byte support |
| 122 | "-DMB_CUR_MAX=1", |
| 123 | "-Wno-unused-private-field", |
| 124 | ], |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 125 | |
| 126 | enabled: true, |
| 127 | }, |
| 128 | }, |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 129 | } |
| 130 | |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 131 | cc_library { |
| 132 | name: "libutils", |
| 133 | defaults: ["libutils_defaults"], |
dimitry | 454ba7e | 2019-05-16 13:48:17 +0200 | [diff] [blame] | 134 | native_bridge_supported: true, |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 135 | |
| 136 | srcs: [ |
Steven Moreland | 591cab8 | 2019-11-15 00:07:32 -0800 | [diff] [blame] | 137 | "Errors.cpp", |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 138 | "FileMap.cpp", |
| 139 | "JenkinsHash.cpp", |
| 140 | "NativeHandle.cpp", |
| 141 | "Printer.cpp", |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 142 | "RefBase.cpp", |
| 143 | "SharedBuffer.cpp", |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 144 | "StopWatch.cpp", |
| 145 | "String8.cpp", |
| 146 | "String16.cpp", |
| 147 | "StrongPointer.cpp", |
| 148 | "SystemClock.cpp", |
| 149 | "Threads.cpp", |
| 150 | "Timers.cpp", |
| 151 | "Tokenizer.cpp", |
| 152 | "Unicode.cpp", |
| 153 | "VectorImpl.cpp", |
| 154 | "misc.cpp", |
| 155 | ], |
| 156 | |
| 157 | target: { |
| 158 | android: { |
| 159 | srcs: [ |
| 160 | "Trace.cpp", |
| 161 | ], |
| 162 | }, |
| 163 | linux: { |
Josh Gao | f0ea1e6 | 2019-01-02 14:31:26 -0800 | [diff] [blame] | 164 | header_libs: ["libbase_headers"], |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 165 | srcs: [ |
| 166 | "Looper.cpp", |
| 167 | ], |
| 168 | }, |
| 169 | }, |
Jeffrey Huang | 18986cb | 2020-02-12 17:06:05 -0800 | [diff] [blame] | 170 | |
| 171 | apex_available: [ |
| 172 | "//apex_available:anyapex", |
| 173 | "//apex_available:platform", |
| 174 | ], |
Jooyung Han | 7ea0d74 | 2020-04-16 18:48:33 +0900 | [diff] [blame] | 175 | min_sdk_version: "apex_inherit", |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 176 | } |
| 177 | |
| 178 | cc_library { |
| 179 | name: "libutilscallstack", |
| 180 | defaults: ["libutils_defaults"], |
Victor Khimenko | 7428c52 | 2020-06-18 22:01:13 +0200 | [diff] [blame] | 181 | // TODO(b/153609531): remove when no longer needed. |
| 182 | native_bridge_supported: true, |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 183 | |
| 184 | srcs: [ |
| 185 | "CallStack.cpp", |
| 186 | ], |
| 187 | |
Steven Moreland | e6132be | 2019-03-25 20:38:56 -0700 | [diff] [blame] | 188 | shared_libs: [ |
Dylan Katz | 9d5845b | 2020-05-11 15:44:01 -0700 | [diff] [blame] | 189 | "libutils", |
| 190 | "libbacktrace", |
Steven Moreland | e6132be | 2019-03-25 20:38:56 -0700 | [diff] [blame] | 191 | ], |
| 192 | |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 193 | target: { |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 194 | linux: { |
| 195 | srcs: [ |
| 196 | "ProcessCallStack.cpp", |
| 197 | ], |
| 198 | }, |
Steven Moreland | d33a2ee | 2019-04-01 15:01:53 -0700 | [diff] [blame] | 199 | darwin: { |
| 200 | enabled: false, |
| 201 | }, |
Steven Moreland | e6132be | 2019-03-25 20:38:56 -0700 | [diff] [blame] | 202 | windows: { |
| 203 | enabled: false, |
| 204 | }, |
David Sehr | abfb9f3 | 2018-01-17 17:07:09 -0800 | [diff] [blame] | 205 | }, |
| 206 | } |
| 207 | |
Dylan Katz | 9d5845b | 2020-05-11 15:44:01 -0700 | [diff] [blame] | 208 | cc_defaults { |
| 209 | name: "libutils_fuzz_defaults", |
| 210 | host_supported: true, |
| 211 | shared_libs: [ |
| 212 | "libutils", |
| 213 | "libbase", |
Dylan Katz | 7168f27 | 2020-07-02 11:51:44 -0700 | [diff] [blame] | 214 | "liblog", |
Dylan Katz | 9d5845b | 2020-05-11 15:44:01 -0700 | [diff] [blame] | 215 | ], |
| 216 | } |
| 217 | |
| 218 | cc_fuzz { |
| 219 | name: "libutils_fuzz_bitset", |
| 220 | defaults: ["libutils_fuzz_defaults"], |
| 221 | srcs: ["BitSet_fuzz.cpp"], |
| 222 | } |
| 223 | |
| 224 | cc_fuzz { |
| 225 | name: "libutils_fuzz_filemap", |
| 226 | defaults: ["libutils_fuzz_defaults"], |
| 227 | srcs: ["FileMap_fuzz.cpp"], |
| 228 | } |
| 229 | |
| 230 | cc_fuzz { |
| 231 | name: "libutils_fuzz_string8", |
| 232 | defaults: ["libutils_fuzz_defaults"], |
| 233 | srcs: ["String8_fuzz.cpp"], |
| 234 | } |
| 235 | |
| 236 | cc_fuzz { |
| 237 | name: "libutils_fuzz_string16", |
| 238 | defaults: ["libutils_fuzz_defaults"], |
| 239 | srcs: ["String16_fuzz.cpp"], |
| 240 | } |
| 241 | |
| 242 | cc_fuzz { |
| 243 | name: "libutils_fuzz_vector", |
| 244 | defaults: ["libutils_fuzz_defaults"], |
| 245 | srcs: ["Vector_fuzz.cpp"], |
| 246 | } |
| 247 | |
Dylan Katz | 7168f27 | 2020-07-02 11:51:44 -0700 | [diff] [blame] | 248 | cc_fuzz { |
| 249 | name: "libutils_fuzz_printer", |
| 250 | defaults: ["libutils_fuzz_defaults"], |
| 251 | srcs: ["Printer_fuzz.cpp"], |
| 252 | } |
| 253 | |
| 254 | cc_fuzz { |
| 255 | name: "libutils_fuzz_callstack", |
| 256 | defaults: ["libutils_fuzz_defaults"], |
| 257 | srcs: ["CallStack_fuzz.cpp"], |
| 258 | shared_libs: [ |
| 259 | "libutilscallstack", |
| 260 | ], |
| 261 | } |
| 262 | |
| 263 | cc_fuzz { |
| 264 | name: "libutils_fuzz_process_callstack", |
| 265 | defaults: ["libutils_fuzz_defaults"], |
| 266 | srcs: ["ProcessCallStack_fuzz.cpp"], |
| 267 | shared_libs: [ |
| 268 | "libutilscallstack", |
| 269 | ], |
| 270 | } |
| 271 | |
| 272 | cc_fuzz { |
| 273 | name: "libutils_fuzz_stopwatch", |
| 274 | defaults: ["libutils_fuzz_defaults"], |
| 275 | srcs: ["StopWatch_fuzz.cpp"], |
| 276 | } |
| 277 | |
| 278 | cc_fuzz { |
Dylan Katz | 7168f27 | 2020-07-02 11:51:44 -0700 | [diff] [blame] | 279 | name: "libutils_fuzz_refbase", |
| 280 | defaults: ["libutils_fuzz_defaults"], |
| 281 | srcs: ["RefBase_fuzz.cpp"], |
| 282 | } |
| 283 | |
| 284 | cc_fuzz { |
| 285 | name: "libutils_fuzz_lrucache", |
| 286 | defaults: ["libutils_fuzz_defaults"], |
| 287 | srcs: ["LruCache_fuzz.cpp"], |
| 288 | } |
| 289 | |
| 290 | cc_fuzz { |
| 291 | name: "libutils_fuzz_looper", |
| 292 | defaults: ["libutils_fuzz_defaults"], |
| 293 | srcs: ["Looper_fuzz.cpp"], |
| 294 | } |
| 295 | |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 296 | cc_test { |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 297 | name: "libutils_test", |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 298 | host_supported: true, |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 299 | |
| 300 | srcs: [ |
| 301 | "BitSet_test.cpp", |
| 302 | "FileMap_test.cpp", |
| 303 | "LruCache_test.cpp", |
| 304 | "Mutex_test.cpp", |
| 305 | "SharedBuffer_test.cpp", |
Yo Chiang | 5b028ba | 2020-07-10 19:34:53 +0800 | [diff] [blame] | 306 | "Singleton_test.cpp", |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 307 | "String8_test.cpp", |
Vic Yang | 9fb93ed | 2019-09-05 13:18:27 -0700 | [diff] [blame] | 308 | "String16_test.cpp", |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 309 | "StrongPointer_test.cpp", |
Elliott Hughes | 842e1cc | 2020-05-27 12:24:30 -0700 | [diff] [blame] | 310 | "Timers_test.cpp", |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 311 | "Unicode_test.cpp", |
| 312 | "Vector_test.cpp", |
| 313 | ], |
| 314 | |
| 315 | target: { |
| 316 | android: { |
| 317 | srcs: [ |
| 318 | "SystemClock_test.cpp", |
| 319 | ], |
| 320 | shared_libs: [ |
| 321 | "libz", |
| 322 | "liblog", |
| 323 | "libcutils", |
| 324 | "libutils", |
| 325 | "libbase", |
| 326 | ], |
| 327 | }, |
| 328 | linux: { |
| 329 | srcs: [ |
| 330 | "Looper_test.cpp", |
| 331 | "RefBase_test.cpp", |
| 332 | ], |
| 333 | }, |
| 334 | host: { |
| 335 | static_libs: [ |
| 336 | "libutils", |
| 337 | "liblog", |
| 338 | "libbase", |
| 339 | ], |
| 340 | }, |
| 341 | }, |
| 342 | |
Yo Chiang | 5b028ba | 2020-07-10 19:34:53 +0800 | [diff] [blame] | 343 | data_libs: [ |
| 344 | "libutils_test_singleton1", |
| 345 | "libutils_test_singleton2", |
| 346 | ], |
| 347 | |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 348 | cflags: [ |
| 349 | "-Wall", |
| 350 | "-Wextra", |
| 351 | "-Werror", |
| 352 | "-Wthread-safety", |
| 353 | ], |
Elliott Hughes | cb65c35 | 2019-02-20 15:23:34 -0800 | [diff] [blame] | 354 | |
| 355 | test_suites: ["device-tests"], |
| 356 | } |
| 357 | |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 358 | cc_test_library { |
| 359 | name: "libutils_test_singleton1", |
| 360 | host_supported: true, |
Yo Chiang | 5b028ba | 2020-07-10 19:34:53 +0800 | [diff] [blame] | 361 | installable: false, |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 362 | srcs: ["Singleton_test1.cpp"], |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 363 | cflags: [ |
| 364 | "-Wall", |
| 365 | "-Werror", |
| 366 | ], |
Dan Willemsen | 2e1591b | 2016-07-12 17:20:18 -0700 | [diff] [blame] | 367 | } |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 368 | |
| 369 | cc_test_library { |
| 370 | name: "libutils_test_singleton2", |
| 371 | host_supported: true, |
Yo Chiang | 5b028ba | 2020-07-10 19:34:53 +0800 | [diff] [blame] | 372 | installable: false, |
Elliott Hughes | 01705e4 | 2019-02-07 12:41:37 -0800 | [diff] [blame] | 373 | srcs: ["Singleton_test2.cpp"], |
| 374 | cflags: [ |
| 375 | "-Wall", |
| 376 | "-Werror", |
| 377 | ], |
| 378 | shared_libs: ["libutils_test_singleton1"], |
| 379 | } |
Steven Moreland | c732c03 | 2019-09-03 18:04:50 -0700 | [diff] [blame] | 380 | |
| 381 | cc_benchmark { |
| 382 | name: "libutils_benchmark", |
| 383 | srcs: ["Vector_benchmark.cpp"], |
| 384 | shared_libs: ["libutils"], |
| 385 | } |