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

Unified Diff: runtime/bin/BUILD.gn

Issue 2571713004: Fuchsia: Allows building the full SDK for host and target. (Closed)
Patch Set: Created 4 years 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 | « BUILD.gn ('k') | runtime/vm/BUILD.gn » ('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 495d1176725dab7fb4d5743b4a93f7ca69c250c7..78159eeb825069991271c6a56f64c609b449b7d9 100644
--- a/runtime/bin/BUILD.gn
+++ b/runtime/bin/BUILD.gn
@@ -773,7 +773,7 @@ action("generate_snapshot_test_dat_file") {
}
executable("run_vm_tests") {
- if (defined(is_fuchsia) && is_fuchsia) {
+ if (defined(is_fuchsia) && (is_fuchsia || is_fuchsia_host)) {
testonly = true
}
@@ -824,44 +824,42 @@ executable("run_vm_tests") {
}
}
-if (!defined(is_fuchsia) || !is_fuchsia) {
- shared_library("test_extension") {
- deps = [
- ":dart",
- ]
- sources = [
- "test_extension.c",
- "test_extension_dllmain_win.cc",
- ]
- include_dirs = [ ".." ]
- defines = [
- # The only effect of DART_SHARED_LIB is to export the Dart API.
- "DART_SHARED_LIB",
- ]
- if (is_win) {
- libs = [ "dart.lib" ]
- abs_root_out_dir = rebase_path(root_out_dir)
- ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
- }
+shared_library("test_extension") {
+ deps = [
+ ":dart",
+ ]
+ sources = [
+ "test_extension.c",
+ "test_extension_dllmain_win.cc",
+ ]
+ include_dirs = [ ".." ]
+ defines = [
+ # The only effect of DART_SHARED_LIB is to export the Dart API.
+ "DART_SHARED_LIB",
+ ]
+ if (is_win) {
+ libs = [ "dart.lib" ]
+ abs_root_out_dir = rebase_path(root_out_dir)
+ ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
}
+}
- shared_library("sample_extension") {
- deps = [
- ":dart",
- ]
- sources = [
- "../../samples/sample_extension/sample_extension.cc",
- "../../samples/sample_extension/sample_extension_dllmain_win.cc",
- ]
- include_dirs = [ ".." ]
- defines = [
- # The only effect of DART_SHARED_LIB is to export the Dart API.
- "DART_SHARED_LIB",
- ]
- if (is_win) {
- libs = [ "dart.lib" ]
- abs_root_out_dir = rebase_path(root_out_dir)
- ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
- }
+shared_library("sample_extension") {
+ deps = [
+ ":dart",
+ ]
+ sources = [
+ "../../samples/sample_extension/sample_extension.cc",
+ "../../samples/sample_extension/sample_extension_dllmain_win.cc",
+ ]
+ include_dirs = [ ".." ]
+ defines = [
+ # The only effect of DART_SHARED_LIB is to export the Dart API.
+ "DART_SHARED_LIB",
+ ]
+ if (is_win) {
+ libs = [ "dart.lib" ]
+ abs_root_out_dir = rebase_path(root_out_dir)
+ ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
}
}
« no previous file with comments | « BUILD.gn ('k') | runtime/vm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698