| 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 # needed to make gyp happy in mac. | |
| 9 'target_name': 'noop', | |
| 10 'type': 'none', | |
| 11 'actions': [], | |
| 12 }, | |
| 13 { | |
| 14 'target_name': 'frog', | 8 'target_name': 'frog', |
| 9 'dependencies': [ |
| 10 '../runtime/dart-runtime.gyp:dart_bin', |
| 11 ], |
| 15 'type': 'none', | 12 'type': 'none', |
| 16 'actions': [ | 13 'actions': [ |
| 17 { | 14 { |
| 18 'action_name': 'generate_frog', | 15 'action_name': 'generate_frog', |
| 19 'inputs': [ | 16 'inputs': [ |
| 20 '<!@(["python", "scripts/list_dart_files.py"])', | 17 '<!@(["python", "scripts/list_dart_files.py"])', |
| 21 'scripts/bootstrap/frog_bootstrap_wrapper.py', | 18 'scripts/bootstrap/frog_bootstrap_wrapper.py', |
| 22 'scripts/bootstrap/frog_wrapper.py', | 19 'scripts/bootstrap/frog_wrapper.py', |
| 20 'frog.py', |
| 23 ], | 21 ], |
| 24 'outputs': [ | 22 'outputs': [ |
| 25 '<(PRODUCT_DIR)/dart_bin', | 23 '<(PRODUCT_DIR)/frog/bin/frog', |
| 26 ], | 24 ], |
| 27 'action': [ | 25 'action': [ |
| 28 'python', | 26 'python', |
| 29 'scripts/bootstrap/frog_bootstrap_wrapper.py', | 27 'scripts/bootstrap/frog_bootstrap_wrapper.py', |
| 30 '--js_out=<(PRODUCT_DIR)/dart_bin', '--', 'frog.dart', | 28 '<(PRODUCT_DIR)/frog/bin/frog', |
| 31 ], | 29 ], |
| 32 'message': 'Generating frog file' | 30 'message': 'Generating frog file' |
| 33 }, | 31 }, |
| 34 ], | 32 ], |
| 35 }, | 33 }, |
| 34 { |
| 35 'target_name': 'frogsh', |
| 36 'dependencies': [ |
| 37 '../runtime/dart-runtime.gyp:dart_bin', |
| 38 ], |
| 39 'type': 'none', |
| 40 'actions': [ |
| 41 { |
| 42 'action_name': 'generate_frogsh', |
| 43 'inputs': [ |
| 44 '<!@(["python", "scripts/list_dart_files.py"])', |
| 45 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', |
| 46 'frog.py', |
| 47 ], |
| 48 'outputs': [ |
| 49 '<(PRODUCT_DIR)/frog/bin/frogsh', |
| 50 ], |
| 51 'action': [ |
| 52 'python', |
| 53 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', |
| 54 '--js_out=<(PRODUCT_DIR)/frog/bin/frogsh', '--', 'frog.dart', |
| 55 ], |
| 56 'message': 'Generating frogsh file' |
| 57 }, |
| 58 ], |
| 59 }, |
| 36 ], | 60 ], |
| 37 } | 61 } |
| OLD | NEW |