[build] Honor dart_lib_export_symbols GN variable in the ELF loader.

Cf. 3a5a7106ee

TEST=flutter
Change-Id: Ib331b1a7b84ef530d62302b6cfbf1ab7fb025ec1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/325960
Reviewed-by: Jason Simmons <jsimmons@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak 2023-09-13 21:04:28 +00:00 committed by Commit Queue
parent 01653dc009
commit b888c55033

View file

@ -144,14 +144,11 @@ template("build_elf_loader") {
configs += [
"..:dart_arch_config",
"..:dart_config",
"..:dart_product_config",
"..:dart_os_fuchsia_config",
"..:dart_product_config",
"..:dart_shared_lib",
]
include_dirs = [ ".." ]
defines = [
# The only effect of DART_SHARED_LIB is to export the Dart API.
"DART_SHARED_LIB",
]
sources = [
"elf_loader.cc",
"elf_loader.h",