summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/win/linker-flags/embed-manifest.gyp
blob: fefb2f56d85e2a17560c6082b3faed2dba96d580 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# Copyright (c) 2013 Yandex LLC. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'test_manifest_exe',
      'type': 'executable',
      'sources': ['hello.cc'],
      'msvs_settings': {
        'VCLinkerTool': {
          'LinkIncremental': '1',
        },
        'VCManifestTool': {
          'EmbedManifest': 'true',
        }
      },
    },
    {
      'target_name': 'test_manifest_dll',
      'type': 'loadable_module',
      'sources': ['hello.cc'],
      'msvs_settings': {
        'VCLinkerTool': {
          'LinkIncremental': '1',
        },
        'VCManifestTool': {
          'EmbedManifest': 'true',
        }
      },
    },
    {
      'target_name': 'test_manifest_extra1',
      'type': 'executable',
      'sources': ['hello.cc'],
      'msvs_settings': {
        'VCManifestTool': {
          'EmbedManifest': 'true',
          'AdditionalManifestFiles': 'extra.manifest',
        }
      },
    },
    {
      'target_name': 'test_manifest_extra2',
      'type': 'executable',
      'sources': ['hello.cc'],
      'msvs_settings': {
        'VCManifestTool': {
          'EmbedManifest': 'true',
          'AdditionalManifestFiles': 'extra.manifest;extra2.manifest',
        }
      },
    },
    {
      'target_name': 'test_manifest_extra_list',
      'type': 'executable',
      'sources': ['hello.cc'],
      'msvs_settings': {
        'VCManifestTool': {
          'EmbedManifest': 'true',
          'AdditionalManifestFiles': [
            'extra.manifest',
            'extra2.manifest'
          ],
        }
      },
    },
    {
      'target_name': 'test_manifest_dll_inc',
      'type': 'loadable_module',
      'sources': ['hello.cc'],
      'msvs_settings': {
        'VCLinkerTool': {
          'LinkIncremental': '2',
        },
        'VCManifestTool': {
          'EmbedManifest': 'true',
        }
      },
    },
    {
      'target_name': 'test_manifest_exe_inc',
      'type': 'executable',
      'sources': ['hello.cc'],
      'msvs_settings': {
        'VCLinkerTool': {
          'LinkIncremental': '2',
        },
        'VCManifestTool': {
          'EmbedManifest': 'true',
        }
      },
    },
    {
      'target_name': 'test_manifest_exe_inc_no_embed',
      'type': 'executable',
      'sources': ['hello.cc'],
      'msvs_settings': {
        'VCLinkerTool': {
          'LinkIncremental': '2',
        },
        'VCManifestTool': {
          'EmbedManifest': 'false',
        }
      },
    },
  ]
}