summaryrefslogtreecommitdiffstats
path: root/build/win_precompile.gypi
blob: 8849eb10532087a9ebc046a78da966a663a1d2cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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
# 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.

{
  'conditions': [
    ['OS=="win" and chromium_win_pch==1', {
        'target_defaults': {
          'msvs_precompiled_header': 'build/precompile.h',
          'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc',
          'sources': ['<(DEPTH)/build/precompile.cc'],
          'include_dirs': [ '<(DEPTH)' ],
        }
    }],
  ],
}