| OLD | NEW |
| 1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2016, 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 import("../../build/compiled_action.gni") | 5 import("../../build/compiled_action.gni") |
| 6 import("../../build/prebuilt_dart_sdk.gni") | |
| 7 import("../../utils/generate_patch_sdk.gni") | |
| 8 import("../create_timestamp.gni") | 6 import("../create_timestamp.gni") |
| 9 import("../application_snapshot.gni") | 7 import("../application_snapshot.gni") |
| 10 | 8 |
| 11 create_timestamp_file("dart2js_files_stamp") { | 9 create_timestamp_file("dart2js_files_stamp") { |
| 12 path = rebase_path("../../pkg/compiler/lib") | 10 path = rebase_path("../../pkg/compiler/lib") |
| 13 output = "$target_gen_dir/dart2js_files.stamp" | 11 output = "$target_gen_dir/dart2js_files.stamp" |
| 14 } | 12 } |
| 15 | 13 |
| 16 create_timestamp_file("runtime_lib_files_stamp") { | 14 create_timestamp_file("runtime_lib_files_stamp") { |
| 17 path = rebase_path("../../runtime/lib") | 15 path = rebase_path("../../runtime/lib") |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 ] | 68 ] |
| 71 } | 69 } |
| 72 | 70 |
| 73 application_snapshot("utils_wrapper") { | 71 application_snapshot("utils_wrapper") { |
| 74 deps = [ | 72 deps = [ |
| 75 ":dart2js_create_snapshot_entries", | 73 ":dart2js_create_snapshot_entries", |
| 76 ] | 74 ] |
| 77 main_dart = "$target_gen_dir/utils_wrapper.dart" | 75 main_dart = "$target_gen_dir/utils_wrapper.dart" |
| 78 training_args = [ "--help" ] | 76 training_args = [ "--help" ] |
| 79 } | 77 } |
| 80 | |
| 81 generate_patched_sdk("patched_dart2js_sdk") { | |
| 82 mode = "dart2js" | |
| 83 deps = ["../../runtime/vm:patched_sdk"] | |
| 84 input_patches_dir = "../../sdk/lib/_internal/js_runtime/lib" | |
| 85 patched_sdk_dir = "patched_dart2js_sdk" | |
| 86 } | |
| OLD | NEW |