| 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 17 matching lines...) Expand all Loading... |
| 28 ], | 28 ], |
| 29 }, | 29 }, |
| 30 { | 30 { |
| 31 # Build the SDK. This target is separate from upload_sdk as the | 31 # Build the SDK. This target is separate from upload_sdk as the |
| 32 # editor needs to build the SDK without uploading it. | 32 # editor needs to build the SDK without uploading it. |
| 33 'target_name': 'create_sdk', | 33 'target_name': 'create_sdk', |
| 34 'type': 'none', | 34 'type': 'none', |
| 35 'dependencies': [ | 35 'dependencies': [ |
| 36 'runtime/dart-runtime.gyp:dart', | 36 'runtime/dart-runtime.gyp:dart', |
| 37 'utils/compiler/compiler.gyp:dart2js', | 37 'utils/compiler/compiler.gyp:dart2js', |
| 38 'compiler', |
| 38 ], | 39 ], |
| 39 'actions': [ | 40 'actions': [ |
| 40 { | 41 { |
| 41 'action_name': 'create_sdk_py', | 42 'action_name': 'create_sdk_py', |
| 42 'inputs': [ | 43 'inputs': [ |
| 43 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', | 44 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', |
| 44 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', | 45 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', |
| 45 'tools/create_sdk.py', | 46 'tools/create_sdk.py', |
| 46 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 47 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 47 '<(PRODUCT_DIR)/dart2js.snapshot', | 48 '<(PRODUCT_DIR)/dart2js.snapshot', |
| 49 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer', |
| 48 ], | 50 ], |
| 49 'outputs': [ | 51 'outputs': [ |
| 50 '<(PRODUCT_DIR)/dart-sdk/README', | 52 '<(PRODUCT_DIR)/dart-sdk/README', |
| 51 ], | 53 ], |
| 52 'action': [ | 54 'action': [ |
| 53 'python', | 55 'python', |
| 54 'tools/create_sdk.py', | 56 'tools/create_sdk.py', |
| 55 '<(PRODUCT_DIR)/dart-sdk', | 57 '<(PRODUCT_DIR)/dart-sdk', |
| 56 ], | 58 ], |
| 57 'message': 'Creating SDK.', | 59 'message': 'Creating SDK.', |
| 58 'conditions' : [ | |
| 59 ['(OS=="linux" or OS=="mac") ', { | |
| 60 'inputs' : [ | |
| 61 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer' | |
| 62 ], | |
| 63 }], | |
| 64 ], | |
| 65 }, | 60 }, |
| 66 ], | 61 ], |
| 67 'conditions' : [ | |
| 68 ['(OS=="linux" or OS=="mac") ', { | |
| 69 'dependencies': [ | |
| 70 'compiler', | |
| 71 ], | |
| 72 }], | |
| 73 ], | |
| 74 }, | 62 }, |
| 75 { | 63 { |
| 76 # Upload the SDK. This target is separate from create_sdk as the | 64 # Upload the SDK. This target is separate from create_sdk as the |
| 77 # editor needs to build the SDK without uploading it. | 65 # editor needs to build the SDK without uploading it. |
| 78 'target_name': 'upload_sdk', | 66 'target_name': 'upload_sdk', |
| 79 'type': 'none', | 67 'type': 'none', |
| 80 'dependencies': [ | 68 'dependencies': [ |
| 81 'create_sdk', | 69 'create_sdk', |
| 82 ], | 70 ], |
| 83 'actions': [ | 71 'actions': [ |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 }, | 133 }, |
| 146 { | 134 { |
| 147 'target_name': 'packages', | 135 'target_name': 'packages', |
| 148 'type': 'none', | 136 'type': 'none', |
| 149 'dependencies': [ | 137 'dependencies': [ |
| 150 'pkg/pkg.gyp:pkg_packages', | 138 'pkg/pkg.gyp:pkg_packages', |
| 151 ], | 139 ], |
| 152 }, | 140 }, |
| 153 ], | 141 ], |
| 154 } | 142 } |
| OLD | NEW |