Index: build/config/pch.gni |
diff --git a/build/config/pch.gni b/build/config/pch.gni |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5daf69d30259fa0a7261ffd6feddb18067b0a35d |
--- /dev/null |
+++ b/build/config/pch.gni |
@@ -0,0 +1,16 @@ |
+# 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() { |
+ # Normally we try to decide whether to use precompiled headers or |
+ # not based on the other build arguments, but in some cases it is |
+ # easiest to force them off explicitly. |
+ if (is_official_build || use_goma) { |
+ disable_precompiled_headers = true |
+ } else { |
+ disable_precompiled_headers = false |
+ } |
Nico
2016/11/21 15:42:25
disable_precompiled_headers = is_official_build ||
sof
2016/11/21 19:24:58
ok, switched to enable_precompiled_headers.
|
+} |