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

Commit 08f92625 authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "-D__ANDROID_NDK__ for SDK builds."

parents 02ed5df4 c3247296
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() {