Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/toolchain/goma.gni") | |
| 6 | |
| 7 declare_args() { | |
| 8 # Precompiled header file support is by default available, | |
| 9 # but for distributed build system uses (like goma) or when | |
| 10 # doing official builds. | |
| 11 if (is_official_build || use_goma) { | |
| 12 enable_precompiled_headers = false | |
| 13 } else { | |
| 14 enable_precompiled_headers = true | |
|
Nico
2016/11/21 23:03:41
enable_precompiled_headers = !is_official_build &&
sof
2016/11/22 06:34:43
switched to expression form.
| |
| 15 } | |
| 16 } | |
| OLD | NEW |