commit | 08f92625778131b442d2520ca01183df52ac2928 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Aug 08 16:22:53 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Aug 08 16:22:53 2019 +0000 |
tree | cde6a57c9b9cd337008f3b967f104f1dda9e6d7d | |
parent | 02ed5df4aca361954383c85b3f23c0693f6edc92 [diff] | |
parent | c3247296920b4a6d43631546bbaa158a01848576 [diff] |
Merge "-D__ANDROID_NDK__ for SDK builds."
diff --git a/cc/compiler.go b/cc/compiler.go index ffb6ad2..85ff400 100644 --- a/cc/compiler.go +++ b/cc/compiler.go
@@ -309,6 +309,7 @@ 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() {