Bug 1380118 - aom: remove unused option. draft
authorRalph Giles <giles@mozilla.com>
Fri, 04 Aug 2017 13:05:47 -0700
changeset 643637 331eeff69bf1bcf2d86ddb6272dbedd4d434797f
parent 643636 7d5db3459b9adb3a1bfcf9308087cbb342422ebd
child 643638 e3dc669514dbf76eab12d58d065631c98c425727
push id73163
push userbmo:giles@thaumas.net
push dateThu, 10 Aug 2017 00:19:36 +0000
bugs1380118
milestone57.0a1
Bug 1380118 - aom: remove unused option. As far as I can tell, nothing uses the DISABLE_AVX define when generating the rtcd headers. MozReview-Commit-ID: Cc5tufOKP63
media/libaom/generate_sources_mozbuild.sh
--- a/media/libaom/generate_sources_mozbuild.sh
+++ b/media/libaom/generate_sources_mozbuild.sh
@@ -128,31 +128,31 @@ function gen_rtcd_header {
   rm -rf $TEMP_DIR/libaom.config
   $BASE_DIR/lint_config.sh -p \
     -h $BASE_DIR/$LIBAOM_CONFIG_DIR/$1/aom_config.h \
     -a $BASE_DIR/$LIBAOM_CONFIG_DIR/$1/aom_config.asm \
     -o $TEMP_DIR/libaom.config
 
   $BASE_DIR/$LIBAOM_SRC_DIR/build/make/rtcd.pl \
     --arch=$2 \
-    --sym=aom_rtcd $DISABLE_AVX $3 \
+    --sym=aom_rtcd $3 \
     --config=$TEMP_DIR/libaom.config \
     $BASE_DIR/$LIBAOM_SRC_DIR/av1/common/av1_rtcd_defs.pl \
     > $BASE_DIR/$LIBAOM_CONFIG_DIR/$1/av1_rtcd.h
 
   $BASE_DIR/$LIBAOM_SRC_DIR/build/make/rtcd.pl \
     --arch=$2 \
-    --sym=aom_scale_rtcd $DISABLE_AVX $3 \
+    --sym=aom_scale_rtcd $3 \
     --config=$TEMP_DIR/libaom.config \
     $BASE_DIR/$LIBAOM_SRC_DIR/aom_scale/aom_scale_rtcd.pl \
     > $BASE_DIR/$LIBAOM_CONFIG_DIR/$1/aom_scale_rtcd.h
 
   $BASE_DIR/$LIBAOM_SRC_DIR/build/make/rtcd.pl \
     --arch=$2 \
-    --sym=aom_dsp_rtcd $DISABLE_AVX $3 \
+    --sym=aom_dsp_rtcd $3 \
     --config=$TEMP_DIR/libaom.config \
     $BASE_DIR/$LIBAOM_SRC_DIR/aom_dsp/aom_dsp_rtcd_defs.pl \
     > $BASE_DIR/$LIBAOM_CONFIG_DIR/$1/aom_dsp_rtcd.h
 
   rm -rf $TEMP_DIR/libaom.config
 }
 
 # Generate Config files. "--enable-external-build" must be set to skip