Skip to content

Commit 0d40669

Browse files
rmacnak-googleCommit Queue
authored andcommitted
[build] Also duplicate platform files under root_out_dir temporarily for Golem.
Change-Id: I28f529ea55e678f253cf45f7e3f42a8b63e1e594 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435260 Reviewed-by: Alexander Aprelev <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
1 parent 77d75fc commit 0d40669

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

BUILD.gn

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ group("most") {
3232
]
3333
}
3434

35+
# Delete this after Golem moves to vm_platform.dill.
36+
copy("copy_vm_strong_dill_files") {
37+
deps = [ "runtime/vm:kernel_platform_files($host_toolchain)" ]
38+
sources = [ "$root_out_dir/vm_platform.dill" ]
39+
outputs = [ "$root_out_dir/vm_platform_strong.dill" ]
40+
}
41+
copy("copy_vm_strong_outline_files") {
42+
deps = [ "runtime/vm:kernel_platform_files($host_toolchain)" ]
43+
sources = [ "$root_out_dir/vm_outline.dill" ]
44+
outputs = [ "$root_out_dir/vm_outline_strong.dill" ]
45+
}
46+
3547
group("runtime") {
3648
import("runtime/runtime_args.gni")
3749

@@ -41,6 +53,8 @@ group("runtime") {
4153
}
4254

4355
deps = [
56+
":copy_vm_strong_dill_files",
57+
":copy_vm_strong_outline_files",
4458
"runtime/bin:dart",
4559
"runtime/bin:ffi_test_dynamic_library",
4660
"runtime/bin:ffi_test_functions",

0 commit comments

Comments
 (0)