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

Unified Diff: runtime/observatory/BUILD.gn

Issue 1664403002: Fix unnecessary Observatory rebuilds in Flutter (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/observatory/observatory.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/BUILD.gn
diff --git a/runtime/observatory/BUILD.gn b/runtime/observatory/BUILD.gn
index a4a76ee5a630a0dc8598025a242135193625ff98..98cfe319f5ef525912382acc0242a38f90321ebb 100644
--- a/runtime/observatory/BUILD.gn
+++ b/runtime/observatory/BUILD.gn
@@ -77,6 +77,8 @@ action("copy_observatory_deps") {
"--silent=True",
"--pub-executable",
dart_host_pub_exe,
+ "--stamp",
+ rebase_path("$root_gen_dir/observatory_copy/dart/runtime/observatory/packages.stamp"),
"--directory",
rebase_path("$root_gen_dir/observatory_copy/dart/runtime/observatory/"),
"--command",
@@ -84,7 +86,7 @@ action("copy_observatory_deps") {
]
outputs = [
- "$root_gen_dir/observatory_copy/dart/runtime/observatory/pubspec.lock",
+ "$root_gen_dir/observatory_copy/dart/runtime/observatory/packages.stamp",
]
}
@@ -103,6 +105,7 @@ action("pub_build_observatory") {
inputs = [
script,
+ "$root_gen_dir/observatory_copy/dart/runtime/observatory/packages.stamp",
]
inputs += sources
@@ -118,7 +121,6 @@ action("pub_build_observatory") {
]
outputs = [
- "$root_out_dir/observatory/build/web/index.html",
"$root_out_dir/observatory/build/web/index.html.polymer.bootstrap.dart.js",
]
}
@@ -132,7 +134,6 @@ action("deploy_observatory") {
inputs = [
script,
- "$root_out_dir/observatory/build/web/index.html",
"$root_out_dir/observatory/build/web/index.html.polymer.bootstrap.dart.js",
]
@@ -147,7 +148,6 @@ action("deploy_observatory") {
]
outputs = [
- "$root_out_dir/observatory/deployed/web/index.html",
"$root_out_dir/observatory/deployed/web/index.html.polymer.bootstrap.dart.js",
]
}
@@ -161,7 +161,6 @@ action("archive_observatory") {
inputs = [
script,
- "$root_out_dir/observatory/deployed/web/index.html",
"$root_out_dir/observatory/deployed/web/index.html.polymer.bootstrap.dart.js",
]
« no previous file with comments | « no previous file | runtime/observatory/observatory.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698