| Index: dart-frog.gyp
|
| ===================================================================
|
| --- dart-frog.gyp (revision 1140)
|
| +++ dart-frog.gyp (working copy)
|
| @@ -5,13 +5,10 @@
|
| {
|
| 'targets': [
|
| {
|
| - # needed to make gyp happy in mac.
|
| - 'target_name': 'noop',
|
| - 'type': 'none',
|
| - 'actions': [],
|
| - },
|
| - {
|
| 'target_name': 'frog',
|
| + 'dependencies': [
|
| + '../runtime/dart-runtime.gyp:dart_bin',
|
| + ],
|
| 'type': 'none',
|
| 'actions': [
|
| {
|
| @@ -20,18 +17,45 @@
|
| '<!@(["python", "scripts/list_dart_files.py"])',
|
| 'scripts/bootstrap/frog_bootstrap_wrapper.py',
|
| 'scripts/bootstrap/frog_wrapper.py',
|
| + 'frog.py',
|
| ],
|
| 'outputs': [
|
| - '<(PRODUCT_DIR)/dart_bin',
|
| + '<(PRODUCT_DIR)/frog/bin/frog',
|
| ],
|
| 'action': [
|
| 'python',
|
| 'scripts/bootstrap/frog_bootstrap_wrapper.py',
|
| - '--js_out=<(PRODUCT_DIR)/dart_bin', '--', 'frog.dart',
|
| + '<(PRODUCT_DIR)/frog/bin/frog',
|
| ],
|
| 'message': 'Generating frog file'
|
| },
|
| ],
|
| },
|
| + {
|
| + 'target_name': 'frogsh',
|
| + 'dependencies': [
|
| + '../runtime/dart-runtime.gyp:dart_bin',
|
| + ],
|
| + 'type': 'none',
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'generate_frogsh',
|
| + 'inputs': [
|
| + '<!@(["python", "scripts/list_dart_files.py"])',
|
| + 'scripts/bootstrap/frogsh_bootstrap_wrapper.py',
|
| + 'frog.py',
|
| + ],
|
| + 'outputs': [
|
| + '<(PRODUCT_DIR)/frog/bin/frogsh',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + 'scripts/bootstrap/frogsh_bootstrap_wrapper.py',
|
| + '--js_out=<(PRODUCT_DIR)/frog/bin/frogsh', '--', 'frog.dart',
|
| + ],
|
| + 'message': 'Generating frogsh file'
|
| + },
|
| + ],
|
| + },
|
| ],
|
| }
|
|
|