| Index: tools/gn/string_utils.h
|
| diff --git a/tools/gn/string_utils.h b/tools/gn/string_utils.h
|
| index 7fff1d8560286053e8a00be10e0d0c7bfb94f944..a405cc5e0199c0a2f2c578da0d763a657760c868 100644
|
| --- a/tools/gn/string_utils.h
|
| +++ b/tools/gn/string_utils.h
|
| @@ -48,4 +48,9 @@ inline void AppendStringPiece(std::string* dest,
|
| dest->append(piece.data(), piece.size());
|
| }
|
|
|
| +// Removes the trailing slash from the given string. This asserts that either
|
| +// the string is empty or it ends with a slash (normally used to process
|
| +// directories).
|
| +void TrimTrailingSlash(std::string* str);
|
| +
|
| #endif // TOOLS_GN_STRING_UTILS_H_
|
|
|