diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-08-04 20:38:47 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-08-05 11:22:40 -0700 |
commit | 77a6b8655a51866c987435424282ad134967d394 (patch) | |
tree | 378733d39a08da394fe71014ae1f55e8fb6e1105 /cmd | |
parent | a59a3bc5ecb56c0877d34928f75acc074dc0ad20 (diff) | |
download | build_soong-77a6b8655a51866c987435424282ad134967d394.tar.gz build_soong-77a6b8655a51866c987435424282ad134967d394.tar.bz2 build_soong-77a6b8655a51866c987435424282ad134967d394.zip |
soong_jar: Hardcode time
We want reproducible builds, so timestamps are not useful.
Change-Id: I5144bc62ac37c3c9d7e0638f3b3648a60d887702
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/soong_jar/soong_jar.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/soong_jar/soong_jar.go b/cmd/soong_jar/soong_jar.go index 6461f8c7..d3ff5faa 100644 --- a/cmd/soong_jar/soong_jar.go +++ b/cmd/soong_jar/soong_jar.go @@ -86,7 +86,7 @@ func main() { } w := &zipWriter{ - time: time.Now(), + time: time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC), createdDirs: make(map[string]bool), directories: *directories, } |