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

Unified Diff: build/executable_suffix.gni

Issue 2493833002: GN: Don't depend on dart_bootstrap if there is a usable prebuilt sdk (Closed)
Patch Set: Created 4 years, 1 month 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 | build/gn_run_binary.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/executable_suffix.gni
diff --git a/utils/analysis_server/BUILD.gn b/build/executable_suffix.gni
similarity index 57%
copy from utils/analysis_server/BUILD.gn
copy to build/executable_suffix.gni
index 032a086d71eea777e9d9e9a3d6e3fc7d1f5dd6e9..e2b0dd8fae2d7d092719ae242ea4576203114d51 100644
--- a/utils/analysis_server/BUILD.gn
+++ b/build/executable_suffix.gni
@@ -2,9 +2,8 @@
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
-import("../invoke_dart.gni")
-
-application_snapshot("analysis_server") {
- main_dart = "../../pkg/analysis_server/bin/server.dart"
- training_args = [ "--help" ]
+if (defined(is_win) && is_win) {
+ executable_suffix = ".exe"
+} else {
+ executable_suffix = ""
}
« no previous file with comments | « no previous file | build/gn_run_binary.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698