From b7ce80b7149209dfcdb8757d39a627e8dcccefea Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Wed, 14 Dec 2016 13:17:53 -0500 Subject: 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 Commit-Queue: Mike Klein --- gn/BUILDCONFIG.gn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gn/BUILDCONFIG.gn') 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() { -- cgit v1.2.3