OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, 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': 'compiler', | 8 'target_name': 'compiler', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 ], | 45 ], |
46 'outputs': [ | 46 'outputs': [ |
47 '<(PRODUCT_DIR)/dart-sdk/create.stamp', | 47 '<(PRODUCT_DIR)/dart-sdk/create.stamp', |
48 ], | 48 ], |
49 'action': [ | 49 'action': [ |
50 'python', | 50 'python', |
51 'tools/create_sdk.py', | 51 'tools/create_sdk.py', |
52 '<(PRODUCT_DIR)/dart-sdk', | 52 '<(PRODUCT_DIR)/dart-sdk', |
53 ], | 53 ], |
54 'message': 'Creating SDK.', | 54 'message': 'Creating SDK.', |
| 55 'conditions' : [ |
| 56 ['OS=="linux"', { |
| 57 'inputs' : [ |
| 58 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer' |
| 59 ], |
| 60 }], |
| 61 ], |
55 }, | 62 }, |
56 ], | 63 ], |
57 'conditions' : [ | 64 'conditions' : [ |
58 ['OS=="linux"', { | 65 ['OS=="linux"', { |
59 'dependencies': [ | 66 'dependencies': [ |
60 'compiler', | 67 'compiler', |
61 ], | 68 ], |
62 'inputs' : [ | |
63 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer' | |
64 ], | |
65 }], | 69 }], |
66 ], | 70 ], |
67 }, | 71 }, |
68 { | 72 { |
69 # Upload the SDK. This target is separate from create_sdk as the | 73 # Upload the SDK. This target is separate from create_sdk as the |
70 # editor needs to build the SDK without uploading it. | 74 # editor needs to build the SDK without uploading it. |
71 'target_name': 'upload_sdk', | 75 'target_name': 'upload_sdk', |
72 'type': 'none', | 76 'type': 'none', |
73 'dependencies': [ | 77 'dependencies': [ |
74 'create_sdk', | 78 'create_sdk', |
(...skipping 30 matching lines...) Expand all Loading... |
105 }, | 109 }, |
106 { | 110 { |
107 'target_name': 'api_docs', | 111 'target_name': 'api_docs', |
108 'type': 'none', | 112 'type': 'none', |
109 'dependencies': [ | 113 'dependencies': [ |
110 'utils/apidoc/apidoc.gyp:api_docs', | 114 'utils/apidoc/apidoc.gyp:api_docs', |
111 ], | 115 ], |
112 } | 116 } |
113 ], | 117 ], |
114 } | 118 } |
OLD | NEW |