Home | History | Annotate | Download | only in win
      1 # Copyright 2015 the V8 project authors. All rights reserved.
      2 # Copyright 2015 The Chromium Authors. All rights reserved.
      3 # Use of this source code is governed by a BSD-style license that can be
      4 # found in the LICENSE file.
      5 {
      6   'conditions': [
      7     # Copy the VS runtime DLLs into the isolate so that they
      8     # don't have to be preinstalled on the target machine.
      9     #
     10     # VS2013 runtimes
     11     ['OS=="win" and msvs_version==2013 and component=="shared_library" and CONFIGURATION_NAME=="Debug"', {
     12       'variables': {
     13         'files': [
     14           '<(PRODUCT_DIR)/x64/msvcp120d.dll',
     15           '<(PRODUCT_DIR)/x64/msvcr120d.dll',
     16         ],
     17       },
     18     }],
     19     ['OS=="win" and msvs_version==2013 and component=="shared_library" and CONFIGURATION_NAME=="Release"', {
     20       'variables': {
     21         'files': [
     22           '<(PRODUCT_DIR)/x64/msvcp120.dll',
     23           '<(PRODUCT_DIR)/x64/msvcr120.dll',
     24         ],
     25       },
     26     }],
     27     ['OS=="win" and msvs_version==2013 and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', {
     28       'variables': {
     29         'files': [
     30           '<(PRODUCT_DIR)/msvcp120d.dll',
     31           '<(PRODUCT_DIR)/msvcr120d.dll',
     32         ],
     33       },
     34     }],
     35     ['OS=="win" and msvs_version==2013 and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', {
     36       'variables': {
     37         'files': [
     38           '<(PRODUCT_DIR)/msvcp120.dll',
     39           '<(PRODUCT_DIR)/msvcr120.dll',
     40         ],
     41       },
     42     }],
     43     # VS2015 runtimes
     44     ['OS=="win" and msvs_version==2015 and component=="shared_library" and CONFIGURATION_NAME=="Debug"', {
     45       'variables': {
     46         'files': [
     47           '<(PRODUCT_DIR)/x64/msvcp140d.dll',
     48           '<(PRODUCT_DIR)/x64/vccorlib140d.dll',
     49         ],
     50       },
     51     }],
     52     ['OS=="win" and msvs_version==2015 and component=="shared_library" and CONFIGURATION_NAME=="Release"', {
     53       'variables': {
     54         'files': [
     55           '<(PRODUCT_DIR)/x64/msvcp140.dll',
     56           '<(PRODUCT_DIR)/x64/vccorlib140.dll',
     57         ],
     58       },
     59     }],
     60     ['OS=="win" and msvs_version==2015 and component=="shared_library" and (CONFIGURATION_NAME=="Debug" or CONFIGURATION_NAME=="Debug_x64")', {
     61       'variables': {
     62         'files': [
     63           '<(PRODUCT_DIR)/msvcp140d.dll',
     64           '<(PRODUCT_DIR)/vccorlib140d.dll',
     65         ],
     66       },
     67     }],
     68     ['OS=="win" and msvs_version==2015 and component=="shared_library" and (CONFIGURATION_NAME=="Release" or CONFIGURATION_NAME=="Release_x64")', {
     69       'variables': {
     70         'files': [
     71           '<(PRODUCT_DIR)/msvcp140.dll',
     72           '<(PRODUCT_DIR)/vccorlib140.dll',
     73         ],
     74       },
     75     }],
     76   ],
     77 }