From d3220624aa6603c56db670046a12a48970d374c2 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 27 Aug 2018 17:43:10 +0000 Subject: Add a "lastchange" hook. It is used to update build/util/LASTCHANGE. This is needed because the Chromium build tools are trying to use it to achieve a deterministic build. Change-Id: I28c300d48297722673cb509d97b1d71c5a8804ab Reviewed-on: https://pdfium-review.googlesource.com/41451 Commit-Queue: Ryan Harrison Reviewed-by: Ryan Harrison --- DEPS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'DEPS') diff --git a/DEPS b/DEPS index 6b00f82d54..2b3912f9e8 100644 --- a/DEPS +++ b/DEPS @@ -324,4 +324,11 @@ hooks = [ "-s", "pdfium/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1", ], }, + { + # Update LASTCHANGE. + 'name': 'lastchange', + 'pattern': '.', + 'action': ['python', 'pdfium/build/util/lastchange.py', + '-o', 'pdfium/build/util/LASTCHANGE'], + }, ] -- cgit v1.2.3