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