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

Issue 1319623002: Make building of resource zips and srcjars hermetic (Closed)

Created:
5 years, 4 months ago by agrieve
Modified:
5 years, 3 months ago
Reviewers:
Dirk Pranke, jbudorick
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@md5-proguard
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make building of resource zips and srcjars hermetic When the inputs of a zip are the same, this ensures that the output zip is the same by using a constant for file timestamps. When making a change to base_java, and recompiling chrome_apk, time to build went from 74sec -> 67sec BUG=523420 Committed: https://crrev.com/5cb5ae912f80e5c7c6f7e71a8dc9b77ec7c87edf Cr-Commit-Position: refs/heads/master@{#347097}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -33 lines) Patch
M build/android/gn/zip.py View 2 chunks +1 line, -7 lines 0 comments Download
M build/android/gyp/process_resources.py View 3 chunks +9 lines, -11 lines 0 comments Download
M build/android/gyp/util/build_utils.py View 1 3 chunks +38 lines, -15 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (5 generated)
agrieve
5 years, 3 months ago (2015-08-26 15:45:14 UTC) #2
jbudorick
https://codereview.chromium.org/1319623002/diff/1/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/1319623002/diff/1/build/android/gyp/util/build_utils.py#newcode241 build/android/gyp/util/build_utils.py:241: zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=HERMETIC_TIMESTAMP) Maybe I'm not following ...
5 years, 3 months ago (2015-09-01 18:11:33 UTC) #5
agrieve
https://codereview.chromium.org/1319623002/diff/1/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/1319623002/diff/1/build/android/gyp/util/build_utils.py#newcode241 build/android/gyp/util/build_utils.py:241: zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=HERMETIC_TIMESTAMP) On 2015/09/01 18:11:33, jbudorick wrote: ...
5 years, 3 months ago (2015-09-01 19:06:16 UTC) #6
agrieve
On 2015/09/01 19:06:16, agrieve wrote: > https://codereview.chromium.org/1319623002/diff/1/build/android/gyp/util/build_utils.py > File build/android/gyp/util/build_utils.py (right): > > https://codereview.chromium.org/1319623002/diff/1/build/android/gyp/util/build_utils.py#newcode241 > ...
5 years, 3 months ago (2015-09-02 14:51:35 UTC) #7
Dirk Pranke
lgtm
5 years, 3 months ago (2015-09-02 21:17:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1319623002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1319623002/20001
5 years, 3 months ago (2015-09-03 00:48:52 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-03 02:34:48 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-09-03 02:35:19 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5cb5ae912f80e5c7c6f7e71a8dc9b77ec7c87edf
Cr-Commit-Position: refs/heads/master@{#347097}

Powered by Google App Engine
This is Rietveld 408576698