aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILDCONFIG.gn
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-12-14 13:17:53 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-14 19:15:18 +0000
commitb7ce80b7149209dfcdb8757d39a627e8dcccefea (patch)
treed71f711230bf6518c4b4d10926cc2ef620f44ce4 /gn/BUILDCONFIG.gn
parente305cc1f2a44e47d6a0dcc0ff34e2692349aed5d (diff)
switch to libstdc++ for standalone Android builds.
This makes it possible to target NDK API 18 (K) again. Change-Id: Id3d1f19b2904792b4001d2ea0942cc1ab6cf732e Reviewed-on: https://skia-review.googlesource.com/6081 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/BUILDCONFIG.gn')
-rw-r--r--gn/BUILDCONFIG.gn6
1 files changed, 5 insertions, 1 deletions
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
index a775d499b6..a03ea82a43 100644
--- a/gn/BUILDCONFIG.gn
+++ b/gn/BUILDCONFIG.gn
@@ -11,7 +11,11 @@ declare_args() {
is_official_build = false
is_component_build = false
ndk = ""
- ndk_api = 21
+ if (target_cpu == "x86" || target_cpu == "mipsel" || target_cpu == "arm") {
+ ndk_api = 18
+ } else {
+ ndk_api = 21
+ }
sanitize = ""
}
declare_args() {