summaryrefslogtreecommitdiffstats
path: root/build/release.gypi
blob: 9b8b11d20f3a4d3207e40517c3e4511c8ab706f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  'conditions': [
    # Handle build types.
    ['buildtype=="Dev"', {
      'includes': ['internal/release_impl.gypi'],
    }],
    ['buildtype=="Dev" and incremental_chrome_dll==1', {
      'msvs_settings': {
        'VCLinkerTool': {
          # Enable incremental linking and disable conflicting link options:
          # http://msdn.microsoft.com/en-us/library/4khtbfyf.aspx
          'LinkIncremental': '2',
          'OptimizeReferences': '1',
          'EnableCOMDATFolding': '1',
          'Profile': 'false',
        },
      },
    }],
    ['buildtype=="Official"', {
      'includes': ['internal/release_impl_official.gypi'],
    }],
    # TODO(bradnelson): may also need:
    #     checksenabled
    #     coverage
    #     dom_stats
    #     pgo_instrument
    #     pgo_optimize
  ],
}