OLD | NEW |
1 # Copyright 2015 the V8 project authors. All rights reserved. | 1 # Copyright 2015 the V8 project authors. All rights reserved. |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # This file is meant to be included into a target to provide a rule | 6 # This file is meant to be included into a target to provide a rule |
7 # to "build" .isolate files into a .isolated file. | 7 # to "build" .isolate files into a .isolated file. |
8 # | 8 # |
9 # To use this, create a gyp target with the following form: | 9 # To use this, create a gyp target with the following form: |
10 # 'conditions': [ | 10 # 'conditions': [ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 # Variables should use the -V FOO=<(FOO) form so frequent values, | 61 # Variables should use the -V FOO=<(FOO) form so frequent values, |
62 # like '0' or '1', aren't stripped out by GYP. Run 'isolate.py help' | 62 # like '0' or '1', aren't stripped out by GYP. Run 'isolate.py help' |
63 # for more details. | 63 # for more details. |
64 | 64 |
65 # Path variables are used to replace file paths when loading a .isolate | 65 # Path variables are used to replace file paths when loading a .isolate |
66 # file | 66 # file |
67 '--path-variable', 'DEPTH', '<(DEPTH)', | 67 '--path-variable', 'DEPTH', '<(DEPTH)', |
68 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', | 68 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', |
69 | 69 |
| 70 '--config-variable', 'CONFIGURATION_NAME=<(CONFIGURATION_NAME)', |
70 '--config-variable', 'OS=<(OS)', | 71 '--config-variable', 'OS=<(OS)', |
71 '--config-variable', 'asan=<(asan)', | 72 '--config-variable', 'asan=<(asan)', |
72 '--config-variable', 'cfi_vptr=<(cfi_vptr)', | 73 '--config-variable', 'cfi_vptr=<(cfi_vptr)', |
| 74 '--config-variable', 'icu_use_data_file_flag=0', |
73 '--config-variable', 'msan=<(msan)', | 75 '--config-variable', 'msan=<(msan)', |
74 '--config-variable', 'tsan=<(tsan)', | 76 '--config-variable', 'tsan=<(tsan)', |
75 '--config-variable', 'component=<(component)', | 77 '--config-variable', 'component=<(component)', |
76 '--config-variable', 'target_arch=<(target_arch)', | 78 '--config-variable', 'target_arch=<(target_arch)', |
77 '--config-variable', 'use_custom_libcxx=<(use_custom_libcxx)', | 79 '--config-variable', 'use_custom_libcxx=<(use_custom_libcxx)', |
78 '--config-variable', 'v8_use_external_startup_data=<(v8_use_external_sta
rtup_data)', | 80 '--config-variable', 'v8_use_external_startup_data=<(v8_use_external_sta
rtup_data)', |
79 '--config-variable', 'v8_use_snapshot=<(v8_use_snapshot)', | 81 '--config-variable', 'v8_use_snapshot=<(v8_use_snapshot)', |
80 ], | 82 ], |
| 83 'conditions': [ |
| 84 ['OS=="win"', { |
| 85 'action': [ |
| 86 '--config-variable', 'msvs_version=2013', |
| 87 ], |
| 88 }, { |
| 89 'action': [ |
| 90 '--config-variable', 'msvs_version=0', |
| 91 ], |
| 92 }], |
| 93 ], |
81 }, | 94 }, |
82 ], | 95 ], |
83 } | 96 } |
OLD | NEW |