Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: BUILD.gn

Issue 2357963002: GN: is_skia_standalone (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gn/BUILDCONFIG.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index dddf118393825738741edd15a5c01cef7ed30e99..be7a975c4650256162da750969dc2dea1fcb824b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -5,6 +5,10 @@
import("gn/shared_sources.gni")
+if (!defined(is_skia_standalone)) {
+ is_skia_standalone = false
+}
+
declare_args() {
skia_use_expat = true
skia_use_fontconfig = is_linux
@@ -20,10 +24,8 @@ declare_args() {
skia_enable_android_framework_defines = false
skia_enable_gpu = true
- skia_enable_tools = !is_fuchsia
-
- # TODO: Vulkan debug layers should be disabled for all client uses of skia as well.
- skia_enable_vulkan_debug_layers = !is_fuchsia && is_debug
+ skia_enable_tools = is_skia_standalone
+ skia_enable_vulkan_debug_layers = is_skia_standalone && is_debug
}
# Our tools require static linking (they use non-exported symbols) and GPU support (just lazy).
« no previous file with comments | « no previous file | gn/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698