forked from firka/flutter
Roll dart to pick up change where platform.dill was removed (flutter/engine#4180)
* Roll dart to pick up change where platform.dill was removed * Fix flutter patch sdk generation * Update license hash. No changes to license text. * Roll dart to pick up a fix for zero-rebuild problem * Update license hash
This commit is contained in:
committed by
GitHub
parent
75067b5519
commit
1ede0f7c9f
@@ -322,9 +322,12 @@ template("generate_vm_patched_sdk") {
|
||||
# libraries.
|
||||
generate_patched_sdk(target_name) {
|
||||
mode = "flutter"
|
||||
deps = concatenation_target_names + ["//dart/runtime/vm:patched_sdk"]
|
||||
deps = concatenation_target_names + ["//dart/runtime/vm:kernel_platform_files"]
|
||||
input_patches_dir = "$target_gen_dir/patches"
|
||||
patched_sdk_dir = "flutter_patched_sdk"
|
||||
outputs = [
|
||||
"$root_out_dir/${patched_sdk_dir}/lib/libraries.json",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -387,3 +390,36 @@ generate_vm_patched_sdk("flutter_patched_sdk") {
|
||||
],
|
||||
]
|
||||
}
|
||||
|
||||
action("compile_platform") {
|
||||
script = "//dart/tools/compile_platform.py"
|
||||
|
||||
sources = [
|
||||
"$root_out_dir/flutter_patched_sdk/lib/libraries.json",
|
||||
]
|
||||
|
||||
outputs = [
|
||||
"$root_out_dir/flutter_patched_sdk/platform.dill",
|
||||
"$root_out_dir/flutter_patched_sdk/vm_outline.dill",
|
||||
]
|
||||
|
||||
inputs = []
|
||||
|
||||
deps = [
|
||||
":flutter_patched_sdk",
|
||||
]
|
||||
|
||||
depfile = "$root_out_dir/flutter_patched_sdk/platform.dill.d"
|
||||
|
||||
args = [
|
||||
"--target=flutter",
|
||||
"dart:core"
|
||||
] + rebase_path(sources, root_build_dir) +
|
||||
rebase_path(outputs, root_build_dir)
|
||||
}
|
||||
|
||||
group("kernel_platform_files") {
|
||||
public_deps = [
|
||||
":compile_platform",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user