summaryrefslogtreecommitdiff
path: root/deps/v8/build/config/pch.gni
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/build/config/pch.gni')
-rw-r--r--deps/v8/build/config/pch.gni12
1 files changed, 12 insertions, 0 deletions
diff --git a/deps/v8/build/config/pch.gni b/deps/v8/build/config/pch.gni
new file mode 100644
index 0000000000..93bd2fedc3
--- /dev/null
+++ b/deps/v8/build/config/pch.gni
@@ -0,0 +1,12 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/toolchain/goma.gni")
+
+declare_args() {
+ # Precompiled header file support is by default available,
+ # but for distributed build system uses (like goma) or when
+ # doing official builds.
+ enable_precompiled_headers = !is_official_build && !use_goma
+}