~hjd/ubuntu/wily/gyp/debian-merged

« back to all changes in this revision

Viewing changes to test/win/linker-flags/ltcg.gyp

  • Committer: Hans Joachim Desserud
  • Date: 2015-10-31 12:46:59 UTC
  • mfrom: (6.2.6 sid)
  • Revision ID: hans_joachim_desserud-20151031124659-lzxekr6woskh4k0b
Merge latest Debian version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2013 Google Inc. All rights reserved.
 
2
# Use of this source code is governed by a BSD-style license that can be
 
3
# found in the LICENSE file.
 
4
 
 
5
{
 
6
  'targets': [
 
7
    {
 
8
      'target_name': 'test_ltcg_off',
 
9
      'type': 'executable',
 
10
      'msvs_settings': {
 
11
        'VCCLCompilerTool': {
 
12
          'WholeProgramOptimization': 'false',
 
13
        },
 
14
        'VCLinkerTool': {
 
15
          'LinkTimeCodeGeneration': '0',
 
16
        },
 
17
      },
 
18
      'sources': [
 
19
        'inline_test.h',
 
20
        'inline_test.cc',
 
21
        'inline_test_main.cc',
 
22
      ],
 
23
    },
 
24
    {
 
25
      'target_name': 'test_ltcg_on',
 
26
      'type': 'executable',
 
27
      'msvs_settings': {
 
28
        'VCCLCompilerTool': {
 
29
          'WholeProgramOptimization': 'true',  # /GL
 
30
        },
 
31
        'VCLinkerTool': {
 
32
          'LinkTimeCodeGeneration': '1',       # /LTCG
 
33
        },
 
34
      },
 
35
      'sources': [
 
36
        'inline_test.h',
 
37
        'inline_test.cc',
 
38
        'inline_test_main.cc',
 
39
      ],
 
40
    },
 
41
  ]
 
42
}