aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILDCONFIG.gn
diff options
context:
space:
mode:
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() {