summaryrefslogtreecommitdiff
path: root/DEPS
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-27 17:43:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-27 17:43:10 +0000
commitd3220624aa6603c56db670046a12a48970d374c2 (patch)
tree1f050f709c6f8278adc4ebc7131357c8aeee2721 /DEPS
parent441ef218c20bbb426cc82786a9a40dc42fae40ca (diff)
downloadpdfium-d3220624aa6603c56db670046a12a48970d374c2.tar.xz
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 <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'DEPS')
-rw-r--r--DEPS7
1 files changed, 7 insertions, 0 deletions
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'],
+ },
]