| 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 { | |
| 174 'target_name': 'samples', | 136 'target_name': 'samples', |
| 175 'type': 'none', | 137 'type': 'none', |
| 176 'dependencies': [ | 138 'dependencies': [ |
| 177 'samples/openglui/openglui.gyp:openglui_sample', | 139 'samples/openglui/openglui.gyp:openglui_sample', |
| 178 ], | 140 ], |
| 179 'conditions': [ | 141 'conditions': [ |
| 180 ['OS!="android"', { | 142 ['OS!="android"', { |
| 181 'dependencies': [ | 143 'dependencies': [ |
| 182 'samples/sample_extension/sample_extension.gyp:sample_extension', | 144 'samples/sample_extension/sample_extension.gyp:sample_extension', |
| 183 ], | 145 ], |
| 184 }, | 146 }, |
| 185 ], | 147 ], |
| 186 ] | 148 ] |
| 187 }, | 149 }, |
| 188 { | 150 { |
| 189 'target_name': 'packages', | 151 'target_name': 'packages', |
| 190 'type': 'none', | 152 'type': 'none', |
| 191 'dependencies': [ | 153 'dependencies': [ |
| 192 'pkg/pkg.gyp:pkg_packages', | 154 'pkg/pkg.gyp:pkg_packages', |
| 193 ], | 155 ], |
| 194 }, | 156 }, |
| 195 ], | 157 ], |
| 196 } | 158 } |
| OLD | NEW |