| Index: build/perf_critical.gypi
|
| diff --git a/build/perf_critical.gypi b/build/perf_critical.gypi
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3967628da518dea99e94c4d782338d3573bc5ea6
|
| --- /dev/null
|
| +++ b/build/perf_critical.gypi
|
| @@ -0,0 +1,20 @@
|
| +# Copyright (c) 2011 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.
|
| +#
|
| +# This file enables hard optimizations on a per-target basis, it needs to be
|
| +# included inside targets that require the absolute best performance.
|
| +# This currently affects only the official Windows build, where it turns on
|
| +# whole program optimizations for all sources compiled by the target.
|
| +{
|
| + 'conditions': [
|
| + ['buildtype=="Official"', {
|
| + 'msvs_settings': {
|
| + 'VCCLCompilerTool': {
|
| + 'WholeProgramOptimization': 'true',
|
| + },
|
| + },
|
| + },
|
| + ],
|
| + ],
|
| +}
|
|
|