| OLD | NEW |
| 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2014, 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 | 3 # BSD-style license that can be found in the LICENSE |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables' : { | 6 'variables' : { |
| 7 'script_suffix%': '', | 7 'script_suffix%': '', |
| 8 }, | 8 }, |
| 9 'conditions' : [ | 9 'conditions' : [ |
| 10 ['OS=="win"', { | 10 ['OS=="win"', { |
| 11 'variables' : { | 11 'variables' : { |
| 12 'script_suffix': '.bat', | 12 'script_suffix': '.bat', |
| 13 }, | 13 }, |
| 14 }], | 14 }], |
| 15 ], | 15 ], |
| 16 'targets': [ | 16 'targets': [ |
| 17 { | 17 { |
| 18 'target_name': 'try_site', | 18 'target_name': 'try_site', |
| 19 'type': 'none', | 19 'type': 'none', |
| 20 'dependencies': [ | 20 'dependencies': [ |
| 21 '../../runtime/dart-runtime.gyp:dart', | 21 '../../runtime/dart-runtime.gyp:dart', |
| 22 '../../create_sdk.gyp:create_sdk_internal', | 22 '../../create_sdk.gyp:create_sdk_internal', |
| 23 '../../pkg/pkg.gyp:pkg_packages', |
| 23 ], | 24 ], |
| 24 'variables': { | 25 'variables': { |
| 25 'try_dart_static_files': [ | 26 'try_dart_static_files': [ |
| 26 'index.html', | 27 'index.html', |
| 27 'dartlang-style.css', | 28 'dartlang-style.css', |
| 28 'line_numbers.css', | 29 'line_numbers.css', |
| 29 'iframe.html', | 30 'iframe.html', |
| 30 'iframe.js', | 31 'iframe.js', |
| 31 'dart-icon.png', # iOS icon. | 32 'dart-icon.png', # iOS icon. |
| 32 'dart-iphone5.png', # iPhone 5 splash screen. | 33 'dart-iphone5.png', # iPhone 5 splash screen. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 ], | 94 ], |
| 94 }, | 95 }, |
| 95 { | 96 { |
| 96 'action_name': 'compile', | 97 'action_name': 'compile', |
| 97 'message': 'Creating leap.dart.js', | 98 'message': 'Creating leap.dart.js', |
| 98 'inputs': [ | 99 'inputs': [ |
| 99 # Depending on this file ensures that the SDK is built before this | 100 # Depending on this file ensures that the SDK is built before this |
| 100 # action is executed. | 101 # action is executed. |
| 101 '<(PRODUCT_DIR)/dart-sdk/README', | 102 '<(PRODUCT_DIR)/dart-sdk/README', |
| 102 | 103 |
| 104 # Ensure the packages directory is built first. |
| 105 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
| 106 |
| 103 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "src"])', | 107 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "src"])', |
| 104 ], | 108 ], |
| 105 'outputs': [ | 109 'outputs': [ |
| 106 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', | 110 '<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', |
| 107 ], | 111 ], |
| 108 'action': [ | 112 'action': [ |
| 109 '<(PRODUCT_DIR)/dart-sdk/bin/dart2js<(script_suffix)', | 113 '<(PRODUCT_DIR)/dart-sdk/bin/dart2js<(script_suffix)', |
| 110 '-p../../sdk/lib/_internal/', | 114 '-p<(PRODUCT_DIR)/packages/', |
| 111 '-Denable_ir=false', | 115 '-Denable_ir=false', |
| 112 '--show-package-warnings', | 116 '--show-package-warnings', |
| 113 'src/leap.dart', | 117 'src/leap.dart', |
| 114 '-o<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', | 118 '-o<(SHARED_INTERMEDIATE_DIR)/leap.dart.js', |
| 115 ], | 119 ], |
| 116 }, | 120 }, |
| 117 { | 121 { |
| 118 'action_name': 'compile_isolate', | 122 'action_name': 'compile_isolate', |
| 119 'message': 'Creating compiler_isolate.dart.js', | 123 'message': 'Creating compiler_isolate.dart.js', |
| 120 'inputs': [ | 124 'inputs': [ |
| 121 # Depending on this file ensures that the SDK is built before this | 125 # Depending on this file ensures that the SDK is built before this |
| 122 # action is executed. | 126 # action is executed. |
| 123 '<(PRODUCT_DIR)/dart-sdk/README', | 127 '<(PRODUCT_DIR)/dart-sdk/README', |
| 124 | 128 |
| 129 # Ensure the packages directory is built first. |
| 130 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
| 131 |
| 125 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "src"])', | 132 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "src"])', |
| 126 ], | 133 ], |
| 127 'outputs': [ | 134 'outputs': [ |
| 128 '<(SHARED_INTERMEDIATE_DIR)/compiler_isolate.dart.js', | 135 '<(SHARED_INTERMEDIATE_DIR)/compiler_isolate.dart.js', |
| 129 ], | 136 ], |
| 130 'action': [ | 137 'action': [ |
| 131 '<(PRODUCT_DIR)/dart-sdk/bin/dart2js<(script_suffix)', | 138 '<(PRODUCT_DIR)/dart-sdk/bin/dart2js<(script_suffix)', |
| 132 '-p../../sdk/lib/_internal/', | 139 '-p<(PRODUCT_DIR)/packages/', |
| 133 '-Denable_ir=false', | 140 '-Denable_ir=false', |
| 134 '--show-package-warnings', | 141 '--show-package-warnings', |
| 135 '--trust-type-annotations', | 142 '--trust-type-annotations', |
| 136 'src/compiler_isolate.dart', | 143 'src/compiler_isolate.dart', |
| 137 '-o<(SHARED_INTERMEDIATE_DIR)/compiler_isolate.dart.js', | 144 '-o<(SHARED_INTERMEDIATE_DIR)/compiler_isolate.dart.js', |
| 138 ], | 145 ], |
| 139 }, | 146 }, |
| 140 { | 147 { |
| 141 'action_name': 'nossl_appcache', | 148 'action_name': 'nossl_appcache', |
| 142 'message': 'Creating nossl.appcache', | 149 'message': 'Creating nossl.appcache', |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 'files': [ | 192 'files': [ |
| 186 'app.yaml', | 193 'app.yaml', |
| 187 '<@(try_dart_static_files)', | 194 '<@(try_dart_static_files)', |
| 188 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache', | 195 '<(SHARED_INTERMEDIATE_DIR)/nossl.appcache', |
| 189 ], | 196 ], |
| 190 }, | 197 }, |
| 191 ], | 198 ], |
| 192 }, | 199 }, |
| 193 ], | 200 ], |
| 194 } | 201 } |
| OLD | NEW |