Commit 240be555 authored by dzhioev's avatar dzhioev Committed by Commit bot

WebUI generator GN build file fixed.

In case when GN output dir is inside src/, GN uses pathes relative to src/
directory that start with // (//out/Release/gen). But python interprets such
pathes as relative to /.

BUG=459230

Review URL: https://codereview.chromium.org/973873003

Cr-Commit-Position: refs/heads/master@{#319058}
parent 6d227ad1
...@@ -41,7 +41,7 @@ template("wug") { ...@@ -41,7 +41,7 @@ template("wug") {
helper_args = [ helper_args = [
rebase_path(declaration_path, root_build_dir), rebase_path(declaration_path, root_build_dir),
"--destination", "--destination",
out_dir, rebase_path(out_dir, root_build_dir),
"--root", "--root",
src_root, src_root,
"--gn", "--gn",
...@@ -85,7 +85,7 @@ template("wug") { ...@@ -85,7 +85,7 @@ template("wug") {
"--root", "--root",
src_root, src_root,
"--destination", "--destination",
out_dir, rebase_path(out_dir, 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