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

Unified Diff: runtime/vm/BUILD.gn

Issue 2924173005: [fuchsia] Prepare for setting the Dart target architecture appropriately in the host binaries. (Closed)
Patch Set: format 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
« no previous file with comments | « runtime/observatory/BUILD.gn ('k') | utils/application_snapshot.gni » ('j') | 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 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 = [ ".." ]
« no previous file with comments | « runtime/observatory/BUILD.gn ('k') | utils/application_snapshot.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698