Commit fbf9df58 authored by Adam Barth's avatar Adam Barth

Fix build issues related to symlink.py

There are actually two uses cases for symlink.py. This CL restores
//build/symlink.py to match the version in Chromium and adds a new version in
////sky/build/symlink.py that works properly for the material-design-icons.
parent f3d913c5
...@@ -125,8 +125,8 @@ dart_pkg("sky") { ...@@ -125,8 +125,8 @@ dart_pkg("sky") {
} }
action("material_design_icons") { action("material_design_icons") {
input_dir = "lib/assets/material-design-icons" source_file = "lib/assets/material-design-icons"
output_dir = "$root_gen_dir/dart-pkg/sky/lib/assets" target_file = "$root_gen_dir/dart-pkg/sky/lib/assets/material-design-icons"
stamp = "$target_gen_dir/material_design_icons_linked" stamp = "$target_gen_dir/material_design_icons_linked"
sources = [ sources = [
...@@ -136,11 +136,10 @@ action("material_design_icons") { ...@@ -136,11 +136,10 @@ action("material_design_icons") {
stamp, stamp,
] ]
script = "//build/symlink.py" script = "//sky/build/symlink.py"
args = [ args = [
"--force", rebase_path(source_file, root_build_dir),
rebase_path(input_dir, output_dir), rebase_path(target_file, root_build_dir),
rebase_path(output_dir, root_build_dir),
"--touch", "--touch",
rebase_path(stamp, root_build_dir), rebase_path(stamp, root_build_dir),
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment