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}
diff --git a/modules/audio_coding/BUILD.gn b/modules/audio_coding/BUILD.gn
index 941f13c..e5854ef 100644
--- a/modules/audio_coding/BUILD.gn
+++ b/modules/audio_coding/BUILD.gn
@@ -22,14 +22,12 @@
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" ]
}