summaryrefslogtreecommitdiffstats
path: root/build/config/win/msvs_dependencies.isolate
blob: d33aec4950b3e14791df63f9c40b417dc852786b (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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# Copyright 2015 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.
{
  'conditions': [
    # Copy the VS runtime DLLs into the isolate so that they
    # don't have to be preinstalled on the target machine.
    #
    # VS2013 runtimes
    ['OS=="win" and msvs_version==2013 and component=="shared_library" and CONFIGURATION_NAME=="Debug"', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/x64/msvcp120d.dll',
          '<(PRODUCT_DIR)/x64/msvcr120d.dll',
        ],
      },
    }],
    ['OS=="win" and msvs_version==2013 and component=="shared_library" and CONFIGURATION_NAME=="Release"', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/x64/msvcp120.dll',
          '<(PRODUCT_DIR)/x64/msvcr120.dll',
        ],
      },
    }],
    ['OS=="win" and msvs_version==2013 and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/msvcp120d.dll',
          '<(PRODUCT_DIR)/msvcr120d.dll',
        ],
      },
    }],
    ['OS=="win" and msvs_version==2013 and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/msvcp120.dll',
          '<(PRODUCT_DIR)/msvcr120.dll',
        ],
      },
    }],
    # VS2015 runtimes
    ['OS=="win" and msvs_version==2015 and component=="shared_library" and CONFIGURATION_NAME=="Debug"', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/x64/msvcp140d.dll',
          '<(PRODUCT_DIR)/x64/vccorlib140d.dll',
          '<(PRODUCT_DIR)/x64/vcruntime140d.dll',
          '<(PRODUCT_DIR)/x64/ucrtbased.dll',
        ],
      },
    }],
    ['OS=="win" and msvs_version==2015 and component=="shared_library" and CONFIGURATION_NAME=="Release"', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/x64/msvcp140.dll',
          '<(PRODUCT_DIR)/x64/vccorlib140.dll',
          '<(PRODUCT_DIR)/x64/vcruntime140.dll',
          '<(PRODUCT_DIR)/x64/ucrtbase.dll',
        ],
      },
    }],
    ['OS=="win" and msvs_version==2015 and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/msvcp140d.dll',
          '<(PRODUCT_DIR)/vccorlib140d.dll',
          '<(PRODUCT_DIR)/vcruntime140d.dll',
          '<(PRODUCT_DIR)/ucrtbased.dll',
        ],
      },
    }],
    ['OS=="win" and msvs_version==2015 and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', {
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/msvcp140.dll',
          '<(PRODUCT_DIR)/vccorlib140.dll',
          '<(PRODUCT_DIR)/vcruntime140.dll',
          '<(PRODUCT_DIR)/ucrtbase.dll',
        ],
      },
    }],
    ['OS=="win" and msvs_version==2015 and component=="shared_library" and target_arch=="ia32"', {
      # 32-bit builds have an x64 directory which also needs Windows 10
      # Universal C Runtime binaries copied over.
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/x64/api-ms-win-core-console-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-datetime-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-debug-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-errorhandling-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-file-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-file-l1-2-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-file-l2-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-handle-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-heap-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-interlocked-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-libraryloader-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-localization-l1-2-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-memory-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-namedpipe-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-processenvironment-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-processthreads-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-processthreads-l1-1-1.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-profile-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-rtlsupport-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-string-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-synch-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-synch-l1-2-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-sysinfo-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-timezone-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-core-util-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-conio-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-convert-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-environment-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-filesystem-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-heap-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-locale-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-math-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-multibyte-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-private-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-process-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-runtime-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-stdio-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-string-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-time-l1-1-0.dll',
          '<(PRODUCT_DIR)/x64/api-ms-win-crt-utility-l1-1-0.dll',
        ],
      },
    }],
    ['OS=="win" and msvs_version==2015 and component=="shared_library"', {
      # Windows 10 Universal C Runtime binaries.
      'variables': {
        'files': [
          '<(PRODUCT_DIR)/api-ms-win-core-console-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-datetime-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-debug-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-errorhandling-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-file-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-file-l1-2-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-file-l2-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-handle-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-heap-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-interlocked-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-libraryloader-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-localization-l1-2-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-memory-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-namedpipe-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-processenvironment-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-processthreads-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-processthreads-l1-1-1.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-profile-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-rtlsupport-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-string-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-synch-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-synch-l1-2-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-sysinfo-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-timezone-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-core-util-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-conio-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-convert-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-environment-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-filesystem-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-heap-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-locale-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-math-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-multibyte-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-private-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-process-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-runtime-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-stdio-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-string-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-time-l1-1-0.dll',
          '<(PRODUCT_DIR)/api-ms-win-crt-utility-l1-1-0.dll',
        ],
      },
    }],
  ],
}