Chromium Code Reviews| Index: third_party/WebKit/Source/core/win/precompile-core.gypi |
| diff --git a/third_party/WebKit/Source/core/win/precompile-core.gypi b/third_party/WebKit/Source/core/win/precompile-core.gypi |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f2357c9649ae8b5f39e9f56bf7e0e1255f8659f5 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/win/precompile-core.gypi |
| @@ -0,0 +1,29 @@ |
| +# Copyright 2015 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. |
| + |
| +# Include this file to make core targets in your .gyp use the default |
| +# precompiled header on Windows, when precompiled headers are turned on. |
| + |
| +{ |
| + 'conditions': [ |
| + ['OS=="win" and chromium_win_pch==1', { |
| + 'target_defaults': { |
| + 'msvs_precompiled_header': '<(DEPTH)/third_party/WebKit/Source/core/win/Precompile-core.h', |
| + 'msvs_precompiled_source': '<(DEPTH)/third_party/WebKit/Source/core/win/Precompile-core.cpp', |
| + 'sources': ['<(DEPTH)/third_party/WebKit/Source/core/win/Precompile-core.cpp'], |
| + 'msvs_settings': { |
| + # Compiling the large headers in Blink hits the |
| + # default size limits in precompile header |
| + # compilation in VS2013. Here we increase the limits |
|
Nico
2016/07/14 19:58:52
do we still need this?
Daniel Bratell
2016/07/15 06:43:55
I don't think so. This survived in the CL while it
|
| + # to 120% of default. |
| + 'VCCLCompilerTool': { |
| + 'AdditionalOptions': [ |
| + '-Zm120', |
| + ], |
| + }, |
| + }, |
| + } |
| + }], |
| + ], |
| +} |