[vm] Build elf_loader and crashpad with correct TARGET_OS

Previously they were built with TARGET_OS_FUCHSIA regardless of target OS.

TEST=ci

Change-Id: I53e95bb61c3926334e861ed56ceb3ea018e7bf1a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/347202
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Alexander Markov 2024-01-22 18:12:41 +00:00 committed by Commit Queue
parent a8b48d3e2c
commit 3545ce4966

View file

@ -120,7 +120,7 @@ static_library("crashpad") {
"..:dart_arch_config",
"..:dart_config",
"..:dart_product_config",
"..:dart_os_fuchsia_config",
"..:dart_os_config",
]
include_dirs = [ ".." ]
sources = [ "crashpad.cc" ]
@ -144,7 +144,7 @@ template("build_elf_loader") {
configs += [
"..:dart_arch_config",
"..:dart_config",
"..:dart_os_fuchsia_config",
"..:dart_os_config",
"..:dart_product_config",
"..:dart_shared_lib",
]