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

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

Created:
5 years, 3 months ago by kwiberg-webrtc
Modified:
5 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, hlundin-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, kwiberg-webrtc, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@dmove-clean
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).) BUG=webrtc:4557 Committed: https://crrev.com/f66a9251424351ea6d631c54dd1feb64cc13d809 Cr-Commit-Position: refs/heads/master@{#10046}

Patch Set 1 #

Patch Set 2 : ARM fix #

Total comments: 34

Patch Set 3 : review fixes #

Patch Set 4 : More ARM fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -62 lines) Patch
M webrtc/build/common.gypi View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/engine_configurations.h View 1 2 3 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/codec_owner.cc View 1 chunk +11 lines, -8 lines 0 comments Download
M webrtc/modules/audio_coding/main/audio_coding_module.gypi View 1 2 2 chunks +17 lines, -5 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 2 3 3 chunks +9 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq.gypi View 1 2 4 chunks +21 lines, -9 lines 0 comments Download

Messages

Total messages: 30 (10 generated)
kwiberg-webrtc
Please have a look. Tina: engine_configurations.h Henrik: gyp and gn files (compare with engine_configurations.h) Henrik: ...
5 years, 3 months ago (2015-09-22 08:33:20 UTC) #2
kwiberg-webrtc
https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/BUILD.gn File webrtc/modules/audio_coding/BUILD.gn (right): https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/BUILD.gn#newcode833 webrtc/modules/audio_coding/BUILD.gn:833: } This duplication will go away soon; I'm just ...
5 years, 3 months ago (2015-09-22 08:37:15 UTC) #3
hlundin-webrtc
https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/BUILD.gn File webrtc/modules/audio_coding/BUILD.gn (right): https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/BUILD.gn#newcode833 webrtc/modules/audio_coding/BUILD.gn:833: } On 2015/09/22 08:37:15, kwiberg-webrtc wrote: > This duplication ...
5 years, 3 months ago (2015-09-22 09:09:18 UTC) #4
kwiberg-webrtc
https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/main/audio_coding_module.gypi File webrtc/modules/audio_coding/main/audio_coding_module.gypi (right): https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/main/audio_coding_module.gypi#newcode28 webrtc/modules/audio_coding/main/audio_coding_module.gypi:28: 'audio_coding_dependencies': ['isac_fix',], On 2015/09/22 09:09:18, hlundin-webrtc wrote: > I'm ...
5 years, 3 months ago (2015-09-22 09:37:04 UTC) #5
hlundin-webrtc
lgtm https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/main/audio_coding_module.gypi File webrtc/modules/audio_coding/main/audio_coding_module.gypi (right): https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/main/audio_coding_module.gypi#newcode28 webrtc/modules/audio_coding/main/audio_coding_module.gypi:28: 'audio_coding_dependencies': ['isac_fix',], On 2015/09/22 09:37:04, kwiberg-webrtc wrote: > ...
5 years, 3 months ago (2015-09-22 10:05:56 UTC) #6
kjellander_webrtc
On 2015/09/22 08:33:20, kwiberg-webrtc wrote: > Please have a look. > > Tina: engine_configurations.h > ...
5 years, 3 months ago (2015-09-22 11:01:09 UTC) #7
kjellander_webrtc
https://codereview.webrtc.org/1349393003/diff/20001/webrtc/build/common.gypi File webrtc/build/common.gypi (right): https://codereview.webrtc.org/1349393003/diff/20001/webrtc/build/common.gypi#newcode104 webrtc/build/common.gypi:104: 'build_with_mozilla%': '<(build_with_mozilla)', move this to line 51. https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/BUILD.gn File ...
5 years, 3 months ago (2015-09-22 11:01:29 UTC) #8
kwiberg-webrtc
Comments addressed in patch set #3. https://codereview.webrtc.org/1349393003/diff/20001/webrtc/build/common.gypi File webrtc/build/common.gypi (right): https://codereview.webrtc.org/1349393003/diff/20001/webrtc/build/common.gypi#newcode104 webrtc/build/common.gypi:104: 'build_with_mozilla%': '<(build_with_mozilla)', On ...
5 years, 3 months ago (2015-09-22 12:05:14 UTC) #9
kjellander_webrtc
lgtm! Thanks for cleaning this up and reducing unnecessary binary size. https://codereview.webrtc.org/1349393003/diff/20001/webrtc/modules/audio_coding/BUILD.gn File webrtc/modules/audio_coding/BUILD.gn (right): ...
5 years, 3 months ago (2015-09-22 12:35:26 UTC) #10
tlegrand-webrtc
Great clean-up! LGTM
5 years, 3 months ago (2015-09-23 09:07:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1349393003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1349393003/40001
5 years, 3 months ago (2015-09-23 09:12:24 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_compile_dbg/builds/42)
5 years, 3 months ago (2015-09-23 09:34:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1349393003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1349393003/40001
5 years, 3 months ago (2015-09-23 09:51:30 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/7815)
5 years, 3 months ago (2015-09-23 10:20:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1349393003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1349393003/60001
5 years, 3 months ago (2015-09-23 10:43:55 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_compile_dbg/builds/50)
5 years, 3 months ago (2015-09-23 11:06:57 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1349393003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1349393003/60001
5 years, 3 months ago (2015-09-24 09:57:18 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 3 months ago (2015-09-24 10:18:47 UTC) #28
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/f66a9251424351ea6d631c54dd1feb64cc13d809 Cr-Commit-Position: refs/heads/master@{#10046}
5 years, 3 months ago (2015-09-24 10:18:59 UTC) #29
the sun
5 years, 2 months ago (2015-09-25 08:35:39 UTC) #30
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.webrtc.org/1368933002/ by solenberg@webrtc.org.

The reason for reverting is: Breaking Chromium FYI bots..

Powered by Google App Engine
This is Rietveld 408576698