Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: tools/gn/function_rebase_path.cc

Issue 892043004: gn: Do not advertise a rebase_path() command with more than 3 parameters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/function_rebase_path.cc
diff --git a/tools/gn/function_rebase_path.cc b/tools/gn/function_rebase_path.cc
index 0dde36af81c1f83707460d595708946afae47f4a..cad850f7e073ae7bb57aa1d2c98f544b5275f5a6 100644
--- a/tools/gn/function_rebase_path.cc
+++ b/tools/gn/function_rebase_path.cc
@@ -185,10 +185,6 @@ const char kRebasePath_Help[] =
" # Might produce \"D:\\source\\project\\myfile.txt\" on Windows or\n"
" # \"/home/you/source/project/myfile.txt\" on Linux.\n"
"\n"
- " # Convert a file's path separators from forward slashes to system\n"
- " # slashes.\n"
- " foo = rebase_path(\"source/myfile.txt\", \".\", \".\", \"to_system\")\n"
- "\n"
" # Typical usage for converting to the build directory for a script.\n"
" action(\"myscript\") {\n"
" # Don't convert sources, GN will automatically convert these to be\n"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698