mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
[fuchsia] Make symbols in the Dart VM visible, so they are available to the profiler.
R=zra@google.com Review-Url: https://codereview.chromium.org/2946123002 .
This commit is contained in:
parent
e981c6fdbc
commit
dd996fc4be
4 changed files with 63 additions and 1 deletions
|
@ -205,6 +205,9 @@ template("libdart_library") {
|
|||
":dart_config",
|
||||
":dart_maybe_product_config",
|
||||
] + extra_configs
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
deps = [
|
||||
"vm:libdart_platform",
|
||||
"third_party/double-conversion/src:libdouble_conversion",
|
||||
|
@ -312,6 +315,9 @@ executable("libdart_dependency_helper") {
|
|||
":dart_config",
|
||||
":dart_maybe_product_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
deps = [
|
||||
"third_party/double-conversion/src:libdouble_conversion",
|
||||
"vm:libdart_lib_jit",
|
||||
|
|
|
@ -237,6 +237,9 @@ static_library("libdart_builtin") {
|
|||
"..:dart_config",
|
||||
"..:dart_maybe_product_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
public_configs = [ ":libdart_builtin_config" ]
|
||||
deps = [
|
||||
":generate_blink_cc_file",
|
||||
|
@ -276,6 +279,9 @@ executable("gen_snapshot") {
|
|||
"..:dart_precompiler_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
deps = [
|
||||
":gen_resources_cc",
|
||||
":gen_snapshot_dart_io",
|
||||
|
@ -344,6 +350,9 @@ source_set("gen_snapshot_dart_io") {
|
|||
"..:dart_maybe_product_config",
|
||||
"..:dart_precompiler_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
|
||||
deps = [
|
||||
"$dart_zlib_path",
|
||||
|
@ -390,6 +399,9 @@ template("dart_io") {
|
|||
"..:dart_config",
|
||||
"..:dart_maybe_product_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
custom_sources_filter = [
|
||||
"*_test.cc",
|
||||
"*_test.h",
|
||||
|
@ -605,7 +617,9 @@ template("dart_executable") {
|
|||
"..:dart_config",
|
||||
"..:dart_maybe_product_config",
|
||||
] + extra_configs
|
||||
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
if (defined(is_fuchsia_host) && is_fuchsia_host) {
|
||||
# We already have these in the standalone build, but Fuchsia doesn't
|
||||
# have them. They are needed for running Fuchsia binaries built for the
|
||||
|
@ -854,6 +868,9 @@ executable("run_vm_tests") {
|
|||
"..:dart_maybe_product_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
|
||||
deps = [
|
||||
":dart_snapshot_cc",
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
static_library("libdouble_conversion") {
|
||||
configs += [ "../../..:dart_config" ]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
sources = [
|
||||
"bignum-dtoa.cc",
|
||||
"bignum-dtoa.h",
|
||||
|
|
|
@ -33,6 +33,9 @@ static_library("libdart_platform") {
|
|||
"..:dart_config",
|
||||
"..:dart_maybe_product_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
public_configs = [ ":libdart_vm_config" ]
|
||||
|
||||
sources = rebase_path(processed_gypis.platform_sources, ".", "../platform")
|
||||
|
@ -48,6 +51,9 @@ static_library("libdart_vm_jit") {
|
|||
"..:dart_maybe_product_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
public_configs = [ ":libdart_vm_config" ]
|
||||
set_sources_assignment_filter([
|
||||
"*_test.cc",
|
||||
|
@ -64,6 +70,9 @@ static_library("libdart_vm_precompiled_runtime") {
|
|||
"..:dart_precompiled_runtime_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
public_configs = [ ":libdart_vm_config" ]
|
||||
set_sources_assignment_filter([
|
||||
"*_test.cc",
|
||||
|
@ -80,6 +89,9 @@ static_library("libdart_vm_nosnapshot") {
|
|||
"..:dart_no_snapshot_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
public_configs = [ ":libdart_vm_config" ]
|
||||
set_sources_assignment_filter([
|
||||
"*_test.cc",
|
||||
|
@ -97,6 +109,9 @@ static_library("libdart_vm_nosnapshot_with_precompiler") {
|
|||
"..:dart_no_snapshot_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
public_configs = [ ":libdart_vm_config" ]
|
||||
set_sources_assignment_filter([
|
||||
"*_test.cc",
|
||||
|
@ -113,6 +128,9 @@ static_library("libdart_vm_nosnapshot_with_precompiler_host_arch") {
|
|||
"..:dart_precompiler_config",
|
||||
"..:dart_no_snapshot_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
public_configs = [ ":libdart_vm_config" ]
|
||||
set_sources_assignment_filter([
|
||||
"*_test.cc",
|
||||
|
@ -129,6 +147,9 @@ static_library("libdart_vm_with_precompiler") {
|
|||
"..:dart_precompiler_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
public_configs = [ ":libdart_vm_config" ]
|
||||
set_sources_assignment_filter([
|
||||
"*_test.cc",
|
||||
|
@ -240,6 +261,9 @@ template("generate_core_libraries") {
|
|||
"..:dart_precompiler_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
deps = libdeps
|
||||
sources = all_libsources + [ "bootstrap.cc" ] + liboutputs
|
||||
include_dirs = [ ".." ]
|
||||
|
@ -251,6 +275,9 @@ template("generate_core_libraries") {
|
|||
"..:dart_maybe_product_config",
|
||||
"..:dart_precompiler_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
deps = libdeps
|
||||
sources = all_libsources + [ "bootstrap.cc" ] + liboutputs
|
||||
include_dirs = [ ".." ]
|
||||
|
@ -263,6 +290,9 @@ template("generate_core_libraries") {
|
|||
"..:dart_precompiler_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
deps = libdeps
|
||||
sources = all_libsources + [ "bootstrap_nocore.cc" ]
|
||||
include_dirs = [ ".." ]
|
||||
|
@ -274,6 +304,9 @@ template("generate_core_libraries") {
|
|||
"..:dart_maybe_product_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
sources = all_libsources + [ "bootstrap_nocore.cc" ]
|
||||
include_dirs = [ ".." ]
|
||||
}
|
||||
|
@ -285,6 +318,9 @@ template("generate_core_libraries") {
|
|||
"..:dart_precompiled_runtime_config",
|
||||
"..:dart_use_target_arch_config",
|
||||
]
|
||||
if (is_fuchsia) {
|
||||
configs -= [ "//build/config:symbol_visibility_hidden" ]
|
||||
}
|
||||
sources = all_libsources + [ "bootstrap_nocore.cc" ]
|
||||
include_dirs = [ ".." ]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue