Skip to content

Commit c3ad2e3

Browse files
waghpawanGerrit Code Review
authored andcommitted
Merge "Adding defaults for AIDL rust fuzzers" into main
2 parents 201fb01 + 6f972e3 commit c3ad2e3

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

libs/binder/rust/tests/parcel_fuzzer/Android.bp

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,12 @@ package {
33
default_applicable_licenses: ["frameworks_native_license"],
44
}
55

6-
rust_fuzz {
7-
name: "parcel_fuzzer_rs",
8-
srcs: [
9-
"parcel_fuzzer.rs",
10-
],
6+
rust_defaults {
7+
name: "service_fuzzer_defaults_rs",
118
rustlibs: [
12-
"libarbitrary",
13-
"libnum_traits",
149
"libbinder_rs",
1510
"libbinder_random_parcel_rs",
16-
"binderReadParcelIface-rust",
1711
],
18-
1912
fuzz_config: {
2013
cc: [
2114
"waghpawan@google.com",
@@ -26,3 +19,18 @@ rust_fuzz {
2619
hotlists: ["4637097"],
2720
},
2821
}
22+
23+
rust_fuzz {
24+
name: "parcel_fuzzer_rs",
25+
srcs: [
26+
"parcel_fuzzer.rs",
27+
],
28+
defaults: [
29+
"service_fuzzer_defaults_rs",
30+
],
31+
rustlibs: [
32+
"libarbitrary",
33+
"libnum_traits",
34+
"binderReadParcelIface-rust",
35+
],
36+
}

libs/binder/rust/tests/parcel_fuzzer/random_parcel/fuzz_service_test/Android.bp

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,10 @@ rust_fuzz {
1919
srcs: [
2020
"service_fuzzer.rs",
2121
],
22+
defaults: [
23+
"service_fuzzer_defaults_rs",
24+
],
2225
rustlibs: [
23-
"libbinder_rs",
24-
"libbinder_random_parcel_rs",
2526
"testServiceInterface-rust",
2627
],
27-
fuzz_config: {
28-
cc: [
29-
"waghpawan@google.com",
30-
"smoreland@google.com",
31-
],
32-
triage_assignee: "waghpawan@google.com",
33-
// hotlist "AIDL fuzzers bugs" on buganizer
34-
hotlists: ["4637097"],
35-
},
3628
}

0 commit comments

Comments
 (0)