aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILDCONFIG.gn
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-09-21 09:14:19 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-21 09:14:19 -0700
commit3e8012e74f70bf49427a7422f9e5996c9882d4f3 (patch)
tree3f1d42f3055f624c6ef0b677667b2f8f8582c8e9 /gn/BUILDCONFIG.gn
parent45f04b8ea8256476d87c677e23d9efbcb0ab937e (diff)
GN: is_skia_standalone
is_skia_standalone will be defined and set to true iff we're using our standalone BUILDCONFIG.gn. Any other build (Fuchsia, Chrome, Pdfium) will have their own BUILDCONFIG.gn, which presumably does not define is_skia_standalone. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2357963002 Review-Url: https://codereview.chromium.org/2357963002
Diffstat (limited to 'gn/BUILDCONFIG.gn')
-rw-r--r--gn/BUILDCONFIG.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn
index e294854aa7..84e092426b 100644
--- a/gn/BUILDCONFIG.gn
+++ b/gn/BUILDCONFIG.gn
@@ -3,6 +3,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+is_skia_standalone = true
+
# It's best to keep the names and defaults of is_foo flags consistent with Chrome.
declare_args() {