Merge changes from topic "docs_circular_dep"
* changes:
aidl include paths are exported to droiddoc
filegroup.path is used to specify the include path for aidl files
diff --git a/cc/fuzz.go b/cc/fuzz.go
index d13e04a..3b0c5c8 100644
--- a/cc/fuzz.go
+++ b/cc/fuzz.go
@@ -102,5 +102,19 @@
module.compiler = fuzz
module.linker = fuzz
module.installer = fuzz
+
+ // The fuzzer runtime is not present for darwin host modules, disable cc_fuzz modules when targeting darwin.
+ android.AddLoadHook(module, func(ctx android.LoadHookContext) {
+ disableDarwin := struct {
+ Target struct {
+ Darwin struct {
+ Enabled *bool
+ }
+ }
+ }{}
+ disableDarwin.Target.Darwin.Enabled = BoolPtr(false)
+ ctx.AppendProperties(&disableDarwin)
+ })
+
return module
}