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