1# Copyright 2016 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("//build/toolchain/goma.gni") 6import("//build/toolchain/rbe.gni") 7import("//build/toolchain/siso.gni") 8 9declare_args() { 10 # Precompiled header file support is by default available, 11 # but for distributed build system uses (like goma, rbe, or siso) or when 12 # doing official builds it is off by default. 13 # On Linux it slows down the build, so don't enable it by default. 14 enable_precompiled_headers = 15 !is_official_build && !(use_goma || use_remoteexec || use_siso) && 16 !is_linux 17} 18