summaryrefslogtreecommitdiffstats
path: root/media/libaom/generate_sources_mozbuild.py
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-10-19 23:03:09 -0500
committertrav90 <travawine@palemoon.org>2018-10-19 23:03:09 -0500
commit41fbdea457bf50c0a43e1c27c5cbf7f0a3a9eb33 (patch)
tree0fe88d6dc5c68da6bfe4a4c40159873f8fd5f669 /media/libaom/generate_sources_mozbuild.py
parentba5a1ea60f21da69eb50c28e9fb4e034765e0c62 (diff)
downloadUXP-41fbdea457bf50c0a43e1c27c5cbf7f0a3a9eb33.tar
UXP-41fbdea457bf50c0a43e1c27c5cbf7f0a3a9eb33.tar.gz
UXP-41fbdea457bf50c0a43e1c27c5cbf7f0a3a9eb33.tar.lz
UXP-41fbdea457bf50c0a43e1c27c5cbf7f0a3a9eb33.tar.xz
UXP-41fbdea457bf50c0a43e1c27c5cbf7f0a3a9eb33.zip
Update libaom vendor scripts to account for upstream changes
Diffstat (limited to 'media/libaom/generate_sources_mozbuild.py')
-rw-r--r--media/libaom/generate_sources_mozbuild.py19
1 files changed, 5 insertions, 14 deletions
diff --git a/media/libaom/generate_sources_mozbuild.py b/media/libaom/generate_sources_mozbuild.py
index d3b389183..a5a75d8be 100644
--- a/media/libaom/generate_sources_mozbuild.py
+++ b/media/libaom/generate_sources_mozbuild.py
@@ -62,24 +62,14 @@ if __name__ == '__main__':
'CMAKE_CURRENT_SOURCE_DIR': AOM_DIR,
'CONFIG_AV1_DECODER': 1,
'CONFIG_AV1_ENCODER': 0,
- 'CONFIG_BGSPRITE': 0,
- 'CONFIG_CDEF_SINGLEPASS': 0,
- 'CONFIG_CFL': 0,
- 'CONFIG_HASH_ME': 0,
- 'CONFIG_HIGH_BITDEPTH': 0,
+ 'CONFIG_COLLECT_INTER_MODE_RD_STATS': 0,
'CONFIG_INSPECTION': 0,
'CONFIG_INTERNAL_STATS': 0,
'CONFIG_LIBYUV': 0,
- 'CONFIG_LOWBITDEPTH': 0,
- 'CONFIG_LV_MAP': 0,
- 'CONFIG_MOTION_VAR': 0,
+ 'CONFIG_LOWBITDEPTH': 1,
'CONFIG_MULTITHREAD': 1,
- 'CONFIG_NCOBMC_ADAPT_WEIGHT': 0,
'CONFIG_PIC': 0,
- 'CONFIG_PVQ': 0,
- 'CONFIG_UNIT_TESTS': 0,
'CONFIG_WEBM_IO': 0,
- 'CONFIG_XIPHRC': 0,
'CMAKE_CURRENT_BINARY_DIR': 'OBJDIR',
'CMAKE_INSTALL_PREFIX': 'INSTALLDIR',
'CMAKE_SYSTEM_NAME': 'Linux',
@@ -87,6 +77,7 @@ if __name__ == '__main__':
'ENABLE_EXAMPLES': 0,
'ENABLE_TESTS': 0,
'ENABLE_TOOLS': 0,
+ 'ENABLE_DOCS': 0,
'AOM_TEST_TEST_CMAKE_': 1, #prevent building tests
}
@@ -115,6 +106,8 @@ if __name__ == '__main__':
variables['INLINE'] = 'inline'
if cpu == 'x86' and system == 'linux':
variables['CONFIG_PIC'] = 1
+ if cpu == 'armv7':
+ variables['CONFIG_PIC'] = 1
if system == 'win' and not arch.startswith('mingw'):
variables['MSVC'] = 1
@@ -124,9 +117,7 @@ if __name__ == '__main__':
# Disable HAVE_UNISTD_H.
cache_variables.remove('HAVE_UNISTD_H')
-
write_aom_config(system, arch, variables, cache_variables)
-
# Currently, the sources are the same for each supported cpu
# regardless of operating system / compiler. If that changes, we'll
# have to generate sources for each combination.