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

Unified Diff: runtime/bin/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/BUILD.gn ('k') | runtime/platform/globals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/BUILD.gn
diff --git a/runtime/bin/BUILD.gn b/runtime/bin/BUILD.gn
index bff1387bb54f433cbaa90227fa1be7f04818c298..0868b4a4a69304365288da21a27bc4d9b57b7a9e 100644
--- a/runtime/bin/BUILD.gn
+++ b/runtime/bin/BUILD.gn
@@ -5,7 +5,10 @@
declare_args() {
dart_io_support = false
- dart_boringssl_path = "../../third_party/boringssl"
+
+ if (!is_fuchsia) {
+ dart_boringssl_path = "../../third_party/boringssl"
+ }
}
@@ -207,6 +210,7 @@ static_library("libdart_nosnapshot_with_precompiler") {
]
}
+if (!is_fuchsia) {
executable("gen_snapshot") {
configs += ["..:dart_config",
@@ -355,3 +359,22 @@ source_set("embedded_dart_io") {
"//third_party"
]
}
+} # !is_fuchsia
+
+if (is_fuchsia) {
+ executable("fuchsia_test") {
+ sources = [
+ "fuchsia_test.cc",
+ "log_fuchsia.cc",
+ ]
+
+ include_dirs = [
+ "..",
+ "../include"
+ ]
+
+ deps = [
+ ":libdart_nosnapshot"
+ ]
+ }
+}
« no previous file with comments | « runtime/BUILD.gn ('k') | runtime/platform/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698