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") |
6 import("../create_timestamp.gni") | 8 import("../create_timestamp.gni") |
7 import("../application_snapshot.gni") | 9 import("../application_snapshot.gni") |
8 | 10 |
9 create_timestamp_file("dart2js_files_stamp") { | 11 create_timestamp_file("dart2js_files_stamp") { |
10 path = rebase_path("../../pkg/compiler/lib") | 12 path = rebase_path("../../pkg/compiler/lib") |
11 output = "$target_gen_dir/dart2js_files.stamp" | 13 output = "$target_gen_dir/dart2js_files.stamp" |
12 } | 14 } |
13 | 15 |
14 create_timestamp_file("runtime_lib_files_stamp") { | 16 create_timestamp_file("runtime_lib_files_stamp") { |
15 path = rebase_path("../../runtime/lib") | 17 path = rebase_path("../../runtime/lib") |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 ] | 70 ] |
69 } | 71 } |
70 | 72 |
71 application_snapshot("utils_wrapper") { | 73 application_snapshot("utils_wrapper") { |
72 deps = [ | 74 deps = [ |
73 ":dart2js_create_snapshot_entries", | 75 ":dart2js_create_snapshot_entries", |
74 ] | 76 ] |
75 main_dart = "$target_gen_dir/utils_wrapper.dart" | 77 main_dart = "$target_gen_dir/utils_wrapper.dart" |
76 training_args = [ "--help" ] | 78 training_args = [ "--help" ] |
77 } | 79 } |
| 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 |