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

Unified Diff: third_party/opus/BUILD.gn

Issue 899623002: Revert of Roll opus to opus-HEAD-66611f1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | third_party/opus/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/opus/BUILD.gn
diff --git a/third_party/opus/BUILD.gn b/third_party/opus/BUILD.gn
index 8f51d09ffd4bd6f8808bf4054fbcb919465b4795..2905a4922b30a1a882f4a379c2794ebb642b5932 100644
--- a/third_party/opus/BUILD.gn
+++ b/third_party/opus/BUILD.gn
@@ -3,19 +3,12 @@
# found in the LICENSE file.
import("//build/config/arm.gni")
-import("//build/config/mips.gni")
# If fixed point implementation shall be used (otherwise float).
-# TODO(wtc): change "mipselx" to "mipsel" in this file when the compilation
-# errors in the MIPS optimizations are fixed.
-use_opus_fixed_point =
- cpu_arch == "arm" || cpu_arch == "arm64" || cpu_arch == "mipselx"
+use_opus_fixed_point = cpu_arch == "arm" || cpu_arch == "arm64"
# If ARM optimizations shall be used to accelerate performance.
use_opus_arm_optimization = cpu_arch == "arm"
-
-# If MIPS optimizations shall be used to accelerate performance.
-use_opus_mips_optimization = cpu_arch == "mipselx"
# If OPUS Run Time CPU Detections (RTCD) shall be used.
# Based on the conditions in celt/arm/armcpu.c:
@@ -142,29 +135,6 @@
]
}
}
-
- if (use_opus_mips_optimization) {
- sources += [
- "src/celt/mips/celt_mipsr1.h",
- "src/celt/mips/fixed_generic_mipsr1.h",
- "src/celt/mips/kiss_fft_mipsr1.h",
- "src/celt/mips/mdct_mipsr1.h",
- "src/celt/mips/pitch_mipsr1.h",
- "src/celt/mips/vq_mipsr1.c",
- "src/celt/mips/vq_mipsr1.h",
- "src/silk/fixed/mips/noise_shape_analysis_FIX_mipsr1.h",
- "src/silk/fixed/mips/prefilter_FIX_mipsr1.h",
- "src/silk/fixed/mips/warped_autocorrelation_FIX_mipsr1.h",
- "src/silk/mips/NSQ_del_dec_mipsr1.h",
- "src/silk/mips/macros_mipsr1.h",
- "src/silk/mips/sigproc_fix_mipsr1.h",
- ]
-
- defines += [
- "MIPSr1_ASM",
- "USE_ALLOCA",
- ]
- }
}
executable("opus_compare") {
« no previous file with comments | « DEPS ('k') | third_party/opus/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698