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

# 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': '<(DEPTH)/build/precompile.h',
          'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc',
          'sources': ['<(DEPTH)/build/precompile.cc'],
        }
      }],
  ],
}