|
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}
Total comments: 4
|
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
|
Total messages: 16 (9 generated)
|