Don't select audio codecs depending on GN vars build_with_{chromium|mozilla}
BUG=webrtc:8343 Change-Id: I5943006a4da17f72eb88eae9d7ea57574d54f680 Reviewed-on: https://webrtc-review.googlesource.com/9401 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20540}
This commit is contained in:
@ -22,14 +22,12 @@ if (rtc_include_ilbc) {
|
||||
if (rtc_include_opus) {
|
||||
audio_codec_deps += [ ":webrtc_opus" ]
|
||||
}
|
||||
if (!build_with_mozilla) {
|
||||
if (current_cpu == "arm") {
|
||||
audio_codec_deps += [ ":isac_fix" ]
|
||||
} else {
|
||||
audio_codec_deps += [ ":isac" ]
|
||||
}
|
||||
audio_codec_deps += [ ":g722" ]
|
||||
if (current_cpu == "arm") {
|
||||
audio_codec_deps += [ ":isac_fix" ]
|
||||
} else {
|
||||
audio_codec_deps += [ ":isac" ]
|
||||
}
|
||||
audio_codec_deps += [ ":g722" ]
|
||||
if (!build_with_mozilla && !build_with_chromium) {
|
||||
audio_codec_deps += [ ":red" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user