~chromium-team/chromium-browser/bionic-dev

« back to all changes in this revision

Viewing changes to debian/patches/libaom-armhf-build-cpudetect.patch

  • Committer: Olivier Tilloy
  • Date: 2021-03-04 08:28:25 UTC
  • Revision ID: olivier.tilloy@canonical.com-20210304082825-52vhe0hxtwhbj0kz
* debian/patches/libaom-armhf-build-cpudetect.patch: added

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Also build aom_ports/arm_cpudetect.c on armhf (no Neon),
 
2
 because RTCD sources unconditionally call aom_arm_cpu_caps().
 
3
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
 
4
 
 
5
--- a/third_party/libaom/BUILD.gn
 
6
+++ b/third_party/libaom/BUILD.gn
 
7
@@ -220,6 +220,9 @@ if (enable_libaom) {
 
8
     sources += aom_dsp_common_sources
 
9
     sources += aom_dsp_decoder_sources
 
10
     sources += aom_mem_sources
 
11
+    if (cpu_arch_full == "arm") {
 
12
+      sources += [ "//third_party/libaom/source/libaom/aom_ports/arm_cpudetect.c" ]
 
13
+    }
 
14
     sources += aom_rtcd_sources
 
15
     sources += aom_scale_sources
 
16
     sources += aom_sources