1package { 2 default_applicable_licenses: ["frameworks_native_license"], 3} 4 5aidl_interface { 6 name: "testServiceIface", 7 host_supported: true, 8 unstable: true, 9 srcs: [ 10 "ITestService.aidl", 11 ], 12 backend: { 13 java: { 14 enabled: true, 15 platform_apis: true, 16 }, 17 rust: { 18 enabled: true, 19 }, 20 }, 21} 22 23// Adding this fuzzer to test the fuzzService functionality 24cc_fuzz { 25 name: "test_service_fuzzer_should_crash", 26 defaults: [ 27 "service_fuzzer_defaults", 28 ], 29 static_libs: [ 30 "liblog", 31 "testServiceIface-cpp", 32 ], 33 host_supported: true, 34 srcs: ["TestServiceFuzzer.cpp"], 35 fuzz_config: { 36 triage_assignee: "waghpawan@google.com", 37 38 // This fuzzer should be used only test fuzzService locally 39 fuzz_on_haiku_host: false, 40 fuzz_on_haiku_device: false, 41 }, 42} 43 44sh_test_host { 45 name: "fuzz_service_test", 46 src: "run_fuzz_service_test.sh", 47 filename: "run_fuzz_service_test.sh", 48 test_config: "fuzz_service_test_config.xml", 49 data_bins: [ 50 "test_service_fuzzer_should_crash", 51 ], 52 required: [ 53 "test_service_fuzzer_should_crash", 54 ], 55 target: { 56 linux_bionic: { 57 enabled: false, 58 }, 59 darwin: { 60 enabled: false, 61 }, 62 }, 63 test_suites: ["general-tests"], 64} 65