commit | 1c9b02233631b0ba9b096d79bf5b8d71a370dbb0 | [log] [tgz] |
---|---|---|
author | maruel <[email protected]> | Mon Apr 04 20:21:41 2016 |
committer | Commit bot <[email protected]> | Mon Apr 04 20:23:05 2016 |
tree | 96a1b9b5aa0867cf6fb9579e2ab5a8ec40b77e5c | |
parent | 30569cfdd5902ae953a0a9e07d19d828c57f5f6f [diff] |
Fix latent bug in GetBuildTime(). - Change the generated_build_date.h to contain the full timestamp, it makes the code less brittle. - For official builds before 5:00am, it would generate a build time in the future. Fix this. - Improve the error message in BuildTime.InThePast. - Add test case to ensure the build is not more than 45 days old. - Remove dummy test. - Improve comments in base/BUILD.gn and base/base.gyp. - Add functional write_build_date_header.py --help. This change builds upon work in https://codereview.chromium.org/1641413002. [email protected],[email protected],[email protected] BUG=587694 Review URL: https://codereview.chromium.org/1846713002 Cr-Commit-Position: refs/heads/master@{#384991}