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

Commit 043eab7a authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "-D__ANDROID_NDK__ for SDK builds."

am: 08f92625

Change-Id: I79f4746e3f9096f36b19eb2c0ac0c720a6410c52
parents 73d9ff76 08f92625
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -309,6 +309,7 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags, deps
		flags.SystemIncludeFlags = append(flags.SystemIncludeFlags,
			"-isystem "+getCurrentIncludePath(ctx).String(),
			"-isystem "+getCurrentIncludePath(ctx).Join(ctx, config.NDKTriple(tc)).String())
		flags.GlobalFlags = append(flags.GlobalFlags, "-D__ANDROID_NDK__")
	}

	if ctx.useVndk() {