summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2025-02-18 15:18:18 -0800
committer Colin Cross <ccross@android.com> 2025-02-18 15:19:56 -0800
commitb361442aa66c644efba22c6c3da846ac0644d86a (patch)
treedf6345e8800f50ca577044e9fcd7ccde232bf475 /fuzz
parent6029aed8b971969c87f42cd940434f0fe1da904b (diff)
Implement host_common_data property for cc, java, rust and sh test modules
Implement the host_common_data property that will copy a host common module into the test data directory. This property can be used to copy a custom Tradefed test runner jar alongside the test. Bug: 262397555 Test: TestHostCommonData Change-Id: Iacef0778254a3dda400c9e221f442c47d8db7b02
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/fuzz_common.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/fuzz/fuzz_common.go b/fuzz/fuzz_common.go
index 3fd79a719..83ccd89ae 100644
--- a/fuzz/fuzz_common.go
+++ b/fuzz/fuzz_common.go
@@ -427,6 +427,12 @@ type FuzzProperties struct {
// device's first architecture's variant. Can be useful to add device-built apps to the data
// of a host test.
Device_first_data []string `android:"path_device_first"`
+
+ // Same as data, but will add dependencies on modules using the host's os variation and
+ // the common arch variation. Useful for a device test that wants to depend on a host
+ // module, for example to include a custom Tradefed test runner.
+ Host_common_data []string `android:"path_host_common"`
+
// Optional dictionary to be installed to the fuzz target's output directory.
Dictionary *string `android:"path"`
// Define the fuzzing frameworks this fuzz target can be built for. If