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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 ], | 126 ], |
127 }, | 127 }, |
128 { | 128 { |
129 'target_name': 'api_docs', | 129 'target_name': 'api_docs', |
130 'type': 'none', | 130 'type': 'none', |
131 'dependencies': [ | 131 'dependencies': [ |
132 'utils/apidoc/apidoc.gyp:api_docs', | 132 'utils/apidoc/apidoc.gyp:api_docs', |
133 ], | 133 ], |
134 }, | 134 }, |
135 { | 135 { |
| 136 'target_name': 'editor', |
| 137 'type': 'none', |
| 138 'dependencies': [ |
| 139 'editor/build/generated/editor_deps.gyp:editor_deps', |
| 140 |
| 141 # This dependency on create_sdk does not mean that the Editor |
| 142 # is rebuilt if the SDK is. It only means that when you build |
| 143 # the Editor, you should also build the SDK. If we wanted to |
| 144 # make sure that the editor is rebuilt when the SDK is, we |
| 145 # should list a *file* in PRODUCT_DIR which the action below |
| 146 # uses as input. |
| 147 # This is the desired behavior as we would otherwise have to |
| 148 # rebuild the editor each time the VM, dart2js, or library |
| 149 # code changes. |
| 150 'create_sdk', |
| 151 ], |
| 152 'actions': [ |
| 153 { |
| 154 'action_name': 'create_editor_py', |
| 155 'inputs': [ |
| 156 'tools/create_editor.py', |
| 157 '<(SHARED_INTERMEDIATE_DIR)/editor_deps/editor.stamp', |
| 158 '<!@(["python", "tools/list_files.py", "", "editor/tools/features/co
m.google.dart.tools.deploy.feature_releng"])', |
| 159 ], |
| 160 'outputs': [ |
| 161 '<(PRODUCT_DIR)/editor/VERSION', |
| 162 ], |
| 163 'action': [ |
| 164 'python', |
| 165 'tools/create_editor.py', |
| 166 '--out', '<(PRODUCT_DIR)/editor', |
| 167 '--build', '<(INTERMEDIATE_DIR)', |
| 168 ], |
| 169 'message': 'Creating editor.', |
| 170 }, |
| 171 ], |
| 172 }, |
| 173 { |
136 'target_name': 'samples', | 174 'target_name': 'samples', |
137 'type': 'none', | 175 'type': 'none', |
138 'dependencies': [ | 176 'dependencies': [ |
139 'samples/openglui/openglui.gyp:openglui_sample', | 177 'samples/openglui/openglui.gyp:openglui_sample', |
140 ], | 178 ], |
141 'conditions': [ | 179 'conditions': [ |
142 ['OS!="android"', { | 180 ['OS!="android"', { |
143 'dependencies': [ | 181 'dependencies': [ |
144 'samples/sample_extension/sample_extension.gyp:sample_extension', | 182 'samples/sample_extension/sample_extension.gyp:sample_extension', |
145 ], | 183 ], |
146 }, | 184 }, |
147 ], | 185 ], |
148 ] | 186 ] |
149 }, | 187 }, |
150 { | 188 { |
151 'target_name': 'packages', | 189 'target_name': 'packages', |
152 'type': 'none', | 190 'type': 'none', |
153 'dependencies': [ | 191 'dependencies': [ |
154 'pkg/pkg.gyp:pkg_packages', | 192 'pkg/pkg.gyp:pkg_packages', |
155 ], | 193 ], |
156 }, | 194 }, |
157 ], | 195 ], |
158 } | 196 } |
OLD | NEW |