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

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

Issue 2509453002: When building app snapshots for the SDK, train dart2js on itself. (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 | « runtime/bin/main.cc ('k') | no next file » | 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("../create_timestamp.gni") 6 import("../create_timestamp.gni")
7 import("../application_snapshot.gni") 7 import("../application_snapshot.gni")
8 8
9 create_timestamp_file("dart2js_files_stamp") { 9 create_timestamp_file("dart2js_files_stamp") {
10 path = rebase_path("../../pkg/compiler/lib") 10 path = rebase_path("../../pkg/compiler/lib")
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ] 55 ]
56 } 56 }
57 57
58 application_snapshot("dart2js") { 58 application_snapshot("dart2js") {
59 deps = [ 59 deps = [
60 ":dart2js_create_snapshot_entries", 60 ":dart2js_create_snapshot_entries",
61 ] 61 ]
62 main_dart = "$root_gen_dir/dart2js.dart" 62 main_dart = "$root_gen_dir/dart2js.dart"
63 training_args = [ 63 training_args = [
64 "--library-root=" + rebase_path("../../sdk"), 64 "--library-root=" + rebase_path("../../sdk"),
65 rebase_path("../../tests/language/first_test.dart"), 65 "--categories=all",
66 rebase_path("$root_gen_dir/dart2js.dart"),
66 ] 67 ]
67 } 68 }
68 69
69 application_snapshot("utils_wrapper") { 70 application_snapshot("utils_wrapper") {
70 deps = [ 71 deps = [
71 ":dart2js_create_snapshot_entries", 72 ":dart2js_create_snapshot_entries",
72 ] 73 ]
73 main_dart = "$root_gen_dir/utils_wrapper.dart" 74 main_dart = "$root_gen_dir/utils_wrapper.dart"
74 training_args = [ "--help" ] 75 training_args = [ "--help" ]
75 } 76 }
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698