| 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': { | 6 'variables': { |
| 7 # These variables are used in the creation of the .vcproj file on | 7 # These variables are used in the creation of the .vcproj file on |
| 8 # Windows. | 8 # Windows. |
| 9 'cygwin_dir': '../third_party/cygwin', | 9 'cygwin_dir': '../third_party/cygwin', |
| 10 'msvs_cygwin_dirs': ['<(cygwin_dir)'], | |
| 11 }, | 10 }, |
| 12 'targets': [ | 11 'targets': [ |
| 13 { | 12 { |
| 14 'target_name': 'frog', | 13 'target_name': 'frog', |
| 15 'conditions': [ | 14 'conditions': [ |
| 16 ['OS=="linux"', { | 15 ['OS=="linux"', { |
| 17 'dependencies': [ | 16 'dependencies': [ |
| 18 '../runtime/dart-runtime.gyp:dart', | 17 '../runtime/dart-runtime.gyp:dart', |
| 19 '../third_party/v8/src/d8.gyp:d8', | 18 '../third_party/v8/src/d8.gyp:d8', |
| 20 ], | 19 ], |
| 21 }], | 20 }], |
| 22 ['OS=="mac"', { | 21 ['OS=="mac"', { |
| 23 'dependencies': [ | 22 'dependencies': [ |
| 24 '../runtime/dart-runtime.gyp:dart', | 23 '../runtime/dart-runtime.gyp:dart', |
| 25 '../third_party/v8/src/d8.gyp:d8', | 24 '../third_party/v8/src/d8.gyp:d8', |
| 26 ], | 25 ], |
| 27 }], | 26 }], |
| 28 ['OS=="win"', { | 27 ['OS=="win"', { |
| 29 'dependencies': [ | 28 'dependencies': [ |
| 30 # TODO(efortuna): Currently the Windows build only runs using the | 29 # TODO(efortuna): Currently the Windows build only runs using the |
| 31 # dart VM, so we don't depend on d8 because of v8 build issues. Fix | 30 # dart VM, so we don't depend on d8 because of v8 build issues. Fix |
| 32 # this so that Windows can also run with node.js and d8. | 31 # this so that Windows can also run with node.js and d8. |
| 33 '../runtime/dart-runtime.gyp:dart', | 32 '../runtime/dart-runtime.gyp:dart', |
| 34 ], | 33 ], |
| 34 'msvs_cygwin_dirs': ['<(cygwin_dir)'], |
| 35 }]], | 35 }]], |
| 36 'type': 'none', | 36 'type': 'none', |
| 37 'actions': [ | 37 'actions': [ |
| 38 { | 38 { |
| 39 'action_name': 'generate_frog', | 39 'action_name': 'generate_frog', |
| 40 'inputs': [ | 40 'inputs': [ |
| 41 '<!@(["python", "scripts/list_frog_files.py"])', | 41 '<!@(["python", "scripts/list_frog_files.py"])', |
| 42 'scripts/bootstrap/frog_bootstrap_wrapper.py', | 42 'scripts/bootstrap/frog_bootstrap_wrapper.py', |
| 43 'scripts/bootstrap/frog_wrapper.py', | 43 'scripts/bootstrap/frog_wrapper.py', |
| 44 'frog.py', | 44 'frog.py', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 70 '../third_party/v8/src/d8.gyp:d8', | 70 '../third_party/v8/src/d8.gyp:d8', |
| 71 ], | 71 ], |
| 72 }], | 72 }], |
| 73 ['OS=="win"', { | 73 ['OS=="win"', { |
| 74 'dependencies': [ | 74 'dependencies': [ |
| 75 # TODO(efortuna): Currently the Windows build only runs using the | 75 # TODO(efortuna): Currently the Windows build only runs using the |
| 76 # dart VM, so we don't depend on d8 because of v8 build issues. Fix | 76 # dart VM, so we don't depend on d8 because of v8 build issues. Fix |
| 77 # this so that Windows can also run with node.js and d8. | 77 # this so that Windows can also run with node.js and d8. |
| 78 '../runtime/dart-runtime.gyp:dart', | 78 '../runtime/dart-runtime.gyp:dart', |
| 79 ], | 79 ], |
| 80 'msvs_cygwin_dirs': ['<(cygwin_dir)'], |
| 80 }]], | 81 }]], |
| 81 'type': 'none', | 82 'type': 'none', |
| 82 'actions': [ | 83 'actions': [ |
| 83 { | 84 { |
| 84 'action_name': 'generate_frogsh', | 85 'action_name': 'generate_frogsh', |
| 85 'inputs': [ | 86 'inputs': [ |
| 86 '<!@(["python", "scripts/list_frog_files.py"])', | 87 '<!@(["python", "scripts/list_frog_files.py"])', |
| 87 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', | 88 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', |
| 88 'frog.py', | 89 'frog.py', |
| 89 ], | 90 ], |
| 90 'outputs': [ | 91 'outputs': [ |
| 91 '<(PRODUCT_DIR)/frog/bin/frogsh', | 92 '<(PRODUCT_DIR)/frog/bin/frogsh', |
| 92 ], | 93 ], |
| 93 'action': [ | 94 'action': [ |
| 94 'python', | 95 'python', |
| 95 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', | 96 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', |
| 96 '<(PRODUCT_DIR)', | 97 '<(PRODUCT_DIR)', |
| 97 ], | 98 ], |
| 98 'message': 'Generating frogsh file' | 99 'message': 'Generating frogsh file' |
| 99 }, | 100 }, |
| 100 ], | 101 ], |
| 101 }, | 102 }, |
| 102 ], | 103 ], |
| 103 } | 104 } |
| OLD | NEW |