|
@@ -1,68 +0,0 @@
|
|
|
-# HG changeset patch
|
|
|
-# User Bill Gianopoulos <wgianopoulos@gmail.com>
|
|
|
-# Date 1598375293 14400
|
|
|
-# Tue Aug 25 13:08:13 2020 -0400
|
|
|
-Don't include x86_abi_support.asm in libaom build.
|
|
|
-
|
|
|
-diff --git a/media/libaom/generate_sources_mozbuild.sh b/media/libaom/generate_sources_mozbuild.sh
|
|
|
---- a/media/libaom/generate_sources_mozbuild.sh
|
|
|
-+++ b/media/libaom/generate_sources_mozbuild.sh
|
|
|
-@@ -76,16 +76,19 @@ function convert_srcs_to_project_files {
|
|
|
- # 1. Filter .c, .h, .s, .S and .asm files.
|
|
|
- # 3. Convert .asm.s to .asm because moz.build will do the conversion.
|
|
|
-
|
|
|
- local source_list=$(grep -E '(\.c|\.h|\.S|\.s|\.asm)$' $1)
|
|
|
-
|
|
|
- # Remove aom_config.c.
|
|
|
- source_list=$(echo "$source_list" | grep -v 'aom_config\.c')
|
|
|
-
|
|
|
-+ # Remove include-only asm files (no object code emitted)
|
|
|
-+ source_list=$(echo "$source_list" | grep -v 'x86_abi_support\.asm')
|
|
|
-+
|
|
|
- # The actual ARM files end in .asm. We have rules to translate them to .S
|
|
|
- source_list=$(echo "$source_list" | sed s/\.asm\.s$/.asm/)
|
|
|
-
|
|
|
- # Exports - everything in aom, aom_mem, aom_ports, aom_scale
|
|
|
- local exports_list=$(echo "$source_list" | \
|
|
|
- egrep '^(aom|aom_mem|aom_ports|aom_scale)/.*h$')
|
|
|
- # but not anything in one level down, like 'internal'
|
|
|
- exports_list=$(echo "$exports_list" | egrep -v '/(internal|src)/')
|
|
|
-diff --git a/media/libaom/sources.mozbuild b/media/libaom/sources.mozbuild
|
|
|
---- a/media/libaom/sources.mozbuild
|
|
|
-+++ b/media/libaom/sources.mozbuild
|
|
|
-@@ -120,17 +120,16 @@ files = {
|
|
|
- '../../third_party/aom/aom_dsp/x86/subpel_variance_sse2.asm',
|
|
|
- '../../third_party/aom/aom_dsp/x86/subtract_sse2.asm',
|
|
|
- '../../third_party/aom/aom_dsp/x86/sum_squares_sse2.c',
|
|
|
- '../../third_party/aom/aom_dsp/x86/variance_avx2.c',
|
|
|
- '../../third_party/aom/aom_dsp/x86/variance_impl_avx2.c',
|
|
|
- '../../third_party/aom/aom_dsp/x86/variance_sse2.c',
|
|
|
- '../../third_party/aom/aom_mem/aom_mem.c',
|
|
|
- '../../third_party/aom/aom_ports/emms.asm',
|
|
|
-- '../../third_party/aom/aom_ports/x86_abi_support.asm',
|
|
|
- '../../third_party/aom/aom_scale/aom_scale_rtcd.c',
|
|
|
- '../../third_party/aom/aom_scale/generic/aom_scale.c',
|
|
|
- '../../third_party/aom/aom_scale/generic/gen_scalers.c',
|
|
|
- '../../third_party/aom/aom_scale/generic/yv12config.c',
|
|
|
- '../../third_party/aom/aom_scale/generic/yv12extend.c',
|
|
|
- '../../third_party/aom/aom_util/aom_thread.c',
|
|
|
- '../../third_party/aom/av1/../third_party/fastfeat/fast.c',
|
|
|
- '../../third_party/aom/av1/../third_party/fastfeat/fast_9.c',
|
|
|
-@@ -365,17 +364,16 @@ files = {
|
|
|
- '../../third_party/aom/aom_dsp/x86/subpel_variance_sse2.asm',
|
|
|
- '../../third_party/aom/aom_dsp/x86/subtract_sse2.asm',
|
|
|
- '../../third_party/aom/aom_dsp/x86/sum_squares_sse2.c',
|
|
|
- '../../third_party/aom/aom_dsp/x86/variance_avx2.c',
|
|
|
- '../../third_party/aom/aom_dsp/x86/variance_impl_avx2.c',
|
|
|
- '../../third_party/aom/aom_dsp/x86/variance_sse2.c',
|
|
|
- '../../third_party/aom/aom_mem/aom_mem.c',
|
|
|
- '../../third_party/aom/aom_ports/emms.asm',
|
|
|
-- '../../third_party/aom/aom_ports/x86_abi_support.asm',
|
|
|
- '../../third_party/aom/aom_scale/aom_scale_rtcd.c',
|
|
|
- '../../third_party/aom/aom_scale/generic/aom_scale.c',
|
|
|
- '../../third_party/aom/aom_scale/generic/gen_scalers.c',
|
|
|
- '../../third_party/aom/aom_scale/generic/yv12config.c',
|
|
|
- '../../third_party/aom/aom_scale/generic/yv12extend.c',
|
|
|
- '../../third_party/aom/aom_util/aom_thread.c',
|
|
|
- '../../third_party/aom/av1/../third_party/fastfeat/fast.c',
|
|
|
- '../../third_party/aom/av1/../third_party/fastfeat/fast_9.c',
|