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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'frog', | 8 'target_name': 'frog', |
9 'conditions': [ | 9 'conditions': [ |
10 ['OS!="win"', { | 10 ['OS!="win"', { |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../runtime/dart-runtime.gyp:dart', | 12 '../runtime/dart-runtime.gyp:dart', |
13 '../third_party/v8/src/d8.gyp:d8', | 13 '../third_party/v8/src/d8.gyp:d8', |
14 ], | 14 ], |
15 }], | 15 }], |
16 ['OS=="win"', { | 16 ['OS=="win"', { |
17 'dependencies': [ | 17 'dependencies': [ |
18 # TODO(efortuna): Currently the Windows build only runs using the | 18 # TODO(efortuna): Currently the Windows build only runs using the |
19 # dart VM, so we don't depend on d8 because of v8 build issues. Fix | 19 # dart VM, so we don't depend on d8 because of v8 build issues. Fix |
20 # this so that Windows can also run with d8. | 20 # this so that Windows can also run with d8. |
21 '../runtime/dart-runtime.gyp:dart', | 21 '../runtime/dart-runtime.gyp:dart', |
22 ], | 22 ], |
23 }]], | 23 }]], |
24 'type': 'none', | 24 'type': 'none', |
25 'actions': [ | 25 'actions': [ |
26 { | 26 { |
27 'action_name': 'generate_frog', | 27 'action_name': 'generate_frog', |
28 'inputs': [ | 28 'inputs': [ |
29 '<!@(["python", "scripts/list_frog_files.py"])', | 29 '<!@(["python", "../tools/list_files.py", "^([^/]*|lib/.*)\\.(dart|g
ypi|js)$", "."])', |
30 'scripts/bootstrap/frog_bootstrap_wrapper.py', | 30 'scripts/bootstrap/frog_bootstrap_wrapper.py', |
31 'scripts/bootstrap/frog_wrapper.py', | 31 'scripts/bootstrap/frog_wrapper.py', |
32 'frog.py', | 32 'frog.py', |
33 '<(PRODUCT_DIR)/dart', | 33 '<(PRODUCT_DIR)/dart', |
34 ], | 34 ], |
35 'outputs': [ | 35 'outputs': [ |
36 '<(PRODUCT_DIR)/frog/bin/frog', | 36 '<(PRODUCT_DIR)/frog/bin/frog', |
37 ], | 37 ], |
38 'action': [ | 38 'action': [ |
39 'python', | 39 'python', |
40 'scripts/bootstrap/frog_bootstrap_wrapper.py', | 40 'scripts/bootstrap/frog_bootstrap_wrapper.py', |
41 '<(PRODUCT_DIR)', | 41 '<(PRODUCT_DIR)', |
42 ], | 42 ], |
43 'message': 'Generating frog file' | 43 'message': 'Generating frog file' |
44 }, | 44 }, |
45 ], | 45 ], |
46 }, | 46 }, |
47 ], | 47 ], |
48 } | 48 } |
OLD | NEW |