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

Unified Diff: runtime/vm/BUILD.gn

Issue 2385643004: Enables GN build on windows (Closed)
Patch Set: Add .gitignore for build 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: runtime/vm/BUILD.gn
diff --git a/runtime/vm/BUILD.gn b/runtime/vm/BUILD.gn
index 1bbdea229b7de3fea4689656113757bd318eade4..01dd5e9d918ceb486f1851123ecf55205af95136 100644
--- a/runtime/vm/BUILD.gn
+++ b/runtime/vm/BUILD.gn
@@ -3,23 +3,25 @@
# BSD-style license that can be found in the LICENSE file.
config("libdart_vm_config") {
- # TODO(zra, jamesr): This check can go away after some problems with the
- # fuchsia toolchain definition are fixed.
- if (!defined(is_fuchsia) || !is_fuchsia) {
- libs = [ "dl" ]
-
- if (!is_android) {
- libs += [ "pthread" ]
-
- if (is_linux) {
- libs += [ "rt" ]
- }
- }
- } else {
+ if (defined(is_fuchsia) && is_fuchsia) {
libs = [
"magenta",
"runtime",
]
+ } else if (is_win) {
+ libs = [
+ "advapi32.lib",
+ "shell32.lib",
+ "dbghelp.lib",
+ ]
+ } else {
+ libs = [ "dl" ]
+ if (!is_android) {
+ libs += [ "pthread"]
+ }
+ if (is_linux) {
+ libs += [ "rt" ]
+ }
}
}
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | tools/find_depot_tools.py » ('j') | utils/invoke_dart.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698