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

Unified Diff: build/util/BUILD.gn

Issue 1982423002: Get rid of LASTCHANGE.blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try to fix devtools Created 3 years, 8 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 | « DEPS ('k') | build/util/lastchange.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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),
« no previous file with comments | « DEPS ('k') | build/util/lastchange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698