Merge "-D__ANDROID_NDK__ for SDK builds." am: 08f9262577
am: 043eab7ad3
Change-Id: Ic75be51db6a2b079fe645a98c1aa78d6d1156ac2
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user