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 17 matching lines...) Expand all Loading... |
28 ], | 28 ], |
29 }, | 29 }, |
30 { | 30 { |
31 # Build the SDK. This target is separate from upload_sdk as the | 31 # Build the SDK. This target is separate from upload_sdk as the |
32 # editor needs to build the SDK without uploading it. | 32 # editor needs to build the SDK without uploading it. |
33 'target_name': 'create_sdk', | 33 'target_name': 'create_sdk', |
34 'type': 'none', | 34 'type': 'none', |
35 'dependencies': [ | 35 'dependencies': [ |
36 'runtime/dart-runtime.gyp:dart', | 36 'runtime/dart-runtime.gyp:dart', |
37 'utils/compiler/compiler.gyp:dart2js', | 37 'utils/compiler/compiler.gyp:dart2js', |
38 'compiler', | |
39 ], | 38 ], |
40 'actions': [ | 39 'actions': [ |
41 { | 40 { |
42 'action_name': 'create_sdk_py', | 41 'action_name': 'create_sdk_py', |
43 'inputs': [ | 42 'inputs': [ |
44 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', | 43 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', |
45 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', | 44 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', |
46 'tools/create_sdk.py', | 45 'tools/create_sdk.py', |
47 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 46 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
48 '<(PRODUCT_DIR)/dart2js.snapshot', | 47 '<(PRODUCT_DIR)/dart2js.snapshot', |
49 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer', | |
50 ], | 48 ], |
51 'outputs': [ | 49 'outputs': [ |
52 '<(PRODUCT_DIR)/dart-sdk/README', | 50 '<(PRODUCT_DIR)/dart-sdk/README', |
53 ], | 51 ], |
54 'action': [ | 52 'action': [ |
55 'python', | 53 'python', |
56 'tools/create_sdk.py', | 54 'tools/create_sdk.py', |
57 '<(PRODUCT_DIR)/dart-sdk', | 55 '<(PRODUCT_DIR)/dart-sdk', |
58 ], | 56 ], |
59 'message': 'Creating SDK.', | 57 'message': 'Creating SDK.', |
| 58 'conditions' : [ |
| 59 ['(OS=="linux" or OS=="mac") ', { |
| 60 'inputs' : [ |
| 61 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer' |
| 62 ], |
| 63 }], |
| 64 ], |
60 }, | 65 }, |
61 ], | 66 ], |
| 67 'conditions' : [ |
| 68 ['(OS=="linux" or OS=="mac") ', { |
| 69 'dependencies': [ |
| 70 'compiler', |
| 71 ], |
| 72 }], |
| 73 ], |
62 }, | 74 }, |
63 { | 75 { |
64 # Upload the SDK. This target is separate from create_sdk as the | 76 # Upload the SDK. This target is separate from create_sdk as the |
65 # editor needs to build the SDK without uploading it. | 77 # editor needs to build the SDK without uploading it. |
66 'target_name': 'upload_sdk', | 78 'target_name': 'upload_sdk', |
67 'type': 'none', | 79 'type': 'none', |
68 'dependencies': [ | 80 'dependencies': [ |
69 'create_sdk', | 81 'create_sdk', |
70 ], | 82 ], |
71 'actions': [ | 83 'actions': [ |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 }, | 145 }, |
134 { | 146 { |
135 'target_name': 'packages', | 147 'target_name': 'packages', |
136 'type': 'none', | 148 'type': 'none', |
137 'dependencies': [ | 149 'dependencies': [ |
138 'pkg/pkg.gyp:pkg_packages', | 150 'pkg/pkg.gyp:pkg_packages', |
139 ], | 151 ], |
140 }, | 152 }, |
141 ], | 153 ], |
142 } | 154 } |
OLD | NEW |