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

Unified Diff: runtime/vm/BUILD.gn

Issue 2149953003: [fuchsia] GN build support for Fuchsia OS and fuchsia_test target (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/sdk/@master
Patch Set: also set TARGET_OS_FUCHSIA Created 4 years, 5 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 | « runtime/platform/globals.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/BUILD.gn
diff --git a/runtime/vm/BUILD.gn b/runtime/vm/BUILD.gn
index f1c2da469a22a47e69d45326d966c4d821eae6da..719df4dccaecc0bab37e55d63002dec13f1838b0 100644
--- a/runtime/vm/BUILD.gn
+++ b/runtime/vm/BUILD.gn
@@ -3,15 +3,15 @@
# BSD-style license that can be found in the LICENSE file.
config("libdart_vm_config") {
- libs = [
- "dl",
- ]
+ if (!is_fuchsia) {
+ libs = [ "dl" ]
- if (!is_android) {
- libs += [ "pthread" ]
+ if (!is_android) {
+ libs += [ "pthread" ]
- if (is_linux) {
- libs += [ "rt" ]
+ if (is_linux) {
+ libs += [ "rt" ]
+ }
}
}
}
« no previous file with comments | « runtime/platform/globals.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698