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

Issue 2637853002: [iOS] Disable NSAssert and GTMDevAssert on release builds. (Closed)

Created:
3 years, 11 months ago by bzanotti
Modified:
3 years, 11 months ago
Reviewers:
brettw
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[iOS] Disable NSAssert and GTMDevAssert on release builds. This was present in build/common.gypi and was inadvertently dropped during the conversion to GN (removed by http://crrev.com/2355673003, but hadn't been added to GN). BUG=673253 Review-Url: https://codereview.chromium.org/2637853002 Cr-Commit-Position: refs/heads/master@{#444355} Committed: https://chromium.googlesource.com/chromium/src/+/32c54cffc1691c3b07501a86d72e75cebbf0e87f

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment explaining why asserts are disabled #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M build/config/BUILD.gn View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
bzanotti
Please take a look.
3 years, 11 months ago (2017-01-16 14:36:28 UTC) #2
brettw
lgtm https://codereview.chromium.org/2637853002/diff/1/build/config/BUILD.gn File build/config/BUILD.gn (right): https://codereview.chromium.org/2637853002/diff/1/build/config/BUILD.gn#newcode226 build/config/BUILD.gn:226: defines += [ "NS_BLOCK_ASSERTIONS=1" ] Can you add ...
3 years, 11 months ago (2017-01-17 20:51:51 UTC) #3
bzanotti
https://codereview.chromium.org/2637853002/diff/1/build/config/BUILD.gn File build/config/BUILD.gn (right): https://codereview.chromium.org/2637853002/diff/1/build/config/BUILD.gn#newcode226 build/config/BUILD.gn:226: defines += [ "NS_BLOCK_ASSERTIONS=1" ] On 2017/01/17 20:51:50, brettw ...
3 years, 11 months ago (2017-01-18 14:01:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2637853002/20001
3 years, 11 months ago (2017-01-18 14:01:59 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/32c54cffc1691c3b07501a86d72e75cebbf0e87f
3 years, 11 months ago (2017-01-18 15:00:04 UTC) #10
bzanotti
3 years, 11 months ago (2017-01-18 16:18:55 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2644613002/ by bzanotti@chromium.org.

The reason for reverting is: This breaks things in downstream iOS as apparently
EarlGrey requires NS_BLOCK_ASSERTIONS to not be defined and is built in Release
(no idea why...).

Powered by Google App Engine
This is Rietveld 408576698