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 # Normally we try to decide whether to use precompiled headers or | |
| 9 # not based on the other build arguments, but in some cases it is | |
| 10 # easiest to force them off explicitly. | |
| 11 if (is_official_build || use_goma) { | |
| 12 disable_precompiled_headers = true | |
| 13 } else { | |
| 14 disable_precompiled_headers = false | |
| 15 } | |
|
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.
| |
| 16 } | |
| OLD | NEW |