| 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': [ |
| 11 'compiler/dart-compiler.gyp:dart_analyzer', | 11 'compiler/dart-compiler.gyp:dartc', |
| 12 ], | 12 ], |
| 13 'actions': [] | 13 'actions': [] |
| 14 }, | 14 }, |
| 15 { | 15 { |
| 16 'target_name': 'runtime', | 16 'target_name': 'runtime', |
| 17 'type': 'none', | 17 'type': 'none', |
| 18 'dependencies': [ | 18 'dependencies': [ |
| 19 'runtime/dart-runtime.gyp:dart', | 19 'runtime/dart-runtime.gyp:dart', |
| 20 'runtime/dart-runtime.gyp:run_vm_tests', | 20 'runtime/dart-runtime.gyp:run_vm_tests', |
| 21 'runtime/dart-runtime.gyp:process_test', | 21 'runtime/dart-runtime.gyp:process_test', |
| 22 'runtime/dart-runtime.gyp:test_extension', | 22 'runtime/dart-runtime.gyp:test_extension', |
| 23 ], | 23 ], |
| 24 }, | 24 }, |
| 25 { | 25 { |
| 26 # Build the SDK. This target is separate from upload_sdk as the | 26 # Build the SDK. This target is separate from upload_sdk as the |
| 27 # editor needs to build the SDK without uploading it. | 27 # editor needs to build the SDK without uploading it. |
| 28 'target_name': 'create_sdk', | 28 'target_name': 'create_sdk', |
| 29 'type': 'none', | 29 'type': 'none', |
| 30 'dependencies': [ | 30 'dependencies': [ |
| 31 'runtime/dart-runtime.gyp:dart', | 31 'runtime/dart-runtime.gyp:dart', |
| 32 'dart2js', | 32 'dart2js', |
| 33 'compiler', | |
| 34 ], | 33 ], |
| 35 'actions': [ | 34 'actions': [ |
| 36 { | 35 { |
| 37 'action_name': 'create_sdk_py', | 36 'action_name': 'create_sdk_py', |
| 38 'inputs': [ | 37 'inputs': [ |
| 39 '<!@(["python", "tools/list_files.py", "\\.dart$", "lib"])', | 38 '<!@(["python", "tools/list_files.py", "\\.dart$", "lib"])', |
| 40 'frog/scripts/bootstrap/frogc', | 39 'frog/scripts/bootstrap/frogc', |
| 41 'tools/create_sdk.py', | 40 'tools/create_sdk.py', |
| 42 '<(PRODUCT_DIR)/frog/bin/frog', | 41 '<(PRODUCT_DIR)/frog/bin/frog', |
| 43 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 42 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 44 '<(PRODUCT_DIR)/dart2js', | 43 '<(PRODUCT_DIR)/dart2js', |
| 45 '<(PRODUCT_DIR)/dart2js.bat', | 44 '<(PRODUCT_DIR)/dart2js.bat', |
| 46 ], | 45 ], |
| 47 'outputs': [ | 46 'outputs': [ |
| 48 '<(PRODUCT_DIR)/dart-sdk/create.stamp', | 47 '<(PRODUCT_DIR)/dart-sdk/create.stamp', |
| 49 ], | 48 ], |
| 50 'action': [ | 49 'action': [ |
| 51 'python', | 50 'python', |
| 52 'tools/create_sdk.py', | 51 'tools/create_sdk.py', |
| 53 '<(PRODUCT_DIR)/dart-sdk', | 52 '<(PRODUCT_DIR)/dart-sdk', |
| 54 ], | 53 ], |
| 55 'message': 'Creating SDK.', | 54 'message': 'Creating SDK.', |
| 56 }, | 55 }, |
| 57 ], | 56 ], |
| 58 'conditions' : [ | |
| 59 ['OS=="linux"', { | |
| 60 'dependencies': [ | |
| 61 'compiler', | |
| 62 ], | |
| 63 }], | |
| 64 ], | |
| 65 }, | 57 }, |
| 66 { | 58 { |
| 67 # Upload the SDK. This target is separate from create_sdk as the | 59 # Upload the SDK. This target is separate from create_sdk as the |
| 68 # editor needs to build the SDK without uploading it. | 60 # editor needs to build the SDK without uploading it. |
| 69 'target_name': 'upload_sdk', | 61 'target_name': 'upload_sdk', |
| 70 'type': 'none', | 62 'type': 'none', |
| 71 'dependencies': [ | 63 'dependencies': [ |
| 72 'create_sdk', | 64 'create_sdk', |
| 73 ], | 65 ], |
| 74 'actions': [ | 66 'actions': [ |
| (...skipping 28 matching lines...) Expand all Loading... |
| 103 }, | 95 }, |
| 104 { | 96 { |
| 105 'target_name': 'api_docs', | 97 'target_name': 'api_docs', |
| 106 'type': 'none', | 98 'type': 'none', |
| 107 'dependencies': [ | 99 'dependencies': [ |
| 108 'utils/apidoc/apidoc.gyp:api_docs', | 100 'utils/apidoc/apidoc.gyp:api_docs', |
| 109 ], | 101 ], |
| 110 } | 102 } |
| 111 ], | 103 ], |
| 112 } | 104 } |
| OLD | NEW |