OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Include this file to make targets in your .gyp use the default | 5 # Include this file to make targets in your .gyp use the default |
6 # precompiled header on Windows, in debug builds only as the official | 6 # precompiled header on Windows, in debug builds only as the official |
7 # builders blow up (out of memory) if precompiled headers are used for | 7 # builders blow up (out of memory) if precompiled headers are used for |
8 # release builds. | 8 # release builds. |
9 | 9 |
10 { | 10 { |
11 'conditions': [ | 11 'conditions': [ |
12 # TODO(thakis): Reenable on clang after https://crbug.com/605570 is fixed. | 12 ['OS=="win" and chromium_win_pch==1', { |
13 ['OS=="win" and chromium_win_pch==1 and clang==0', { | |
14 'target_defaults': { | 13 'target_defaults': { |
15 'msvs_precompiled_header': 'build/precompile.h', | 14 'msvs_precompiled_header': 'build/precompile.h', |
16 'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc', | 15 'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc', |
17 'sources': ['<(DEPTH)/build/precompile.cc'], | 16 'sources': ['<(DEPTH)/build/precompile.cc'], |
18 'include_dirs': [ '<(DEPTH)' ], | 17 'include_dirs': [ '<(DEPTH)' ], |
19 } | 18 } |
20 }], | 19 }], |
21 ], | 20 ], |
22 } | 21 } |
OLD | NEW |