aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn')
-rw-r--r--gn/BUILD.gn2
-rw-r--r--gn/BUILDCONFIG.gn2
2 files changed, 1 insertions, 3 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index 80b7f3f1bc..2e38e27060 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -143,7 +143,7 @@ config("default") {
libs += [ malloc ]
}
- if (is_android && !is_android_cmake) {
+ if (is_android) {
asmflags += [ "--target=$ndk_target" ]
cflags += [
"--sysroot=$ndk/sysroot",
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
index 3d4d65ad6e..e5440b9b76 100644
--- a/gn/BUILDCONFIG.gn
+++ b/gn/BUILDCONFIG.gn
@@ -10,7 +10,6 @@ is_skia_standalone = true
declare_args() {
is_official_build = false
is_component_build = false
- is_android_cmake = false
ndk = ""
# It's nice to keep ndk_api set to what Clank targets, but probably no big deal if we can't.
@@ -38,7 +37,6 @@ declare_args() {
skia_vulkan_sdk = getenv("VULKAN_SDK")
skia_moltenvk_path = ""
}
-
declare_args() {
is_debug = !is_official_build
}