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

Commit 681b67e8 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "-D__ANDROID_NDK__ for SDK builds." am: 08f92625

am: 043eab7a

Change-Id: Ic75be51db6a2b079fe645a98c1aa78d6d1156ac2
parents fcd053fd 043eab7a
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() {