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