[build] Remove unnecessary inputs from uses of application_snapshot.
These dependencies are tracked via a depfile generated along with the snapshot. Change-Id: I4245a982212a5aff28aea8456d0219808df54af0 Reviewed-on: https://dart-review.googlesource.com/51245 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
9968728df1
commit
61b15fede8
@@ -27,25 +27,11 @@ application_snapshot("generate_dartanalyzer_snapshot") {
|
||||
rebase_path("../../tests/language/first_test.dart"),
|
||||
]
|
||||
name = "dartanalyzer"
|
||||
cli_files = exec_script("../../tools/list_dart_files.py",
|
||||
[
|
||||
"absolute",
|
||||
rebase_path("../../pkg/analyzer_cli"),
|
||||
],
|
||||
"list lines")
|
||||
inputs = cli_files + analyzer_files
|
||||
}
|
||||
|
||||
aot_assembly("dartanalyzer_aot_assembly") {
|
||||
main_dart = "../../pkg/analyzer_cli/bin/analyzer.dart"
|
||||
name = "dartanalyzer"
|
||||
cli_files = exec_script("../../tools/list_dart_files.py",
|
||||
[
|
||||
"absolute",
|
||||
rebase_path("../../pkg/analyzer_cli"),
|
||||
],
|
||||
"list lines")
|
||||
inputs = cli_files + analyzer_files
|
||||
}
|
||||
|
||||
# This target is for Goma. It should not be used in the SDK.
|
||||
|
||||
+2
-14
@@ -30,13 +30,7 @@ application_snapshot("dartdevc") {
|
||||
":dartdevc_sdk",
|
||||
]
|
||||
|
||||
inputs = exec_script("../../tools/list_dart_files.py",
|
||||
[
|
||||
"absolute",
|
||||
rebase_path("../../pkg/dev_compiler/bin"),
|
||||
],
|
||||
"list lines")
|
||||
inputs += [ sdk_summary ]
|
||||
inputs = [ sdk_summary ]
|
||||
}
|
||||
|
||||
application_snapshot("dartdevk") {
|
||||
@@ -55,13 +49,7 @@ application_snapshot("dartdevk") {
|
||||
":dartdevc_sdk_kernel_summary",
|
||||
]
|
||||
|
||||
inputs = exec_script("../../tools/list_dart_files.py",
|
||||
[
|
||||
"absolute",
|
||||
rebase_path("../../pkg/dev_compiler/bin"),
|
||||
],
|
||||
"list lines")
|
||||
inputs += [ sdk_dill ]
|
||||
inputs = [ sdk_dill ]
|
||||
}
|
||||
|
||||
sdk_lib_files = exec_script("../../tools/list_dart_files.py",
|
||||
|
||||
@@ -7,8 +7,4 @@ import("../application_snapshot.gni")
|
||||
application_snapshot("dartdoc") {
|
||||
main_dart = "../../third_party/pkg/dartdoc/bin/dartdoc.dart"
|
||||
training_args = [ "--help" ]
|
||||
inputs = exec_script("../../tools/list_dart_files.py",
|
||||
[ "absolute",
|
||||
rebase_path("../../third_party/pkg/dartdoc") ],
|
||||
"list lines")
|
||||
}
|
||||
|
||||
@@ -7,9 +7,4 @@ import("../application_snapshot.gni")
|
||||
application_snapshot("dartfmt") {
|
||||
main_dart = "../../third_party/pkg_tested/dart_style/bin/format.dart"
|
||||
training_args = [ "--help" ]
|
||||
inputs =
|
||||
exec_script("../../tools/list_dart_files.py",
|
||||
[ "absolute",
|
||||
rebase_path("../../third_party/pkg_tested/dart_style") ],
|
||||
"list lines")
|
||||
}
|
||||
|
||||
@@ -7,12 +7,4 @@ import("../application_snapshot.gni")
|
||||
application_snapshot("pub") {
|
||||
main_dart = "../../third_party/pkg/pub/bin/pub.dart"
|
||||
training_args = [ "--help" ]
|
||||
deps = [
|
||||
"../compiler:dart2js_files_stamp",
|
||||
]
|
||||
dart2js_gen_dir =
|
||||
get_label_info("../compiler:dart2js_files_stamp", "target_gen_dir")
|
||||
inputs = [
|
||||
"$dart2js_gen_dir/dart2js_files.stamp",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user