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

Issue 1535633002: Disable Blink assertions on Chromecast device builds (Closed)

Created:
5 years ago by halliwell
Modified:
4 years, 11 months ago
Reviewers:
slan, esprehn, Nico
CC:
blink-reviews, blink-reviews-wtf_chromium.org, chromium-reviews, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable Blink assertions on Chromecast device eng builds Chromecast device eng builds are release builds with dcheck_always_on to take advantage of DCHECKS. By default this also enables Blink assertions, which add ~20% to our binary size. Recently the eng OTA package has become too large to push to the device, so space savings are required, and the Blink assertions haven't provided a lot of value historically. They are still enabled for buildbots, desktop builds and Android TV. BUG=internal b/26142354 Committed: https://crrev.com/25419b09eee2221bde1ac0320e29ca32026a1f3e Cr-Commit-Position: refs/heads/master@{#367363}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved gn to correct file, now disable only on release builds #

Patch Set 3 : Indentation, variable naming and comments #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M build/common.gypi View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/config.gni View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (7 generated)
slan
https://codereview.chromium.org/1535633002/diff/1/third_party/WebKit/Source/wtf/BUILD.gn File third_party/WebKit/Source/wtf/BUILD.gn (right): https://codereview.chromium.org/1535633002/diff/1/third_party/WebKit/Source/wtf/BUILD.gn#newcode24 third_party/WebKit/Source/wtf/BUILD.gn:24: defines = [ This needs to be defines += ...
5 years ago (2015-12-17 02:44:13 UTC) #2
halliwell
5 years ago (2015-12-17 20:45:41 UTC) #5
slan
This looks pretty good to me. I think the GN logic would ideally be expressed ...
5 years ago (2015-12-17 23:25:59 UTC) #6
esprehn
lgtm, as long as the bots running the tests have them turned on this seems ...
5 years ago (2015-12-18 00:22:37 UTC) #7
halliwell
On 2015/12/18 00:22:37, esprehn wrote: > lgtm, as long as the bots running the tests ...
4 years, 11 months ago (2015-12-29 18:13:56 UTC) #8
Nico
Would it be an option to include fewer strings in DCHECKs and blink assertions in ...
4 years, 11 months ago (2015-12-29 18:38:50 UTC) #9
halliwell
On 2015/12/29 18:38:50, Nico wrote: > Would it be an option to include fewer strings ...
4 years, 11 months ago (2015-12-29 21:33:25 UTC) #10
Nico
Sounds simpler to me. Elliot, do you think we could unconditionally stop using WTF_PRETTY_FUNCTION in ...
4 years, 11 months ago (2015-12-29 21:41:00 UTC) #11
esprehn
That means anything looking at asserts needs to do a line number, file and revision ...
4 years, 11 months ago (2015-12-29 22:31:04 UTC) #12
esprehn
That means anything looking at asserts needs to do a line number, file and revision ...
4 years, 11 months ago (2015-12-29 22:31:07 UTC) #13
Nico
Yes, it'll still contain the ASSERT expression. You need to look at the code anyway ...
4 years, 11 months ago (2015-12-29 22:35:34 UTC) #14
Nico
Yes, it'll still contain the ASSERT expression. You need to look at the code anyway ...
4 years, 11 months ago (2015-12-29 22:35:35 UTC) #15
esprehn
Not if the person is filing bugs about flaky crashes on bots or someone sees ...
4 years, 11 months ago (2015-12-29 22:40:36 UTC) #16
esprehn
Not if the person is filing bugs about flaky crashes on bots or someone sees ...
4 years, 11 months ago (2015-12-29 22:40:36 UTC) #17
halliwell
On 2015/12/29 22:40:36, esprehn wrote: > Not if the person is filing bugs about flaky ...
4 years, 11 months ago (2016-01-04 17:20:55 UTC) #18
Nico
lgtm
4 years, 11 months ago (2016-01-04 17:21:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1535633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1535633002/60001
4 years, 11 months ago (2016-01-04 17:52:38 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-04 21:05:42 UTC) #24
commit-bot: I haz the power
4 years, 11 months ago (2016-01-04 21:06:59 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/25419b09eee2221bde1ac0320e29ca32026a1f3e
Cr-Commit-Position: refs/heads/master@{#367363}

Powered by Google App Engine
This is Rietveld 408576698