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

Unified Diff: runtime/observatory/BUILD.gn

Issue 2769893002: Make :embedded_observatory_archive compilable on Win for Flutter (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | 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 ca85f297088b11ff6be4cc65960dae733f024c87..6b35737f76d5c741c1c065050e1c2c15fef8f07d 100644
--- a/runtime/observatory/BUILD.gn
+++ b/runtime/observatory/BUILD.gn
@@ -19,7 +19,11 @@ declare_args() {
# built as part of the build to invoke pub. If this arg is set to a non-empty
# string, we assume that there is no need for dart_bootstrap. If it is set to
# "", then we assume that there may be a need for dart_bootstrap.
- dart_host_pub_exe = rebase_path("$dart_host_sdk/bin/pub")
+ if (defined(is_win) && is_win) {
+ dart_host_pub_exe = rebase_path("$dart_host_sdk/bin/pub.bat")
+ } else {
+ dart_host_pub_exe = rebase_path("$dart_host_sdk/bin/pub")
+ }
}
# We set this to "" in the Fuchsia build to force building with dart_bootstrap.
« 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