Commit 4c191be1 authored by mdempsky's avatar mdempsky Committed by Commit bot

tools/gn: fix rebase_path example

BUG=469593

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

Cr-Commit-Position: refs/heads/master@{#321801}
parent d05f51c6
...@@ -183,7 +183,7 @@ const char kRebasePath_Help[] = ...@@ -183,7 +183,7 @@ const char kRebasePath_Help[] =
" # Typical usage for converting to the build directory for a script.\n" " # Typical usage for converting to the build directory for a script.\n"
" action(\"myscript\") {\n" " action(\"myscript\") {\n"
" # Don't convert sources, GN will automatically convert these to be\n" " # Don't convert sources, GN will automatically convert these to be\n"
" # relative to the build directory when it contructs the command\n" " # relative to the build directory when it constructs the command\n"
" # line for your script.\n" " # line for your script.\n"
" sources = [ \"foo.txt\", \"bar.txt\" ]\n" " sources = [ \"foo.txt\", \"bar.txt\" ]\n"
"\n" "\n"
...@@ -194,7 +194,7 @@ const char kRebasePath_Help[] = ...@@ -194,7 +194,7 @@ const char kRebasePath_Help[] =
" rebase_path(\"//mything/data/input.dat\", root_build_dir),\n" " rebase_path(\"//mything/data/input.dat\", root_build_dir),\n"
" \"--rel\",\n" " \"--rel\",\n"
" rebase_path(\"relative_path.txt\", root_build_dir)\n" " rebase_path(\"relative_path.txt\", root_build_dir)\n"
" ] + sources\n" " ] + rebase_path(sources, root_build_dir)\n"
" }\n"; " }\n";
Value RunRebasePath(Scope* scope, Value RunRebasePath(Scope* scope,
......
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