| Index: dart/dart.gyp
|
| ===================================================================
|
| --- dart/dart.gyp (revision 20225)
|
| +++ dart/dart.gyp (working copy)
|
| @@ -133,6 +133,44 @@
|
| ],
|
| },
|
| {
|
| + 'target_name': 'editor',
|
| + 'type': 'none',
|
| + 'dependencies': [
|
| + 'editor/build/generated/editor_deps.gyp:editor_deps',
|
| +
|
| + # This dependency on create_sdk does not mean that the Editor
|
| + # is rebuilt if the SDK is. It only means that when you build
|
| + # the Editor, you should also build the SDK. If we wanted to
|
| + # make sure that the editor is rebuilt when the SDK is, we
|
| + # should list a *file* in PRODUCT_DIR which the action below
|
| + # uses as input.
|
| + # This is the desired behavior as we would otherwise have to
|
| + # rebuild the editor each time the VM, dart2js, or library
|
| + # code changes.
|
| + 'create_sdk',
|
| + ],
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'create_editor_py',
|
| + 'inputs': [
|
| + 'tools/create_editor.py',
|
| + '<(SHARED_INTERMEDIATE_DIR)/editor_deps/editor.stamp',
|
| + '<!@(["python", "tools/list_files.py", "", "editor/tools/features/com.google.dart.tools.deploy.feature_releng"])',
|
| + ],
|
| + 'outputs': [
|
| + '<(PRODUCT_DIR)/editor/VERSION',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + 'tools/create_editor.py',
|
| + '--out', '<(PRODUCT_DIR)/editor',
|
| + '--build', '<(INTERMEDIATE_DIR)',
|
| + ],
|
| + 'message': 'Creating editor.',
|
| + },
|
| + ],
|
| + },
|
| + {
|
| 'target_name': 'samples',
|
| 'type': 'none',
|
| 'dependencies': [
|
|
|