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

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

Issue 2707023002: Train ddc snapshot on itself (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | 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("../application_snapshot.gni") 5 import("../application_snapshot.gni")
6 6
7 application_snapshot("dartdevc") { 7 application_snapshot("dartdevc") {
8 main_dart = "../../pkg/dev_compiler/bin/dartdevc.dart" 8 main_dart = "../../pkg/dev_compiler/bin/dartdevc.dart"
9 training_args = [ 9 training_args = [
10 "--dart-sdk", 10 "--dart-sdk",
11 rebase_path("../../sdk"), 11 rebase_path("../../sdk"),
12 "--dart-sdk-summary", 12 "--dart-sdk-summary",
13 rebase_path("../../pkg/dev_compiler/lib/sdk/ddc_sdk.sum"), 13 rebase_path("../../pkg/dev_compiler/lib/sdk/ddc_sdk.sum"),
14 "--help", 14 "--library-root",
15 rebase_path("../../pkg/dev_compiler/"),
16 "--unsafe-force-compile",
Jacob 2017/02/21 15:28:52 random idea: can we train it on some large existin
17 "-o",
18 "out.js",
19 "../../pkg/dev_compiler/bin/dartdevc.dart",
15 ] 20 ]
16 inputs = exec_script("../../tools/list_dart_files.py", 21 inputs = exec_script("../../tools/list_dart_files.py",
17 [ "absolute", 22 [ "absolute",
18 rebase_path("../../pkg/dev_compiler/bin") ], 23 rebase_path("../../pkg/dev_compiler/bin") ],
19 "list lines") 24 "list lines")
20 } 25 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698