Skip to content

Commit 5c1f5ca

Browse files
sstricklalexmarkov
authored andcommitted
[build] Re-add targets used by Flutter.
TEST=ci Cq-Include-Trybots: luci.dart.try:flutter-linux-try Change-Id: Ifd8412fdc74095ffb027e80c8217ce1b5804a607 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/432702 Reviewed-by: Alexander Markov <[email protected]> Auto-Submit: Tess Strickland <[email protected]>
1 parent ca95230 commit 5c1f5ca

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

runtime/bin/BUILD.gn

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,39 @@ static_library("crashpad") {
162162
}
163163
}
164164

165+
# Don't remove until no longer used by Flutter.
166+
template("build_elf_loader") {
167+
source_set(target_name) {
168+
configs += [
169+
"..:dart_arch_config",
170+
"..:dart_config",
171+
"..:dart_os_config",
172+
"..:dart_product_config",
173+
"..:dart_shared_lib",
174+
]
175+
include_dirs = [ ".." ]
176+
sources = [
177+
"elf_loader.cc",
178+
"elf_loader.h",
179+
"mappable.cc",
180+
"mappable.h",
181+
"virtual_memory.h",
182+
"virtual_memory_fuchsia.cc",
183+
"virtual_memory_posix.cc",
184+
"virtual_memory_win.cc",
185+
]
186+
deps = invoker.deps
187+
}
188+
}
189+
190+
build_elf_loader("elf_loader") {
191+
deps = [ ":libdart_builtin" ]
192+
}
193+
194+
build_elf_loader("elf_loader_product") {
195+
deps = [ ":libdart_builtin_product" ]
196+
}
197+
165198
template("build_shared_object_loaders") {
166199
source_set(target_name) {
167200
configs += [

0 commit comments

Comments
 (0)