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 'outputs': [ | 45 'outputs': [ |
46 '<(PRODUCT_DIR)/dart-sdk/create.stamp', | 46 '<(PRODUCT_DIR)/dart-sdk/create.stamp', |
47 ], | 47 ], |
48 'action': [ | 48 'action': [ |
49 'python', | 49 'python', |
50 'tools/create_sdk.py', | 50 'tools/create_sdk.py', |
51 '<(PRODUCT_DIR)/dart-sdk', | 51 '<(PRODUCT_DIR)/dart-sdk', |
52 ], | 52 ], |
53 'message': 'Creating SDK.', | 53 'message': 'Creating SDK.', |
54 'conditions' : [ | 54 'conditions' : [ |
55 ['OS=="linux"', { | 55 ['(OS=="linux" or OS=="mac") ', { |
56 'inputs' : [ | 56 'inputs' : [ |
57 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer' | 57 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer' |
58 ], | 58 ], |
59 }], | 59 }], |
60 ], | 60 ], |
61 }, | 61 }, |
62 ], | 62 ], |
63 'conditions' : [ | 63 'conditions' : [ |
64 ['OS=="linux"', { | 64 ['(OS=="linux" or OS=="mac") ', { |
65 'dependencies': [ | 65 'dependencies': [ |
66 'compiler', | 66 'compiler', |
67 ], | 67 ], |
68 }], | 68 }], |
69 ], | 69 ], |
70 }, | 70 }, |
71 { | 71 { |
72 # Upload the SDK. This target is separate from create_sdk as the | 72 # Upload the SDK. This target is separate from create_sdk as the |
73 # editor needs to build the SDK without uploading it. | 73 # editor needs to build the SDK without uploading it. |
74 'target_name': 'upload_sdk', | 74 'target_name': 'upload_sdk', |
(...skipping 28 matching lines...) Expand all Loading... |
103 }, | 103 }, |
104 { | 104 { |
105 'target_name': 'api_docs', | 105 'target_name': 'api_docs', |
106 'type': 'none', | 106 'type': 'none', |
107 'dependencies': [ | 107 'dependencies': [ |
108 'utils/apidoc/apidoc.gyp:api_docs', | 108 'utils/apidoc/apidoc.gyp:api_docs', |
109 ], | 109 ], |
110 } | 110 } |
111 ], | 111 ], |
112 } | 112 } |
OLD | NEW |