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 12 matching lines...) Expand all Loading... |
23 ], | 23 ], |
24 }, | 24 }, |
25 { | 25 { |
26 # Build the SDK. This target is separate from upload_sdk as the | 26 # Build the SDK. This target is separate from upload_sdk as the |
27 # editor needs to build the SDK without uploading it. | 27 # editor needs to build the SDK without uploading it. |
28 'target_name': 'create_sdk', | 28 'target_name': 'create_sdk', |
29 'type': 'none', | 29 'type': 'none', |
30 'dependencies': [ | 30 'dependencies': [ |
31 'runtime/dart-runtime.gyp:dart', | 31 'runtime/dart-runtime.gyp:dart', |
32 'dart2js', | 32 'dart2js', |
| 33 'compiler', |
33 ], | 34 ], |
34 'actions': [ | 35 'actions': [ |
35 { | 36 { |
36 'action_name': 'create_sdk_py', | 37 'action_name': 'create_sdk_py', |
37 'inputs': [ | 38 'inputs': [ |
38 '<!@(["python", "tools/list_files.py", "\\.dart$", "lib"])', | 39 '<!@(["python", "tools/list_files.py", "\\.dart$", "lib"])', |
39 '<!@(["python", "tools/list_files.py", "import_.*\\.config$", "lib/c
onfig"])', | 40 '<!@(["python", "tools/list_files.py", "import_.*\\.config$", "lib/c
onfig"])', |
40 'tools/create_sdk.py', | 41 'tools/create_sdk.py', |
41 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 42 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
42 '<(PRODUCT_DIR)/dart2js', | 43 '<(PRODUCT_DIR)/dart2js', |
43 '<(PRODUCT_DIR)/dart2js.bat', | 44 '<(PRODUCT_DIR)/dart2js.bat', |
| 45 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer' |
44 ], | 46 ], |
45 'outputs': [ | 47 'outputs': [ |
46 '<(PRODUCT_DIR)/dart-sdk/create.stamp', | 48 '<(PRODUCT_DIR)/dart-sdk/create.stamp', |
47 ], | 49 ], |
48 'action': [ | 50 'action': [ |
49 'python', | 51 'python', |
50 'tools/create_sdk.py', | 52 'tools/create_sdk.py', |
51 '<(PRODUCT_DIR)/dart-sdk', | 53 '<(PRODUCT_DIR)/dart-sdk', |
52 ], | 54 ], |
53 'message': 'Creating SDK.', | 55 'message': 'Creating SDK.', |
54 'conditions' : [ | |
55 ['(OS=="linux" or OS=="mac") ', { | |
56 'inputs' : [ | |
57 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer' | |
58 ], | |
59 }], | |
60 ], | |
61 }, | 56 }, |
62 ], | 57 ], |
63 'conditions' : [ | |
64 ['(OS=="linux" or OS=="mac") ', { | |
65 'dependencies': [ | |
66 'compiler', | |
67 ], | |
68 }], | |
69 ], | |
70 }, | 58 }, |
71 { | 59 { |
72 # Upload the SDK. This target is separate from create_sdk as the | 60 # Upload the SDK. This target is separate from create_sdk as the |
73 # editor needs to build the SDK without uploading it. | 61 # editor needs to build the SDK without uploading it. |
74 'target_name': 'upload_sdk', | 62 'target_name': 'upload_sdk', |
75 'type': 'none', | 63 'type': 'none', |
76 'dependencies': [ | 64 'dependencies': [ |
77 'create_sdk', | 65 'create_sdk', |
78 ], | 66 ], |
79 'actions': [ | 67 'actions': [ |
(...skipping 23 matching lines...) Expand all Loading... |
103 }, | 91 }, |
104 { | 92 { |
105 'target_name': 'api_docs', | 93 'target_name': 'api_docs', |
106 'type': 'none', | 94 'type': 'none', |
107 'dependencies': [ | 95 'dependencies': [ |
108 'utils/apidoc/apidoc.gyp:api_docs', | 96 'utils/apidoc/apidoc.gyp:api_docs', |
109 ], | 97 ], |
110 } | 98 } |
111 ], | 99 ], |
112 } | 100 } |
OLD | NEW |