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