Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: utils/compiler/BUILD.gn

Issue 2832353002: Add support for building patched_sdk and platform.dill for dart2js: (Closed)
Patch Set: fix .gn circularity by removing use of rebase_path Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/patch_sdk.dart ('k') | utils/generate_patch_sdk.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « tools/patch_sdk.dart ('k') | utils/generate_patch_sdk.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698