| Index: build/util/BUILD.gn
|
| diff --git a/build/util/BUILD.gn b/build/util/BUILD.gn
|
| index ad6f2ea78159e03aa2388b530a23f9be0d6ed0f9..9f5a6f71a573936477a7a7c51871e9ad4879bd43 100644
|
| --- a/build/util/BUILD.gn
|
| +++ b/build/util/BUILD.gn
|
| @@ -5,7 +5,7 @@
|
| action("webkit_version") {
|
| script = "version.py"
|
|
|
| - lastchange_file = "LASTCHANGE.blink"
|
| + lastchange_file = "LASTCHANGE"
|
|
|
| template_file = "webkit_version.h.in"
|
| inputs = [
|
| @@ -19,6 +19,10 @@ action("webkit_version") {
|
| ]
|
|
|
| args = [
|
| + # LASTCHANGE contains "<build hash>-<ref>". The user agent only wants the
|
| + # "<build hash>" bit, so chop off everything after it.
|
| + "-e",
|
| + "LASTCHANGE=LASTCHANGE[:LASTCHANGE.find('-')]",
|
| "-f",
|
| rebase_path(lastchange_file, root_build_dir),
|
| rebase_path(template_file, root_build_dir),
|
|
|