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

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

Issue 2493833002: GN: Don't depend on dart_bootstrap if there is a usable prebuilt sdk (Closed)
Patch Set: Created 4 years, 1 month 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 | « utils/application_snapshot.gni ('k') | utils/dartanalyzer/BUILD.gn » ('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("../create_timestamp.gni") 6 import("../create_timestamp.gni")
6 import("../invoke_dart.gni") 7 import("../application_snapshot.gni")
7 8
8 create_timestamp_file("dart2js_files_stamp") { 9 create_timestamp_file("dart2js_files_stamp") {
9 path = rebase_path("../../pkg/compiler/lib") 10 path = rebase_path("../../pkg/compiler/lib")
10 output = "$root_gen_dir/dart2js_files.stamp" 11 output = "$root_gen_dir/dart2js_files.stamp"
11 } 12 }
12 13
13 create_timestamp_file("runtime_lib_files_stamp") { 14 create_timestamp_file("runtime_lib_files_stamp") {
14 path = rebase_path("../../runtime/lib") 15 path = rebase_path("../../runtime/lib")
15 output = "$target_gen_dir/runtime_lib_files.stamp" 16 output = "$target_gen_dir/runtime_lib_files.stamp"
16 } 17 }
17 18
18 create_timestamp_file("dartdoc_files_stamp") { 19 create_timestamp_file("dartdoc_files_stamp") {
19 path = rebase_path("../../sdk/lib/_internal/dartdoc") 20 path = rebase_path("../../sdk/lib/_internal/dartdoc")
20 output = "$target_gen_dir/dartdoc_files.stamp" 21 output = "$target_gen_dir/dartdoc_files.stamp"
21 } 22 }
22 23
23 invoke_dart("dart2js_create_snapshot_entries") { 24 compiled_action("dart2js_create_snapshot_entries") {
25 tool = "../../runtime/bin:dart"
24 deps = [ 26 deps = [
25 ":dart2js_files_stamp", 27 ":dart2js_files_stamp",
26 ":dartdoc_files_stamp", 28 ":dartdoc_files_stamp",
27 ":runtime_lib_files_stamp", 29 ":runtime_lib_files_stamp",
28 ] 30 ]
29 31
30 dot_packages = rebase_path("../../.packages") 32 dot_packages = rebase_path("../../.packages")
31 create_snapshot_entry = rebase_path("create_snapshot_entry.dart") 33 create_snapshot_entry = rebase_path("create_snapshot_entry.dart")
32 output_dir = rebase_path(root_gen_dir) 34 output_dir = rebase_path(root_gen_dir)
33 35
(...skipping 30 matching lines...) Expand all
64 ] 66 ]
65 } 67 }
66 68
67 application_snapshot("utils_wrapper") { 69 application_snapshot("utils_wrapper") {
68 deps = [ 70 deps = [
69 ":dart2js_create_snapshot_entries", 71 ":dart2js_create_snapshot_entries",
70 ] 72 ]
71 main_dart = "$root_gen_dir/utils_wrapper.dart" 73 main_dart = "$root_gen_dir/utils_wrapper.dart"
72 training_args = [ "--help" ] 74 training_args = [ "--help" ]
73 } 75 }
OLDNEW
« no previous file with comments | « utils/application_snapshot.gni ('k') | utils/dartanalyzer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698