Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb8ee213 authored by Alex Light's avatar Alex Light Committed by android-build-merger
Browse files

Merge "Disable linux_bionic fuzzers" am: 71568c7c am: dd76f920 am: 42d12995 am: cde6fc85

am: eab95457

Change-Id: Ifde03bb8e78918467045f493cf038cea1f26b0f3
parents b2c418e4 eab95457
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -105,15 +105,19 @@ func NewFuzz(hod android.HostOrDeviceSupported) *Module {

	// 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 {
		disableDarwinAndLinuxBionic := struct {
			Target struct {
				Darwin struct {
					Enabled *bool
				}
				Linux_bionic struct {
					Enabled *bool
				}
			}
		}{}
		disableDarwin.Target.Darwin.Enabled = BoolPtr(false)
		ctx.AppendProperties(&disableDarwin)
		disableDarwinAndLinuxBionic.Target.Darwin.Enabled = BoolPtr(false)
		disableDarwinAndLinuxBionic.Target.Linux_bionic.Enabled = BoolPtr(false)
		ctx.AppendProperties(&disableDarwinAndLinuxBionic)
	})

	return module