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

Issue 321463002: Pass resources to dependents as zip files instead of directories (Closed)

Created:
6 years, 6 months ago by cjhopman
Modified:
6 years, 6 months ago
Reviewers:
newt (away)
CC:
chromium-reviews, klundberg+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Pass resources to dependents as zip files instead of directories This makes all temporary work be done in temporary directories. This change is particularly helpful for 2 reasons: first, it makes it more difficult to accidentally include stale, unwanted files during an incremental build. Second, it is easier to trigger dependent actions (zip file timestamps should be updated when their contents change, while the same is not true for directories). Makes the output of build/java_strings_grd.gypi be a zipfile containing the resources. BUG=359249, 375431 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276226

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 2

Patch Set 3 : this document #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -197 lines) Patch
M build/android/gyp/package_resources.py View 3 chunks +61 lines, -27 lines 0 comments Download
M build/android/gyp/process_resources.py View 1 2 5 chunks +106 lines, -91 lines 0 comments Download
M build/android/gyp/util/build_utils.py View 1 3 chunks +45 lines, -0 lines 0 comments Download
A build/android/gyp/zip.py View 1 chunk +26 lines, -0 lines 0 comments Download
M build/java.gypi View 1 3 chunks +26 lines, -38 lines 0 comments Download
M build/java_apk.gypi View 1 10 chunks +14 lines, -27 lines 0 comments Download
M build/java_strings_grd.gypi View 1 1 chunk +28 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
cjhopman
newt: *
6 years, 6 months ago (2014-06-06 18:12:07 UTC) #1
newt (away)
A couple small comments. Also, what's the impact of this change on build times? Zipping ...
6 years, 6 months ago (2014-06-09 18:47:32 UTC) #2
cjhopman
Worst case for both zipping+unzipping steps(in a couple quick tests on an ssd), this adds ...
6 years, 6 months ago (2014-06-09 21:59:38 UTC) #3
newt (away)
One comment, then lgtm. Timing impact seems reasonable. Glad to hear that GN will be ...
6 years, 6 months ago (2014-06-09 23:38:07 UTC) #4
cjhopman
https://codereview.chromium.org/321463002/diff/20001/build/android/gyp/process_resources.py File build/android/gyp/process_resources.py (right): https://codereview.chromium.org/321463002/diff/20001/build/android/gyp/process_resources.py#newcode39 build/android/gyp/process_resources.py:39: help='Directories containing resources of this document.') On 2014/06/09 23:38:07, ...
6 years, 6 months ago (2014-06-10 15:55:12 UTC) #5
cjhopman
The CQ bit was checked by cjhopman@chromium.org
6 years, 6 months ago (2014-06-10 15:55:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/321463002/40001
6 years, 6 months ago (2014-06-10 15:59:58 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 23:38:12 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 01:20:58 UTC) #9
Message was sent while issue was closed.
Change committed as 276226

Powered by Google App Engine
This is Rietveld 408576698