| OLD | NEW |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | |
| 7 # These variables are used in the creation of the .vcproj file on | |
| 8 # Windows. | |
| 9 'cygwin_dir': '../third_party/cygwin', | |
| 10 'msvs_cygwin_dirs': ['<(cygwin_dir)'], | |
| 11 }, | |
| 12 'targets': [ | 6 'targets': [ |
| 13 { | 7 { |
| 14 'target_name': 'frog', | 8 'target_name': 'frog', |
| 15 'dependencies': [ | 9 'dependencies': [ |
| 16 '../runtime/dart-runtime.gyp:dart', | 10 '../runtime/dart-runtime.gyp:dart', |
| 17 # TODO(efortuna): Currently the Windows build only runs using the | 11 '../third_party/v8/src/d8.gyp:d8', |
| 18 # dart VM, so we don't depend on d8 because of v8 build issues. Fix | |
| 19 # this so that Windows can also run with node.js and d8. | |
| 20 '<!@(["python", "scripts/list_frog_dependencies.py"])' | |
| 21 ], | 12 ], |
| 22 'type': 'none', | 13 'type': 'none', |
| 23 'actions': [ | 14 'actions': [ |
| 24 { | 15 { |
| 25 'action_name': 'generate_frog', | 16 'action_name': 'generate_frog', |
| 26 'inputs': [ | 17 'inputs': [ |
| 27 '<!@(["python", "scripts/list_frog_files.py"])', | 18 '<!@(["python", "scripts/list_frog_files.py"])', |
| 28 'scripts/bootstrap/frog_bootstrap_wrapper.py', | 19 'scripts/bootstrap/frog_bootstrap_wrapper.py', |
| 29 'scripts/bootstrap/frog_wrapper.py', | 20 'scripts/bootstrap/frog_wrapper.py', |
| 30 'frog.py', | 21 'frog.py', |
| 31 ], | 22 ], |
| 32 'outputs': [ | 23 'outputs': [ |
| 33 '<(PRODUCT_DIR)/frog/bin/frog', | 24 '<(PRODUCT_DIR)/frog/bin/frog', |
| 34 ], | 25 ], |
| 35 'action': [ | 26 'action': [ |
| 36 'python', | 27 'python', |
| 37 'scripts/bootstrap/frog_bootstrap_wrapper.py', | 28 'scripts/bootstrap/frog_bootstrap_wrapper.py', |
| 38 '<(PRODUCT_DIR)', | 29 '<(PRODUCT_DIR)', |
| 39 ], | 30 ], |
| 40 'message': 'Generating frog file' | 31 'message': 'Generating frog file' |
| 41 }, | 32 }, |
| 42 ], | 33 ], |
| 43 }, | 34 }, |
| 44 { | 35 { |
| 45 'target_name': 'frogsh', | 36 'target_name': 'frogsh', |
| 46 'dependencies': [ | 37 'dependencies': [ |
| 47 '../runtime/dart-runtime.gyp:dart', | 38 '../runtime/dart-runtime.gyp:dart', |
| 48 '<!@(["python", "scripts/list_frog_dependencies.py"])', | 39 '../third_party/v8/src/d8.gyp:d8', |
| 49 ], | 40 ], |
| 50 'type': 'none', | 41 'type': 'none', |
| 51 'actions': [ | 42 'actions': [ |
| 52 { | 43 { |
| 53 'action_name': 'generate_frogsh', | 44 'action_name': 'generate_frogsh', |
| 54 'inputs': [ | 45 'inputs': [ |
| 55 '<!@(["python", "scripts/list_frog_files.py"])', | 46 '<!@(["python", "scripts/list_frog_files.py"])', |
| 56 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', | 47 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', |
| 57 'frog.py', | 48 'frog.py', |
| 58 ], | 49 ], |
| 59 'outputs': [ | 50 'outputs': [ |
| 60 '<(PRODUCT_DIR)/frog/bin/frogsh', | 51 '<(PRODUCT_DIR)/frog/bin/frogsh', |
| 61 ], | 52 ], |
| 62 'action': [ | 53 'action': [ |
| 63 'python', | 54 'python', |
| 64 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', | 55 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', |
| 65 '<(PRODUCT_DIR)', | 56 '<(PRODUCT_DIR)', |
| 66 ], | 57 ], |
| 67 'message': 'Generating frogsh file' | 58 'message': 'Generating frogsh file' |
| 68 }, | 59 }, |
| 69 ], | 60 ], |
| 70 }, | 61 }, |
| 71 ], | 62 ], |
| 72 } | 63 } |
| OLD | NEW |