diff --git a/.gitignore b/.gitignore index b01441ce1be6..d684fcb90182 100644 --- a/.gitignore +++ b/.gitignore @@ -360,3 +360,6 @@ docs/mots/index.rst # Ignore generated directory with .class files for GeckoView annotation processor mobile/android/annotations/bin/ + +# Ignore generated log files under media/libvpx +media/libvpx/config/**/config.log diff --git a/.hgignore b/.hgignore index 9316aed506bd..e1a360b07142 100644 --- a/.hgignore +++ b/.hgignore @@ -352,3 +352,6 @@ tps_result\.json$ # Ignore generated directory with .class files for GeckoView annotation processor ^mobile/android/annotations/bin/ + +# Ignore generated log files under media/libvpx +^media/libvpx/config/.*/config.log diff --git a/media/libvpx/generate_sources_mozbuild.sh b/media/libvpx/generate_sources_mozbuild.sh index 5e68d66837b0..4efcb54aa1aa 100755 --- a/media/libvpx/generate_sources_mozbuild.sh +++ b/media/libvpx/generate_sources_mozbuild.sh @@ -169,7 +169,8 @@ function gen_rtcd_header { # $1 - Header file directory. # $2 - Config command line. function gen_config_files { - ./configure $2 > /dev/null + ./configure $2 --log=$BASE_DIR/$LIBVPX_CONFIG_DIR/$1/config.log > /dev/null + echo "Log file: $BASE_DIR/$LIBVPX_CONFIG_DIR/$1/config.log" # Disable HAVE_UNISTD_H. ( echo '/HAVE_UNISTD_H'; echo 'd' ; echo 'w' ; echo 'q' ) | ed -s vpx_config.h