| 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 'includes': [ | |
| 7 'fling/fling.gypi', | |
| 8 ], | |
| 9 'targets': [ | 6 'targets': [ |
| 10 { | |
| 11 # this target is needed because gyp fails on Mac if there is a single | |
| 12 # target | |
| 13 'target_name': 'noop', | |
| 14 'type': 'none', | |
| 15 'actions': [], | |
| 16 }, | |
| 17 { | |
| 18 'target_name': 'fling', | |
| 19 'type': 'none', | |
| 20 'dependencies': ['../compiler/dart-compiler.gyp:dartc'], | |
| 21 'actions' : [ | |
| 22 { | |
| 23 'action_name': 'Build Fling', | |
| 24 'inputs': [ | |
| 25 'fling/fling.gypi', | |
| 26 '<@(fling_sources)', | |
| 27 '<@(fling_resources)', | |
| 28 '<(PRODUCT_DIR)/dartc', | |
| 29 ], | |
| 30 'outputs' :[ | |
| 31 '<(PRODUCT_DIR)/fling/runtime/fling.jar', | |
| 32 ], | |
| 33 'action': [ | |
| 34 '../third_party/apache_ant/v1_7_1/bin/ant', | |
| 35 '-f', 'fling/build.xml', | |
| 36 '-Dbuild.dir=<(PRODUCT_DIR)', | |
| 37 'build', | |
| 38 'setup-eclipse', | |
| 39 ], | |
| 40 'message': 'Running Fling build actions.', | |
| 41 } | |
| 42 ], | |
| 43 }, | |
| 44 ], | 7 ], |
| 45 } | 8 } |
| 46 | 9 |
| OLD | NEW |