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

Unified Diff: utils/dartanalyzer/BUILD.gn

Issue 2442513003: GN: Build the SDK with app snapshots instead of script snapshots. (Closed)
Patch Set: . Created 4 years, 2 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
Index: utils/dartanalyzer/BUILD.gn
diff --git a/utils/dartanalyzer/BUILD.gn b/utils/dartanalyzer/BUILD.gn
index 8f19b1ac575a1b5eab5b5b66f0aeff6c893d488d..91281680ac1bbf3d90ef8cda2d52301ea1bdc456 100644
--- a/utils/dartanalyzer/BUILD.gn
+++ b/utils/dartanalyzer/BUILD.gn
@@ -18,6 +18,10 @@ analyzer_files = exec_script("../../tools/list_dart_files.py",
application_snapshot("generate_dartanalyzer_snapshot") {
main_dart = "../../pkg/analyzer_cli/bin/analyzer.dart"
+ training_args = [
+ "--dart-sdk=" + rebase_path("../../sdk"),
+ rebase_path("../../tests/language/first_test.dart")
+ ]
name = "dartanalyzer"
cli_files = exec_script("../../tools/list_dart_files.py",
[rebase_path("../../pkg/analyzer_cli")],

Powered by Google App Engine
This is Rietveld 408576698