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

Unified Diff: runtime/vm/BUILD.gn

Issue 2937503003: Reapply "[fuchsia] Prepare for setting the Dart target architecture appropriately in the host binar… (Closed)
Patch Set: Created 3 years, 6 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 34f1c89f20afc75efac2d3fe2c358befc3b91e62..0c16e3cabac2f498d990eac35f946614f71deb64 100644
--- a/runtime/vm/BUILD.gn
+++ b/runtime/vm/BUILD.gn
@@ -46,6 +46,7 @@ static_library("libdart_vm_jit") {
configs += [
"..:dart_config",
"..:dart_maybe_product_config",
+ "..:dart_use_target_arch_config",
]
public_configs = [ ":libdart_vm_config" ]
set_sources_assignment_filter([
@@ -61,6 +62,7 @@ static_library("libdart_vm_precompiled_runtime") {
"..:dart_config",
"..:dart_maybe_product_config",
"..:dart_precompiled_runtime_config",
+ "..:dart_use_target_arch_config",
]
public_configs = [ ":libdart_vm_config" ]
set_sources_assignment_filter([
@@ -76,6 +78,7 @@ static_library("libdart_vm_nosnapshot") {
"..:dart_config",
"..:dart_maybe_product_config",
"..:dart_no_snapshot_config",
+ "..:dart_use_target_arch_config",
]
public_configs = [ ":libdart_vm_config" ]
set_sources_assignment_filter([
@@ -87,6 +90,23 @@ static_library("libdart_vm_nosnapshot") {
}
static_library("libdart_vm_nosnapshot_with_precompiler") {
+ configs += [
+ "..:dart_config",
+ "..:dart_maybe_product_config",
+ "..:dart_precompiler_config",
+ "..:dart_no_snapshot_config",
+ "..:dart_use_target_arch_config",
+ ]
+ public_configs = [ ":libdart_vm_config" ]
+ set_sources_assignment_filter([
+ "*_test.cc",
+ "*_test.h",
+ ])
+ sources = vm_sources_list
+ include_dirs = [ ".." ]
+}
+
+static_library("libdart_vm_nosnapshot_with_precompiler_host_arch") {
configs += [
"..:dart_config",
"..:dart_maybe_product_config",
@@ -107,6 +127,7 @@ static_library("libdart_vm_with_precompiler") {
"..:dart_config",
"..:dart_maybe_product_config",
"..:dart_precompiler_config",
+ "..:dart_use_target_arch_config",
]
public_configs = [ ":libdart_vm_config" ]
set_sources_assignment_filter([
@@ -213,6 +234,18 @@ template("generate_core_libraries") {
all_libsources = rebase_path(invoker.allsources, ".", "../lib")
static_library("libdart_lib_nosnapshot_with_precompiler") {
+ configs += [
+ "..:dart_config",
+ "..:dart_maybe_product_config",
+ "..:dart_precompiler_config",
+ "..:dart_use_target_arch_config",
+ ]
+ deps = libdeps
+ sources = all_libsources + [ "bootstrap.cc" ] + liboutputs
+ include_dirs = [ ".." ]
+ }
+
+ static_library("libdart_lib_nosnapshot_with_precompiler_host_arch") {
configs += [
"..:dart_config",
"..:dart_maybe_product_config",
@@ -228,6 +261,7 @@ template("generate_core_libraries") {
"..:dart_config",
"..:dart_maybe_product_config",
"..:dart_precompiler_config",
+ "..:dart_use_target_arch_config",
]
deps = libdeps
sources = all_libsources + [ "bootstrap_nocore.cc" ]
@@ -238,6 +272,7 @@ template("generate_core_libraries") {
configs += [
"..:dart_config",
"..:dart_maybe_product_config",
+ "..:dart_use_target_arch_config",
]
sources = all_libsources + [ "bootstrap_nocore.cc" ]
include_dirs = [ ".." ]
@@ -248,6 +283,7 @@ template("generate_core_libraries") {
"..:dart_config",
"..:dart_maybe_product_config",
"..:dart_precompiled_runtime_config",
+ "..:dart_use_target_arch_config",
]
sources = all_libsources + [ "bootstrap_nocore.cc" ]
include_dirs = [ ".." ]

Powered by Google App Engine
This is Rietveld 408576698