blob: d7546f9e1c951f2ccaccaee614c77d1ae770b499 [file] [log] [blame]
# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/toolchain/rbe.gni")
import("//build/toolchain/siso.gni")
declare_args() {
# Precompiled header file support is by default available,
# but for distributed build system uses (like rbe, or siso) or when
# doing official builds it is off by default.
# On Linux it slows down the build, so don't enable it by default.
enable_precompiled_headers =
!is_official_build && !(use_remoteexec || use_siso) && !is_linux
}