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

Unified Diff: utils/dartdevc/BUILD.gn

Issue 2836483002: Snapshot DDC trained on itself (Closed)
Patch Set: Test/fix for windows Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/compiler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/dartdevc/BUILD.gn
diff --git a/utils/dartdevc/BUILD.gn b/utils/dartdevc/BUILD.gn
index ba51ab4eed24cb2c63a131a29e4c57baa0ded2e6..6eacb96cb857c29e0f294318352d6b6626d41edf 100644
--- a/utils/dartdevc/BUILD.gn
+++ b/utils/dartdevc/BUILD.gn
@@ -5,16 +5,20 @@
import("../application_snapshot.gni")
application_snapshot("dartdevc") {
- main_dart = "../../pkg/dev_compiler/bin/dartdevc.dart"
+ main_dart = "//pkg/dev_compiler/bin/dartdevc.dart"
training_args = [
"--dart-sdk",
- rebase_path("../../sdk"),
+ rebase_path("//sdk"),
"--dart-sdk-summary",
- rebase_path("../../pkg/dev_compiler/lib/sdk/ddc_sdk.sum"),
- "--help",
+ rebase_path("//pkg/dev_compiler/lib/sdk/ddc_sdk.sum"),
+ "--library-root",
+ rebase_path("//pkg/dev_compiler"),
+ "-o",
+ "dartdevc.js",
+ rebase_path("//pkg/dev_compiler/bin/dartdevc.dart"),
]
inputs = exec_script("../../tools/list_dart_files.py",
[ "absolute",
- rebase_path("../../pkg/dev_compiler/bin") ],
+ rebase_path("//pkg/dev_compiler/bin") ],
Bob Nystrom 2017/04/21 22:43:41 I like the way absolute paths in GN files look too
vsm 2017/04/21 23:20:32 Done.
"list lines")
}
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698