diff options
author | ziadb <ziadb@google.com> | 2018-05-31 15:55:09 -0400 |
---|---|---|
committer | Ziad Ben Hadj-Alouane <ziadb@google.com> | 2018-06-01 14:56:24 +0000 |
commit | 222c9cfd1b3f50d21d4a1f93b0b52dd4973fe1b5 (patch) | |
tree | f58d34a59c4d345db2c805e7c4501d32915a7cdc /gn | |
parent | 531a48ed788c5fabfe21704286b54d7567f35469 (diff) | |
download | skqp-222c9cfd1b3f50d21d4a1f93b0b52dd4973fe1b5.tar.gz |
Added support for visual debugging on Android Studio
Change-Id: Icaf848c31167db10d6fbb13d74c7287b03628fb6
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/130144
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/BUILD.gn | 2 | ||||
-rw-r--r-- | gn/BUILDCONFIG.gn | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index 7a6a8211d5..9d65118c96 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -143,7 +143,7 @@ config("default") { libs += [ malloc ] } - if (is_android) { + if (is_android && !is_android_cmake) { asmflags += [ "--target=$ndk_target" ] cflags += [ "--sysroot=$ndk/sysroot", diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn index e5440b9b76..3d4d65ad6e 100644 --- a/gn/BUILDCONFIG.gn +++ b/gn/BUILDCONFIG.gn @@ -10,6 +10,7 @@ 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. @@ -37,6 +38,7 @@ declare_args() { skia_vulkan_sdk = getenv("VULKAN_SDK") skia_moltenvk_path = "" } + declare_args() { is_debug = !is_official_build } |