2011-09-07 18:14:54 +04:00
|
|
|
# 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.
|
|
|
|
|
|
|
|
# Include this file to make targets in your .gyp use the default
|
2011-09-21 01:46:48 +04:00
|
|
|
# precompiled header on Windows, in debug builds only as the official
|
|
|
|
# builders blow up (out of memory) if precompiled headers are used for
|
|
|
|
# release builds.
|
2011-09-07 18:14:54 +04:00
|
|
|
|
|
|
|
{
|
|
|
|
'conditions': [
|
2011-09-21 01:46:48 +04:00
|
|
|
['OS=="win"', {
|
|
|
|
'target_defaults': {
|
|
|
|
'configurations': {
|
|
|
|
'Debug': {
|
|
|
|
'msvs_precompiled_header': '<(DEPTH)/build/precompile.h',
|
|
|
|
'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
# Sources can't be specified inside the 'Debug'
|
|
|
|
# configuration. Since precompile.cc only contains
|
|
|
|
# comments, it won't have any effect for 'Release' builds.
|
|
|
|
'sources': ['<(DEPTH)/build/precompile.cc'],
|
|
|
|
}
|
|
|
|
}],
|
2011-09-07 18:14:54 +04:00
|
|
|
],
|
|
|
|
}
|