summaryrefslogtreecommitdiffstats
path: root/components/webui_generator
diff options
context:
space:
mode:
authordzhioev <dzhioev@chromium.org>2015-03-04 05:15:54 -0800
committerCommit bot <commit-bot@chromium.org>2015-03-04 13:16:24 +0000
commit240be55564f8d82c1e8281e052f15f6258185068 (patch)
tree507551e2d2b1241166c606269797f6aadf994bb7 /components/webui_generator
parent6d227ad1eb8920084deeadbaf2399764429f4fd4 (diff)
downloadchromium_src-240be55564f8d82c1e8281e052f15f6258185068.zip
chromium_src-240be55564f8d82c1e8281e052f15f6258185068.tar.gz
chromium_src-240be55564f8d82c1e8281e052f15f6258185068.tar.bz2
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}
Diffstat (limited to 'components/webui_generator')
-rw-r--r--components/webui_generator/generator/wug.gni4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/webui_generator/generator/wug.gni b/components/webui_generator/generator/wug.gni
index a4b4a2d..28009a0 100644
--- a/components/webui_generator/generator/wug.gni
+++ b/components/webui_generator/generator/wug.gni
@@ -41,7 +41,7 @@ template("wug") {
helper_args = [
rebase_path(declaration_path, root_build_dir),
"--destination",
- out_dir,
+ rebase_path(out_dir, root_build_dir),
"--root",
src_root,
"--gn",
@@ -85,7 +85,7 @@ template("wug") {
"--root",
src_root,
"--destination",
- out_dir,
+ rebase_path(out_dir, root_build_dir),
]
}