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

Issue 1368843003: Don't link with audio codecs that we don't use (Closed)

Created:
5 years, 2 months ago by kwiberg-webrtc
Modified:
5 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), kwiberg-webrtc, Andrew MacDonald, hlundin-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Don't link with audio codecs that we don't use We used to link with all audio codecs unconditionally (except Opus); this patch makes gyp and gn only link to the ones that are used. This unfortunately fails to have a measurable impact on Chromium binary size, at least on x86_64 Linux; it turns out that iLBC and iSAC fix were already being excluded from Chromium by some other means, likely just the linker omitting compilation units with no incoming references. (This was previously landed as revisions 10046 and 10060, and got reverted because it broke several of the Chromium FYI bots.) BUG=webrtc:4557 Committed: https://crrev.com/98ab3a46d6b98bd6626ab741092f7cbf104d127b Cr-Commit-Position: refs/heads/master@{#10127}

Patch Set 1 : Original CLs #

Patch Set 2 : fixes #

Total comments: 4

Patch Set 3 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -210 lines) Patch
M webrtc/build/common.gypi View 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/engine_configurations.h View 1 chunk +0 lines, -21 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 4 chunks +36 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc View 1 2 chunks +11 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc View 1 1 chunk +8 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest.cc View 1 11 chunks +42 lines, -11 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc View 1 14 chunks +49 lines, -14 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_owner.h View 1 1 chunk +9 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_owner.cc View 1 2 chunks +45 lines, -80 lines 0 comments Download
M webrtc/modules/audio_coding/main/audio_coding_module.gypi View 2 chunks +17 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/main/test/TestRedFec.cc View 1 2 3 chunks +9 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/main/test/Tester.cc View 1 3 chunks +23 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_decoder_impl.h View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc View 1 16 chunks +44 lines, -34 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq.gypi View 4 chunks +21 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_unittest.cc View 1 4 chunks +22 lines, -7 lines 0 comments Download
M webrtc/modules/audio_processing/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
kwiberg-webrtc
Tina: engine_configurations.h Henrik: Everything Patch set #1 is the original two CLs. Patch set #2 ...
5 years, 2 months ago (2015-09-30 11:44:50 UTC) #8
hlundin-webrtc
lgtm with two comments. https://codereview.webrtc.org/1368843003/diff/140001/webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc File webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc (right): https://codereview.webrtc.org/1368843003/diff/140001/webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc#newcode78 webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc:78: void AcmReceiveTest::RegisterNetEqTestCodecs() { Won't this ...
5 years, 2 months ago (2015-09-30 12:53:27 UTC) #9
kwiberg-webrtc
https://codereview.webrtc.org/1368843003/diff/140001/webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc File webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc (right): https://codereview.webrtc.org/1368843003/diff/140001/webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc#newcode78 webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc:78: void AcmReceiveTest::RegisterNetEqTestCodecs() { On 2015/09/30 12:53:26, hlundin-webrtc wrote: > ...
5 years, 2 months ago (2015-09-30 13:25:41 UTC) #10
tlegrand-webrtc
lgtm
5 years, 2 months ago (2015-09-30 13:58:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1368843003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1368843003/160001
5 years, 2 months ago (2015-10-01 04:10:53 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:160001)
5 years, 2 months ago (2015-10-01 04:54:26 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-10-01 04:54:35 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/98ab3a46d6b98bd6626ab741092f7cbf104d127b
Cr-Commit-Position: refs/heads/master@{#10127}

Powered by Google App Engine
This is Rietveld 408576698