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

Issue 58563004: Don't swallow "aapt crunch" build errors. (Closed)

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

Description

Don't swallow "aapt crunch" build errors. aapt crunch always has a return code of 0, even when it finds an invalid 9-patch and can't process it. Since we can't trust the return code, we fail when aapt outputs anything to stderr. BUG=314885 R=cjhopman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234972

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -9 lines) Patch
M build/android/gyp/process_resources.py View 1 chunk +1 line, -1 line 0 comments Download
M build/android/gyp/util/build_utils.py View 2 chunks +17 lines, -8 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
newt (away)
PTAL
7 years, 1 month ago (2013-11-05 00:18:24 UTC) #1
cjhopman
lgtm https://codereview.chromium.org/58563004/diff/1/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/58563004/diff/1/build/android/gyp/util/build_utils.py#newcode123 build/android/gyp/util/build_utils.py:123: return stdout + stderr This might screw up ...
7 years, 1 month ago (2013-11-05 01:10:44 UTC) #2
newt (away)
https://codereview.chromium.org/58563004/diff/1/build/android/gyp/util/build_utils.py File build/android/gyp/util/build_utils.py (right): https://codereview.chromium.org/58563004/diff/1/build/android/gyp/util/build_utils.py#newcode123 build/android/gyp/util/build_utils.py:123: return stdout + stderr On 2013/11/05 01:10:45, cjhopman wrote: ...
7 years, 1 month ago (2013-11-05 15:28:41 UTC) #3
newt (away)
The trybots just failed to compile ("malformed 9-patch") which means this patch is working! First ...
7 years, 1 month ago (2013-11-05 15:30:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/newt@chromium.org/58563004/1
7 years, 1 month ago (2013-11-13 01:01:19 UTC) #5
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=35849
7 years, 1 month ago (2013-11-13 01:40:28 UTC) #6
newt (away)
7 years, 1 month ago (2013-11-14 00:13:49 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 manually as r234972 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698