Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2014 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 | |
Bob Badour | 3c53823 | 2021-02-12 21:26:48 -0800 | [diff] [blame] | 17 | package { |
| 18 | // See: http://go/android-license-faq |
| 19 | // A large-scale-change added 'default_applicable_licenses' to import |
| 20 | // all of the 'license_kinds' from "frameworks_native_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["frameworks_native_license"], |
| 24 | } |
| 25 | |
Chih-Hung Hsieh | d1acbbc | 2017-10-05 13:38:28 -0700 | [diff] [blame] | 26 | cc_defaults { |
| 27 | name: "binder_test_defaults", |
| 28 | cflags: [ |
| 29 | "-Wall", |
| 30 | "-Werror", |
Chih-Hung Hsieh | d1acbbc | 2017-10-05 13:38:28 -0700 | [diff] [blame] | 31 | ], |
| 32 | } |
| 33 | |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 34 | cc_test { |
Steven Moreland | c7a30c8 | 2019-07-10 13:12:23 -0700 | [diff] [blame] | 35 | name: "binderDriverInterfaceTest", |
| 36 | defaults: ["binder_test_defaults"], |
Yifan Hong | 4e419d8 | 2021-04-26 11:32:56 -0700 | [diff] [blame] | 37 | header_libs: ["libbinder_headers"], |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 38 | srcs: ["binderDriverInterfaceTest.cpp"], |
Steven Moreland | ea7659e | 2022-02-03 00:04:06 +0000 | [diff] [blame] | 39 | test_suites: [ |
| 40 | "device-tests", |
| 41 | "vts", |
| 42 | ], |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 43 | } |
| 44 | |
Steven Moreland | cefba61 | 2020-11-05 22:57:06 +0000 | [diff] [blame] | 45 | // unit test only, which can run on host and doesn't use /dev/binder |
| 46 | cc_test { |
Steven Moreland | 2831860 | 2021-06-25 01:16:29 +0000 | [diff] [blame] | 47 | name: "binderUnitTest", |
Steven Moreland | cefba61 | 2020-11-05 22:57:06 +0000 | [diff] [blame] | 48 | host_supported: true, |
| 49 | target: { |
| 50 | darwin: { |
| 51 | enabled: false, |
| 52 | }, |
| 53 | }, |
Steven Moreland | ea7659e | 2022-02-03 00:04:06 +0000 | [diff] [blame] | 54 | srcs: [ |
| 55 | "binderParcelUnitTest.cpp", |
| 56 | "binderBinderUnitTest.cpp", |
Steven Moreland | cf37369 | 2022-01-21 23:55:15 +0000 | [diff] [blame] | 57 | "binderStatusUnitTest.cpp", |
Atneya Nair | 7ade4f4 | 2022-02-07 18:16:48 -0500 | [diff] [blame] | 58 | "binderMemoryHeapBaseUnitTest.cpp", |
Fabián Cañas | 08bdc77 | 2023-01-02 15:02:56 -0500 | [diff] [blame] | 59 | "binderRecordedTransactionTest.cpp", |
Steven Moreland | ea7659e | 2022-02-03 00:04:06 +0000 | [diff] [blame] | 60 | ], |
Steven Moreland | cefba61 | 2020-11-05 22:57:06 +0000 | [diff] [blame] | 61 | shared_libs: [ |
| 62 | "libbinder", |
Steven Moreland | f80809b | 2021-10-07 18:09:20 -0700 | [diff] [blame] | 63 | "libcutils", |
Steven Moreland | cefba61 | 2020-11-05 22:57:06 +0000 | [diff] [blame] | 64 | "libutils", |
| 65 | ], |
| 66 | test_suites: ["general-tests"], |
| 67 | } |
| 68 | |
Hsin-Yi Chen | ec18c02 | 2017-07-06 11:40:20 +0800 | [diff] [blame] | 69 | cc_test { |
Steven Moreland | a8244b9 | 2023-04-20 23:34:11 +0000 | [diff] [blame] | 70 | name: "binderRecordReplayTest", |
| 71 | srcs: ["binderRecordReplayTest.cpp"], |
Pawan Wagh | 76b1815 | 2023-12-01 14:30:26 +0000 | [diff] [blame] | 72 | cflags: [ |
| 73 | "-DBINDER_WITH_KERNEL_IPC", |
| 74 | ], |
Steven Moreland | a8244b9 | 2023-04-20 23:34:11 +0000 | [diff] [blame] | 75 | shared_libs: [ |
| 76 | "libbinder", |
| 77 | "libcutils", |
| 78 | "libutils", |
Pawan Wagh | 76b1815 | 2023-12-01 14:30:26 +0000 | [diff] [blame] | 79 | "liblog", |
Steven Moreland | a8244b9 | 2023-04-20 23:34:11 +0000 | [diff] [blame] | 80 | ], |
| 81 | static_libs: [ |
| 82 | "binderRecordReplayTestIface-cpp", |
Pawan Wagh | 8da4538 | 2023-05-11 08:08:50 +0000 | [diff] [blame] | 83 | "binderReadParcelIface-cpp", |
Pawan Wagh | 94bf303 | 2023-07-27 17:15:02 +0000 | [diff] [blame] | 84 | "libbinder_random_parcel_seeds", |
| 85 | "libbinder_random_parcel", |
Steven Moreland | a8244b9 | 2023-04-20 23:34:11 +0000 | [diff] [blame] | 86 | ], |
| 87 | test_suites: ["general-tests"], |
Steven Moreland | 4ed688d | 2023-05-03 23:03:56 +0000 | [diff] [blame] | 88 | require_root: true, |
Steven Moreland | a8244b9 | 2023-04-20 23:34:11 +0000 | [diff] [blame] | 89 | } |
| 90 | |
| 91 | aidl_interface { |
| 92 | name: "binderRecordReplayTestIface", |
| 93 | unstable: true, |
| 94 | srcs: [ |
| 95 | "IBinderRecordReplayTest.aidl", |
| 96 | ], |
Pawan Wagh | 8da4538 | 2023-05-11 08:08:50 +0000 | [diff] [blame] | 97 | imports: ["binderReadParcelIface"], |
| 98 | backend: { |
| 99 | java: { |
| 100 | enabled: true, |
| 101 | platform_apis: true, |
| 102 | }, |
Steven Moreland | 5981335 | 2024-02-08 23:52:11 +0000 | [diff] [blame] | 103 | |
| 104 | // TODO: switch from FileDescriptor to ParcelFileDescriptor |
Pawan Wagh | 76b1815 | 2023-12-01 14:30:26 +0000 | [diff] [blame] | 105 | ndk: { |
| 106 | enabled: false, |
| 107 | }, |
Steven Moreland | 5981335 | 2024-02-08 23:52:11 +0000 | [diff] [blame] | 108 | rust: { |
| 109 | enabled: false, |
| 110 | }, |
Pawan Wagh | 8da4538 | 2023-05-11 08:08:50 +0000 | [diff] [blame] | 111 | }, |
Steven Moreland | a8244b9 | 2023-04-20 23:34:11 +0000 | [diff] [blame] | 112 | } |
| 113 | |
| 114 | cc_test { |
Steven Moreland | c7a30c8 | 2019-07-10 13:12:23 -0700 | [diff] [blame] | 115 | name: "binderLibTest", |
| 116 | defaults: ["binder_test_defaults"], |
Hsin-Yi Chen | ec18c02 | 2017-07-06 11:40:20 +0800 | [diff] [blame] | 117 | |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 118 | srcs: ["binderLibTest.cpp"], |
| 119 | shared_libs: [ |
Yifan Hong | 84bedeb | 2021-04-21 21:37:17 -0700 | [diff] [blame] | 120 | "libbase", |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 121 | "libbinder", |
Yifan Hong | 8b89085 | 2021-06-10 13:44:09 -0700 | [diff] [blame] | 122 | "liblog", |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 123 | "libutils", |
| 124 | ], |
Yifan Hong | bbd2a0d | 2021-05-07 22:12:23 -0700 | [diff] [blame] | 125 | static_libs: [ |
| 126 | "libgmock", |
| 127 | ], |
Steven Moreland | ea7659e | 2022-02-03 00:04:06 +0000 | [diff] [blame] | 128 | test_suites: [ |
| 129 | "device-tests", |
| 130 | "vts", |
| 131 | ], |
Dan Shi | 80ada59 | 2019-09-13 09:17:17 -0700 | [diff] [blame] | 132 | require_root: true, |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 133 | } |
| 134 | |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 135 | aidl_interface { |
| 136 | name: "binderRpcTestIface", |
Andrei Homescu | d65666d | 2023-03-03 07:28:02 +0000 | [diff] [blame] | 137 | vendor_available: true, |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 138 | host_supported: true, |
| 139 | unstable: true, |
| 140 | srcs: [ |
Yifan Hong | 1deca4b | 2021-09-10 16:16:44 -0700 | [diff] [blame] | 141 | "BinderRpcTestClientInfo.aidl", |
Andrei Homescu | 2a29801 | 2022-06-15 01:08:54 +0000 | [diff] [blame] | 142 | "BinderRpcTestServerConfig.aidl", |
Yifan Hong | 1deca4b | 2021-09-10 16:16:44 -0700 | [diff] [blame] | 143 | "BinderRpcTestServerInfo.aidl", |
Steven Moreland | 659416d | 2021-05-11 00:47:50 +0000 | [diff] [blame] | 144 | "IBinderRpcCallback.aidl", |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 145 | "IBinderRpcSession.aidl", |
| 146 | "IBinderRpcTest.aidl", |
Yifan Hong | 1deca4b | 2021-09-10 16:16:44 -0700 | [diff] [blame] | 147 | "ParcelableCertificateData.aidl", |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 148 | ], |
Tomasz Wasilczyk | 7c511e9 | 2023-12-04 17:00:28 -0800 | [diff] [blame] | 149 | flags: [ |
| 150 | "-Werror", |
| 151 | "-Wno-mixed-oneway", |
| 152 | ], |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 153 | backend: { |
| 154 | java: { |
| 155 | enabled: false, |
| 156 | }, |
| 157 | }, |
| 158 | } |
| 159 | |
Yifan Hong | e0e5328 | 2021-09-23 18:37:21 -0700 | [diff] [blame] | 160 | cc_library_static { |
| 161 | name: "libbinder_tls_test_utils", |
| 162 | host_supported: true, |
Andrei Homescu | d65666d | 2023-03-03 07:28:02 +0000 | [diff] [blame] | 163 | vendor_available: true, |
Yifan Hong | e0e5328 | 2021-09-23 18:37:21 -0700 | [diff] [blame] | 164 | target: { |
| 165 | darwin: { |
| 166 | enabled: false, |
| 167 | }, |
| 168 | }, |
| 169 | defaults: [ |
| 170 | "binder_test_defaults", |
| 171 | "libbinder_tls_shared_deps", |
| 172 | ], |
| 173 | shared_libs: [ |
Yifan Hong | e0e5328 | 2021-09-23 18:37:21 -0700 | [diff] [blame] | 174 | "libbase", |
| 175 | "liblog", |
| 176 | ], |
| 177 | static_libs: [ |
| 178 | "libbinder_tls_static", |
| 179 | ], |
| 180 | srcs: [ |
| 181 | "RpcTlsTestUtils.cpp", |
| 182 | ], |
| 183 | export_include_dirs: [ |
| 184 | "include_tls_test_utils", |
| 185 | ], |
| 186 | visibility: [ |
| 187 | ":__subpackages__", |
| 188 | ], |
| 189 | } |
| 190 | |
Tomasz Wasilczyk | 26db5e4 | 2023-11-02 11:45:11 -0700 | [diff] [blame] | 191 | cc_library_static { |
| 192 | name: "libbinder_test_utils", |
| 193 | host_supported: true, |
| 194 | vendor_available: true, |
| 195 | target: { |
| 196 | darwin: { |
| 197 | enabled: false, |
| 198 | }, |
| 199 | }, |
| 200 | defaults: [ |
| 201 | "binder_test_defaults", |
| 202 | ], |
Tomasz Wasilczyk | fbfea5b | 2024-04-30 10:54:23 -0700 | [diff] [blame^] | 203 | header_libs: [ |
| 204 | "libbinder_headers_base", |
| 205 | ], |
Tomasz Wasilczyk | 26db5e4 | 2023-11-02 11:45:11 -0700 | [diff] [blame] | 206 | shared_libs: [ |
| 207 | "libbase", |
Tomasz Wasilczyk | 26db5e4 | 2023-11-02 11:45:11 -0700 | [diff] [blame] | 208 | ], |
| 209 | srcs: [ |
| 210 | "FileUtils.cpp", |
| 211 | ], |
| 212 | visibility: [ |
| 213 | ":__subpackages__", |
| 214 | ], |
| 215 | } |
| 216 | |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 217 | cc_defaults { |
Andrei Homescu | 2a29801 | 2022-06-15 01:08:54 +0000 | [diff] [blame] | 218 | name: "binderRpcTest_common_defaults", |
Steven Moreland | f6ec463 | 2021-04-01 16:20:47 +0000 | [diff] [blame] | 219 | host_supported: true, |
| 220 | target: { |
| 221 | darwin: { |
| 222 | enabled: false, |
| 223 | }, |
| 224 | }, |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 225 | defaults: [ |
| 226 | "binder_test_defaults", |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 227 | ], |
Steven Moreland | 5553ac4 | 2020-11-11 02:14:45 +0000 | [diff] [blame] | 228 | |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 229 | static_libs: [ |
Tomasz Wasilczyk | 26db5e4 | 2023-11-02 11:45:11 -0700 | [diff] [blame] | 230 | "libbinder_test_utils", |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 231 | "libbinder_tls_static", |
| 232 | "libbinder_tls_test_utils", |
| 233 | "binderRpcTestIface-cpp", |
| 234 | "binderRpcTestIface-ndk", |
| 235 | ], |
Andrei Homescu | 2a29801 | 2022-06-15 01:08:54 +0000 | [diff] [blame] | 236 | } |
| 237 | |
| 238 | cc_defaults { |
| 239 | name: "binderRpcTest_service_defaults", |
| 240 | defaults: [ |
| 241 | "binderRpcTest_common_defaults", |
| 242 | ], |
| 243 | gtest: false, |
| 244 | auto_gen_config: false, |
| 245 | srcs: [ |
| 246 | "binderRpcTestCommon.cpp", |
| 247 | "binderRpcTestService.cpp", |
| 248 | ], |
| 249 | } |
| 250 | |
| 251 | cc_defaults { |
| 252 | name: "binderRpcTest_defaults", |
| 253 | target: { |
| 254 | android: { |
| 255 | test_suites: ["vts"], |
| 256 | }, |
| 257 | }, |
| 258 | defaults: [ |
| 259 | "binderRpcTest_common_defaults", |
| 260 | ], |
| 261 | |
| 262 | srcs: [ |
| 263 | "binderRpcTest.cpp", |
| 264 | "binderRpcTestCommon.cpp", |
Andrei Homescu | 9a9b1b4 | 2022-10-14 01:40:59 +0000 | [diff] [blame] | 265 | "binderRpcUniversalTests.cpp", |
Andrei Homescu | 2a29801 | 2022-06-15 01:08:54 +0000 | [diff] [blame] | 266 | ], |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 267 | |
Steven Moreland | 2053161 | 2023-04-04 18:03:24 +0000 | [diff] [blame] | 268 | // This test uses a lot of resources and takes a long time. Due to |
| 269 | // design of several tests, it is also very sensitive to resource |
| 270 | // contention on the device. b/276820894 |
| 271 | test_options: { |
| 272 | unit_test: false, |
Steven Moreland | f6b18f2 | 2023-12-16 04:46:22 +0000 | [diff] [blame] | 273 | test_runner_options: [ |
| 274 | { |
| 275 | name: "native-test-timeout", |
| 276 | value: "10m", |
| 277 | }, |
| 278 | ], |
Steven Moreland | 2053161 | 2023-04-04 18:03:24 +0000 | [diff] [blame] | 279 | }, |
| 280 | |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 281 | test_suites: ["general-tests"], |
| 282 | require_root: true, |
Andrei Homescu | 2a29801 | 2022-06-15 01:08:54 +0000 | [diff] [blame] | 283 | |
| 284 | data_bins: [ |
| 285 | "binder_rpc_test_service", |
| 286 | "binder_rpc_test_service_no_kernel", |
| 287 | "binder_rpc_test_service_single_threaded", |
| 288 | "binder_rpc_test_service_single_threaded_no_kernel", |
| 289 | ], |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 290 | } |
| 291 | |
Andrei Homescu | 2a29801 | 2022-06-15 01:08:54 +0000 | [diff] [blame] | 292 | cc_defaults { |
| 293 | name: "binderRpcTest_shared_defaults", |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 294 | cflags: [ |
| 295 | "-DBINDER_WITH_KERNEL_IPC", |
| 296 | ], |
| 297 | |
Steven Moreland | 5553ac4 | 2020-11-11 02:14:45 +0000 | [diff] [blame] | 298 | shared_libs: [ |
| 299 | "libbinder", |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 300 | "libbinder_ndk", |
Steven Moreland | 5553ac4 | 2020-11-11 02:14:45 +0000 | [diff] [blame] | 301 | "libbase", |
| 302 | "libutils", |
| 303 | "libcutils", |
| 304 | "liblog", |
| 305 | ], |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 306 | } |
| 307 | |
| 308 | cc_defaults { |
| 309 | name: "binderRpcTest_static_defaults", |
| 310 | |
| 311 | shared_libs: [ |
Andrei Homescu | 68a5561 | 2022-08-02 01:25:15 +0000 | [diff] [blame] | 312 | "liblog", |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 313 | "libutils", |
| 314 | // libcrypto_static is not visible to this module |
| 315 | "libcrypto", |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 316 | ], |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 317 | static_libs: [ |
| 318 | "libbase", |
| 319 | "libcutils", |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 320 | "libssl", |
| 321 | ], |
| 322 | |
| 323 | cflags: [ |
| 324 | // Disable tests that require shared libraries, |
| 325 | // e.g., libbinder.so or libbinder_ndk.so |
| 326 | "-DBINDER_TEST_NO_SHARED_LIBS", |
| 327 | ], |
| 328 | } |
| 329 | |
| 330 | cc_test { |
Andrei Homescu | 2a29801 | 2022-06-15 01:08:54 +0000 | [diff] [blame] | 331 | // The module name cannot start with "binderRpcTest" because |
| 332 | // then atest tries to execute it as part of binderRpcTest |
| 333 | name: "binder_rpc_test_service", |
| 334 | defaults: [ |
| 335 | "binderRpcTest_service_defaults", |
| 336 | "binderRpcTest_shared_defaults", |
| 337 | "libbinder_tls_shared_deps", |
| 338 | ], |
| 339 | } |
| 340 | |
| 341 | cc_test { |
| 342 | name: "binder_rpc_test_service_no_kernel", |
| 343 | defaults: [ |
| 344 | "binderRpcTest_service_defaults", |
| 345 | "binderRpcTest_static_defaults", |
| 346 | ], |
| 347 | static_libs: [ |
| 348 | "libbinder_rpc_no_kernel", |
| 349 | ], |
| 350 | } |
| 351 | |
| 352 | cc_test { |
| 353 | name: "binder_rpc_test_service_single_threaded", |
| 354 | defaults: [ |
| 355 | "binderRpcTest_service_defaults", |
| 356 | "binderRpcTest_static_defaults", |
| 357 | ], |
| 358 | cflags: [ |
| 359 | "-DBINDER_RPC_SINGLE_THREADED", |
| 360 | "-DBINDER_WITH_KERNEL_IPC", |
| 361 | ], |
| 362 | static_libs: [ |
| 363 | "libbinder_rpc_single_threaded", |
| 364 | ], |
| 365 | } |
| 366 | |
| 367 | cc_test { |
| 368 | name: "binder_rpc_test_service_single_threaded_no_kernel", |
| 369 | defaults: [ |
| 370 | "binderRpcTest_service_defaults", |
| 371 | "binderRpcTest_static_defaults", |
| 372 | ], |
| 373 | cflags: [ |
| 374 | "-DBINDER_RPC_SINGLE_THREADED", |
| 375 | ], |
| 376 | static_libs: [ |
| 377 | "libbinder_rpc_single_threaded_no_kernel", |
| 378 | ], |
| 379 | } |
| 380 | |
Andrei Homescu | 9d8adb1 | 2022-08-02 04:38:30 +0000 | [diff] [blame] | 381 | cc_binary { |
| 382 | name: "binderRpcTestService_on_trusty_mock", |
| 383 | defaults: [ |
| 384 | "trusty_mock_defaults", |
| 385 | ], |
| 386 | |
| 387 | srcs: [ |
| 388 | "binderRpcTestCommon.cpp", |
| 389 | "binderRpcTestServiceTrusty.cpp", |
| 390 | ], |
| 391 | |
| 392 | shared_libs: [ |
| 393 | "libbinder_on_trusty_mock", |
| 394 | "libbase", |
| 395 | "libutils", |
| 396 | "libcutils", |
| 397 | ], |
| 398 | |
| 399 | static_libs: [ |
| 400 | "binderRpcTestIface-cpp", |
| 401 | ], |
| 402 | } |
| 403 | |
Andrei Homescu | 4d9420e | 2023-01-31 01:38:48 +0000 | [diff] [blame] | 404 | cc_binary { |
| 405 | name: "binderRpcTest_on_trusty_mock", |
| 406 | defaults: [ |
| 407 | "trusty_mock_defaults", |
| 408 | ], |
| 409 | |
| 410 | srcs: [ |
| 411 | "binderRpcUniversalTests.cpp", |
| 412 | "binderRpcTestCommon.cpp", |
| 413 | "binderRpcTestTrusty.cpp", |
| 414 | ], |
| 415 | |
| 416 | shared_libs: [ |
| 417 | "libbinder_on_trusty_mock", |
| 418 | "libbase", |
| 419 | "libutils", |
| 420 | "libcutils", |
| 421 | ], |
| 422 | |
| 423 | static_libs: [ |
| 424 | "binderRpcTestIface-cpp", |
| 425 | "libgtest", |
| 426 | ], |
| 427 | } |
| 428 | |
Andrei Homescu | 2a29801 | 2022-06-15 01:08:54 +0000 | [diff] [blame] | 429 | cc_test { |
| 430 | name: "binderRpcTest", |
| 431 | defaults: [ |
| 432 | "binderRpcTest_defaults", |
| 433 | "binderRpcTest_shared_defaults", |
| 434 | "libbinder_tls_shared_deps", |
| 435 | ], |
Andrei Homescu | 875996f | 2022-08-24 04:25:11 +0000 | [diff] [blame] | 436 | |
| 437 | // Add the Trusty mock library as a fake dependency so it gets built |
| 438 | required: [ |
| 439 | "libbinder_on_trusty_mock", |
Andrei Homescu | 40dbf25 | 2024-03-28 21:19:42 +0000 | [diff] [blame] | 440 | "libbinder_ndk_on_trusty_mock", |
Andrei Homescu | 6dfa8c9 | 2024-03-29 04:58:32 +0000 | [diff] [blame] | 441 | "libbinder_rs_on_trusty_mock", |
Andrei Homescu | 9d8adb1 | 2022-08-02 04:38:30 +0000 | [diff] [blame] | 442 | "binderRpcTestService_on_trusty_mock", |
Andrei Homescu | 4d9420e | 2023-01-31 01:38:48 +0000 | [diff] [blame] | 443 | "binderRpcTest_on_trusty_mock", |
Andrei Homescu | 875996f | 2022-08-24 04:25:11 +0000 | [diff] [blame] | 444 | ], |
Andrei Homescu | 2a29801 | 2022-06-15 01:08:54 +0000 | [diff] [blame] | 445 | } |
| 446 | |
| 447 | cc_test { |
Andrei Homescu | 12106de | 2022-04-27 04:42:21 +0000 | [diff] [blame] | 448 | name: "binderRpcTestNoKernel", |
| 449 | defaults: [ |
| 450 | "binderRpcTest_defaults", |
| 451 | "binderRpcTest_static_defaults", |
| 452 | ], |
| 453 | static_libs: [ |
| 454 | "libbinder_rpc_no_kernel", |
| 455 | ], |
| 456 | } |
| 457 | |
| 458 | cc_test { |
| 459 | name: "binderRpcTestSingleThreaded", |
| 460 | defaults: [ |
| 461 | "binderRpcTest_defaults", |
| 462 | "binderRpcTest_static_defaults", |
| 463 | ], |
| 464 | cflags: [ |
| 465 | "-DBINDER_RPC_SINGLE_THREADED", |
| 466 | "-DBINDER_WITH_KERNEL_IPC", |
| 467 | ], |
| 468 | static_libs: [ |
| 469 | "libbinder_rpc_single_threaded", |
| 470 | ], |
| 471 | } |
| 472 | |
| 473 | cc_test { |
| 474 | name: "binderRpcTestSingleThreadedNoKernel", |
| 475 | defaults: [ |
| 476 | "binderRpcTest_defaults", |
| 477 | "binderRpcTest_static_defaults", |
| 478 | ], |
| 479 | cflags: [ |
| 480 | "-DBINDER_RPC_SINGLE_THREADED", |
| 481 | ], |
| 482 | static_libs: [ |
| 483 | "libbinder_rpc_single_threaded_no_kernel", |
| 484 | ], |
Steven Moreland | 5553ac4 | 2020-11-11 02:14:45 +0000 | [diff] [blame] | 485 | } |
| 486 | |
Yifan Hong | ff73aa9 | 2021-09-17 21:28:01 -0700 | [diff] [blame] | 487 | cc_test { |
Andrei Homescu | d65666d | 2023-03-03 07:28:02 +0000 | [diff] [blame] | 488 | name: "binderRpcToTrustyTest", |
| 489 | vendor: true, |
| 490 | host_supported: false, |
| 491 | defaults: [ |
| 492 | "binderRpcTest_common_defaults", |
| 493 | "binderRpcTest_static_defaults", |
| 494 | ], |
| 495 | |
| 496 | srcs: [ |
| 497 | "binderRpcTest.cpp", |
| 498 | "binderRpcTestCommon.cpp", |
| 499 | "binderRpcUniversalTests.cpp", |
| 500 | ], |
| 501 | |
| 502 | cflags: [ |
| 503 | "-DBINDER_RPC_TO_TRUSTY_TEST", |
| 504 | ], |
| 505 | |
| 506 | static_libs: [ |
| 507 | // We want to link libbinder statically so we can push the binary |
| 508 | // to the device for testing independently of the library |
| 509 | "libbinder_rpc_no_kernel", |
| 510 | "libbinder_trusty", |
| 511 | "libtrusty", |
| 512 | ], |
| 513 | |
| 514 | test_suites: ["device-tests"], |
| 515 | require_root: true, |
| 516 | } |
| 517 | |
| 518 | cc_test { |
Yifan Hong | ff73aa9 | 2021-09-17 21:28:01 -0700 | [diff] [blame] | 519 | name: "RpcTlsUtilsTest", |
| 520 | host_supported: true, |
| 521 | target: { |
| 522 | darwin: { |
| 523 | enabled: false, |
| 524 | }, |
| 525 | android: { |
| 526 | test_suites: ["vts"], |
| 527 | }, |
| 528 | }, |
| 529 | defaults: [ |
| 530 | "binder_test_defaults", |
| 531 | "libbinder_tls_shared_deps", |
| 532 | ], |
| 533 | srcs: [ |
Yifan Hong | ff73aa9 | 2021-09-17 21:28:01 -0700 | [diff] [blame] | 534 | "RpcTlsUtilsTest.cpp", |
| 535 | ], |
| 536 | shared_libs: [ |
| 537 | "libbinder", |
| 538 | "libbase", |
| 539 | "libutils", |
| 540 | "liblog", |
| 541 | ], |
| 542 | static_libs: [ |
Yifan Hong | e0e5328 | 2021-09-23 18:37:21 -0700 | [diff] [blame] | 543 | "libbinder_tls_test_utils", |
Yifan Hong | ff73aa9 | 2021-09-17 21:28:01 -0700 | [diff] [blame] | 544 | "libbinder_tls_static", |
| 545 | ], |
Steven Moreland | ea7659e | 2022-02-03 00:04:06 +0000 | [diff] [blame] | 546 | test_suites: [ |
| 547 | "general-tests", |
| 548 | "device-tests", |
| 549 | ], |
Yifan Hong | ff73aa9 | 2021-09-17 21:28:01 -0700 | [diff] [blame] | 550 | } |
| 551 | |
Steven Moreland | cda6085 | 2021-04-14 23:45:32 +0000 | [diff] [blame] | 552 | cc_benchmark { |
| 553 | name: "binderRpcBenchmark", |
Yifan Hong | aecdd17 | 2021-09-21 14:53:13 -0700 | [diff] [blame] | 554 | defaults: [ |
| 555 | "binder_test_defaults", |
| 556 | "libbinder_tls_shared_deps", |
| 557 | ], |
Steven Moreland | cda6085 | 2021-04-14 23:45:32 +0000 | [diff] [blame] | 558 | host_supported: true, |
Steven Moreland | 722b490 | 2021-04-16 16:30:18 +0000 | [diff] [blame] | 559 | target: { |
| 560 | darwin: { |
| 561 | enabled: false, |
| 562 | }, |
| 563 | }, |
Steven Moreland | cda6085 | 2021-04-14 23:45:32 +0000 | [diff] [blame] | 564 | srcs: [ |
| 565 | "binderRpcBenchmark.cpp", |
| 566 | "IBinderRpcBenchmark.aidl", |
| 567 | ], |
| 568 | shared_libs: [ |
| 569 | "libbase", |
| 570 | "libbinder", |
| 571 | "liblog", |
| 572 | "libutils", |
| 573 | ], |
Yifan Hong | aecdd17 | 2021-09-21 14:53:13 -0700 | [diff] [blame] | 574 | static_libs: [ |
Yifan Hong | e0e5328 | 2021-09-23 18:37:21 -0700 | [diff] [blame] | 575 | "libbinder_tls_test_utils", |
Yifan Hong | aecdd17 | 2021-09-21 14:53:13 -0700 | [diff] [blame] | 576 | "libbinder_tls_static", |
| 577 | ], |
Steven Moreland | cda6085 | 2021-04-14 23:45:32 +0000 | [diff] [blame] | 578 | } |
| 579 | |
Steven Moreland | 5553ac4 | 2020-11-11 02:14:45 +0000 | [diff] [blame] | 580 | cc_test { |
Steven Moreland | 59640db | 2021-07-22 17:19:31 -0700 | [diff] [blame] | 581 | name: "binderRpcWireProtocolTest", |
| 582 | host_supported: true, |
| 583 | target: { |
| 584 | darwin: { |
| 585 | enabled: false, |
| 586 | }, |
| 587 | android: { |
| 588 | test_suites: ["vts"], |
| 589 | }, |
| 590 | }, |
| 591 | defaults: [ |
| 592 | "binder_test_defaults", |
| 593 | ], |
| 594 | srcs: [ |
| 595 | "binderRpcWireProtocolTest.cpp", |
| 596 | ], |
| 597 | shared_libs: [ |
| 598 | "libbinder", |
| 599 | "libbase", |
| 600 | "libutils", |
| 601 | "libcutils", |
| 602 | "liblog", |
| 603 | ], |
| 604 | test_suites: ["general-tests"], |
| 605 | } |
| 606 | |
| 607 | cc_test { |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 608 | name: "binderThroughputTest", |
Chih-Hung Hsieh | d1acbbc | 2017-10-05 13:38:28 -0700 | [diff] [blame] | 609 | defaults: ["binder_test_defaults"], |
Steven Moreland | c7a30c8 | 2019-07-10 13:12:23 -0700 | [diff] [blame] | 610 | srcs: ["binderThroughputTest.cpp"], |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 611 | shared_libs: [ |
| 612 | "libbinder", |
| 613 | "libutils", |
| 614 | ], |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 615 | cflags: [ |
| 616 | "-g", |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 617 | "-Wno-missing-field-initializers", |
| 618 | "-Wno-sign-compare", |
| 619 | "-O3", |
| 620 | ], |
| 621 | } |
Wei Wang | 78f2a37 | 2016-10-20 23:18:17 -0700 | [diff] [blame] | 622 | |
| 623 | cc_test { |
| 624 | name: "binderTextOutputTest", |
Chih-Hung Hsieh | d1acbbc | 2017-10-05 13:38:28 -0700 | [diff] [blame] | 625 | defaults: ["binder_test_defaults"], |
Steven Moreland | c7a30c8 | 2019-07-10 13:12:23 -0700 | [diff] [blame] | 626 | srcs: ["binderTextOutputTest.cpp"], |
Wei Wang | 78f2a37 | 2016-10-20 23:18:17 -0700 | [diff] [blame] | 627 | shared_libs: [ |
| 628 | "libbinder", |
| 629 | "libutils", |
| 630 | "libbase", |
| 631 | ], |
Steven Moreland | 67812c2 | 2019-07-10 13:50:40 -0700 | [diff] [blame] | 632 | test_suites: ["device-tests"], |
Wei Wang | 78f2a37 | 2016-10-20 23:18:17 -0700 | [diff] [blame] | 633 | } |
Howard Chen | c135dbc | 2017-03-25 17:12:59 +0800 | [diff] [blame] | 634 | |
| 635 | cc_test { |
| 636 | name: "schd-dbg", |
Chih-Hung Hsieh | d1acbbc | 2017-10-05 13:38:28 -0700 | [diff] [blame] | 637 | defaults: ["binder_test_defaults"], |
Steven Moreland | c7a30c8 | 2019-07-10 13:12:23 -0700 | [diff] [blame] | 638 | srcs: ["schd-dbg.cpp"], |
Howard Chen | c135dbc | 2017-03-25 17:12:59 +0800 | [diff] [blame] | 639 | shared_libs: [ |
| 640 | "libbinder", |
| 641 | "libutils", |
| 642 | "libbase", |
| 643 | ], |
| 644 | } |
Dan Stoza | d630e52 | 2016-12-01 15:16:31 -0800 | [diff] [blame] | 645 | |
| 646 | cc_test { |
| 647 | name: "binderSafeInterfaceTest", |
Chih-Hung Hsieh | d1acbbc | 2017-10-05 13:38:28 -0700 | [diff] [blame] | 648 | defaults: ["binder_test_defaults"], |
Steven Moreland | c7a30c8 | 2019-07-10 13:12:23 -0700 | [diff] [blame] | 649 | srcs: ["binderSafeInterfaceTest.cpp"], |
Dan Stoza | d630e52 | 2016-12-01 15:16:31 -0800 | [diff] [blame] | 650 | |
| 651 | cppflags: [ |
Colin Cross | 1383d9f | 2019-11-06 13:33:40 -0800 | [diff] [blame] | 652 | "-Wextra", |
Dan Stoza | d630e52 | 2016-12-01 15:16:31 -0800 | [diff] [blame] | 653 | ], |
| 654 | |
| 655 | cpp_std: "experimental", |
| 656 | gnu_extensions: false, |
| 657 | |
| 658 | shared_libs: [ |
| 659 | "libbinder", |
Dan Stoza | 2537db7 | 2017-04-07 16:32:38 -0700 | [diff] [blame] | 660 | "libcutils", |
Dan Stoza | d630e52 | 2016-12-01 15:16:31 -0800 | [diff] [blame] | 661 | "liblog", |
| 662 | "libutils", |
| 663 | ], |
Steven Moreland | ea7659e | 2022-02-03 00:04:06 +0000 | [diff] [blame] | 664 | test_suites: [ |
| 665 | "device-tests", |
| 666 | "vts", |
| 667 | ], |
Dan Shi | 80ada59 | 2019-09-13 09:17:17 -0700 | [diff] [blame] | 668 | require_root: true, |
Dan Stoza | d630e52 | 2016-12-01 15:16:31 -0800 | [diff] [blame] | 669 | } |
Steven Moreland | dea3cf9 | 2019-07-16 18:06:55 -0700 | [diff] [blame] | 670 | |
Steven Moreland | f23dae2 | 2020-10-27 19:34:55 +0000 | [diff] [blame] | 671 | cc_test { |
| 672 | name: "binderClearBufTest", |
| 673 | defaults: ["binder_test_defaults"], |
| 674 | srcs: [ |
| 675 | "binderClearBufTest.cpp", |
| 676 | ], |
| 677 | |
| 678 | shared_libs: [ |
| 679 | "libbase", |
| 680 | "libbinder", |
| 681 | "liblog", |
| 682 | "libutils", |
| 683 | ], |
| 684 | |
| 685 | test_suites: ["general-tests"], |
| 686 | require_root: true, |
| 687 | } |
| 688 | |
Steven Moreland | 12300a0 | 2019-08-02 13:27:15 -0700 | [diff] [blame] | 689 | aidl_interface { |
| 690 | name: "binderStabilityTestIface", |
Jiyong Park | 701fa1a | 2020-04-13 12:55:44 +0900 | [diff] [blame] | 691 | unstable: true, |
Steven Moreland | 12300a0 | 2019-08-02 13:27:15 -0700 | [diff] [blame] | 692 | srcs: [ |
| 693 | "IBinderStabilityTest.aidl", |
Steven Moreland | 12300a0 | 2019-08-02 13:27:15 -0700 | [diff] [blame] | 694 | ], |
Steven Moreland | 37aff18 | 2021-03-26 02:04:16 +0000 | [diff] [blame] | 695 | backend: { |
| 696 | java: { |
| 697 | enabled: false, |
| 698 | }, |
| 699 | }, |
Steven Moreland | 12300a0 | 2019-08-02 13:27:15 -0700 | [diff] [blame] | 700 | } |
| 701 | |
Steven Moreland | dea3cf9 | 2019-07-16 18:06:55 -0700 | [diff] [blame] | 702 | cc_test { |
| 703 | name: "binderStabilityTest", |
| 704 | defaults: ["binder_test_defaults"], |
| 705 | srcs: [ |
| 706 | "binderStabilityTest.cpp", |
Steven Moreland | dea3cf9 | 2019-07-16 18:06:55 -0700 | [diff] [blame] | 707 | ], |
| 708 | |
Steven Moreland | 13f8466 | 2020-07-23 21:30:41 +0000 | [diff] [blame] | 709 | // critical that libbinder/libbinder_ndk are shared for VTS |
Steven Moreland | dea3cf9 | 2019-07-16 18:06:55 -0700 | [diff] [blame] | 710 | shared_libs: [ |
Steven Moreland | 12300a0 | 2019-08-02 13:27:15 -0700 | [diff] [blame] | 711 | "libbinder_ndk", |
Steven Moreland | dea3cf9 | 2019-07-16 18:06:55 -0700 | [diff] [blame] | 712 | "libbinder", |
Steven Moreland | 12300a0 | 2019-08-02 13:27:15 -0700 | [diff] [blame] | 713 | "liblog", |
Steven Moreland | dea3cf9 | 2019-07-16 18:06:55 -0700 | [diff] [blame] | 714 | "libutils", |
| 715 | ], |
Steven Moreland | 12300a0 | 2019-08-02 13:27:15 -0700 | [diff] [blame] | 716 | static_libs: [ |
| 717 | "binderStabilityTestIface-cpp", |
Jiyong Park | 9a9427c | 2021-08-09 09:01:15 +0900 | [diff] [blame] | 718 | "binderStabilityTestIface-ndk", |
Steven Moreland | 12300a0 | 2019-08-02 13:27:15 -0700 | [diff] [blame] | 719 | ], |
| 720 | |
Steven Moreland | ea7659e | 2022-02-03 00:04:06 +0000 | [diff] [blame] | 721 | test_suites: [ |
| 722 | "device-tests", |
| 723 | "vts", |
| 724 | ], |
Dan Shi | 302709b | 2019-09-19 15:28:15 -0700 | [diff] [blame] | 725 | require_root: true, |
Steven Moreland | dea3cf9 | 2019-07-16 18:06:55 -0700 | [diff] [blame] | 726 | } |
Steven Moreland | 042ae82 | 2020-05-27 17:45:17 +0000 | [diff] [blame] | 727 | |
| 728 | cc_test { |
| 729 | name: "binderAllocationLimits", |
| 730 | defaults: ["binder_test_defaults"], |
| 731 | srcs: ["binderAllocationLimits.cpp"], |
| 732 | shared_libs: [ |
| 733 | "libbinder", |
| 734 | "liblog", |
Steven Moreland | 66acefe | 2022-09-09 00:34:40 +0000 | [diff] [blame] | 735 | "libcutils", |
Steven Moreland | 042ae82 | 2020-05-27 17:45:17 +0000 | [diff] [blame] | 736 | "libutils", |
| 737 | "libutilscallstack", |
| 738 | "libbase", |
| 739 | ], |
| 740 | test_suites: ["device-tests"], |
| 741 | require_root: true, |
| 742 | } |
Andy Hung | 73a1470 | 2020-11-24 13:04:46 -0800 | [diff] [blame] | 743 | |
| 744 | cc_benchmark { |
| 745 | name: "binderParcelBenchmark", |
| 746 | defaults: ["binder_test_defaults"], |
| 747 | srcs: ["binderParcelBenchmark.cpp"], |
| 748 | shared_libs: [ |
| 749 | "libbase", |
| 750 | "libbinder", |
| 751 | "liblog", |
| 752 | "libutils", |
| 753 | ], |
Steven Moreland | 9b254dd | 2023-05-11 00:37:55 +0000 | [diff] [blame] | 754 | test_suites: ["general-tests"], |
Andy Hung | 73a1470 | 2020-11-24 13:04:46 -0800 | [diff] [blame] | 755 | } |
Yifan Hong | af766e6 | 2021-06-14 13:24:19 -0700 | [diff] [blame] | 756 | |
| 757 | cc_test_host { |
| 758 | name: "binderUtilsHostTest", |
| 759 | defaults: ["binder_test_defaults"], |
| 760 | srcs: ["binderUtilsHostTest.cpp"], |
| 761 | shared_libs: [ |
| 762 | "libbase", |
| 763 | "libbinder", |
| 764 | ], |
| 765 | static_libs: [ |
| 766 | "libgmock", |
| 767 | ], |
| 768 | test_suites: ["general-tests"], |
Yifan Hong | 44dec54 | 2021-06-22 10:47:44 -0700 | [diff] [blame] | 769 | target: { |
| 770 | darwin: { |
| 771 | enabled: false, |
| 772 | }, |
| 773 | }, |
Yifan Hong | af766e6 | 2021-06-14 13:24:19 -0700 | [diff] [blame] | 774 | } |
Yifan Hong | 1b6f12f | 2021-06-03 20:01:57 -0700 | [diff] [blame] | 775 | |
| 776 | cc_test_host { |
| 777 | name: "binderHostDeviceTest", |
| 778 | defaults: ["binder_test_defaults"], |
| 779 | srcs: ["binderHostDeviceTest.cpp"], |
| 780 | test_config: "binderHostDeviceTest.xml", |
| 781 | shared_libs: [ |
| 782 | "libbase", |
| 783 | "libbinder", |
| 784 | "liblog", |
| 785 | "libutils", |
| 786 | ], |
| 787 | static_libs: [ |
| 788 | "libgmock", |
| 789 | ], |
| 790 | target_required: [ |
| 791 | "binderHostDeviceTestService", |
| 792 | ], |
| 793 | test_suites: ["general-tests"], |
| 794 | target: { |
| 795 | darwin: { |
| 796 | enabled: false, |
| 797 | }, |
| 798 | }, |
| 799 | test_options: { |
| 800 | unit_test: false, |
| 801 | }, |
| 802 | } |
| 803 | |
| 804 | cc_test { |
| 805 | name: "binderHostDeviceTestService", |
| 806 | // The binary is named differently from the module so that PushFilePreparer pushes the binary |
| 807 | // directly, not the test module directory. |
| 808 | stem: "binderHostDeviceTest-service", |
| 809 | defaults: ["binder_test_defaults"], |
| 810 | gtest: false, |
| 811 | auto_gen_config: false, |
| 812 | srcs: ["binderHostDeviceTestService.cpp"], |
| 813 | shared_libs: [ |
| 814 | "libbase", |
| 815 | "libbinder", |
| 816 | "liblog", |
| 817 | "libutils", |
| 818 | ], |
| 819 | test_suites: ["general-tests"], |
| 820 | } |
Pawan | f00fabb | 2022-08-04 17:56:18 +0000 | [diff] [blame] | 821 | |
| 822 | cc_defaults { |
| 823 | name: "service_fuzzer_defaults", |
| 824 | static_libs: [ |
| 825 | "libbase", |
| 826 | "libbinder_random_parcel", |
| 827 | "libcutils", |
| 828 | ], |
| 829 | target: { |
| 830 | android: { |
| 831 | shared_libs: [ |
| 832 | "libbinder_ndk", |
| 833 | "libbinder", |
| 834 | "libutils", |
| 835 | ], |
| 836 | }, |
| 837 | host: { |
| 838 | static_libs: [ |
| 839 | "libbinder_ndk", |
| 840 | "libbinder", |
| 841 | "libutils", |
| 842 | ], |
| 843 | }, |
| 844 | darwin: { |
| 845 | enabled: false, |
| 846 | }, |
| 847 | }, |
| 848 | fuzz_config: { |
| 849 | cc: [ |
| 850 | "smoreland@google.com", |
| 851 | "waghpawan@google.com", |
| 852 | ], |
Pawan Wagh | 595377b | 2022-11-16 08:42:20 +0000 | [diff] [blame] | 853 | // Adds bugs to hotlist "AIDL fuzzers bugs" on buganizer |
| 854 | hotlists: ["4637097"], |
Pawan Wagh | 813a06f | 2023-12-21 23:39:39 +0000 | [diff] [blame] | 855 | use_for_presubmit: true, |
Pawan | f00fabb | 2022-08-04 17:56:18 +0000 | [diff] [blame] | 856 | }, |
| 857 | } |
Pawan Wagh | 475f66c | 2023-05-05 21:46:07 +0000 | [diff] [blame] | 858 | |
| 859 | cc_defaults { |
| 860 | name: "fuzzer_disable_leaks", |
Pawan Wagh | 9e2d296 | 2023-06-20 23:43:24 +0000 | [diff] [blame] | 861 | fuzz_config: { |
| 862 | asan_options: [ |
| 863 | "detect_leaks=0", |
| 864 | ], |
| 865 | hwasan_options: [ |
| 866 | "detect_leaks=0", |
| 867 | ], |
| 868 | }, |
Pawan Wagh | 475f66c | 2023-05-05 21:46:07 +0000 | [diff] [blame] | 869 | } |