summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-10-18 19:39:57 -0500
committertrav90 <travawine@palemoon.org>2018-10-18 19:39:57 -0500
commit21598d1bdd2ad2a48c43160ed30f20247e6dd75f (patch)
tree2ebb6f52264ee16d454d8fe749c9d20ce651077a /media
parent7369c7d7a5eed32963d8af37658286617919f91c (diff)
downloadUXP-21598d1bdd2ad2a48c43160ed30f20247e6dd75f.tar
UXP-21598d1bdd2ad2a48c43160ed30f20247e6dd75f.tar.gz
UXP-21598d1bdd2ad2a48c43160ed30f20247e6dd75f.tar.lz
UXP-21598d1bdd2ad2a48c43160ed30f20247e6dd75f.tar.xz
UXP-21598d1bdd2ad2a48c43160ed30f20247e6dd75f.zip
Export aom_config.h
Recent changes made this a public header, so it needs to be available to callers like AOMDecoder.
Diffstat (limited to 'media')
-rw-r--r--media/libaom/moz.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/media/libaom/moz.build b/media/libaom/moz.build
index 491a356da..3d1bc96d5 100644
--- a/media/libaom/moz.build
+++ b/media/libaom/moz.build
@@ -17,12 +17,15 @@ if CONFIG['CPU_ARCH'] == 'x86_64':
if CONFIG['OS_TARGET'] == 'WINNT':
ASFLAGS += [ '-I%s/media/libaom/config/win/x64/' % TOPSRCDIR ]
CFLAGS += [ '-I%s/media/libaom/config/win/x64/' % TOPSRCDIR ]
+ EXPORTS.aom += [ 'config/win/x64/aom_config.h' ]
elif CONFIG['OS_TARGET'] == 'Darwin':
ASFLAGS += [ '-I%s/media/libaom/config/mac/x64/' % TOPSRCDIR ]
CFLAGS += [ '-I%s/media/libaom/config/mac/x64/' % TOPSRCDIR ]
+ EXPORTS.aom += [ 'config/mac/x64/aom_config.h' ]
else: # Android, Linux, BSDs, etc.
ASFLAGS += [ '-I%s/media/libaom/config/linux/x64/' % TOPSRCDIR ]
CFLAGS += [ '-I%s/media/libaom/config/linux/x64/' % TOPSRCDIR ]
+ EXPORTS.aom += [ 'config/linux/x64/aom_config.h' ]
elif CONFIG['CPU_ARCH'] == 'x86':
EXPORTS.aom += files['IA32_EXPORTS']
SOURCES += files['IA32_SOURCES']
@@ -30,9 +33,11 @@ elif CONFIG['CPU_ARCH'] == 'x86':
if CONFIG['OS_TARGET'] == 'WINNT':
ASFLAGS += [ '-I%s/media/libaom/config/win/ia32/' % TOPSRCDIR ]
CFLAGS += [ '-I%s/media/libaom/config/win/ia32/' % TOPSRCDIR ]
+ EXPORTS.aom += [ 'config/win/ia32/aom_config.h' ]
else: # Android, Linux, BSDs, etc.
ASFLAGS += [ '-I%s/media/libaom/config/linux/ia32/' % TOPSRCDIR ]
CFLAGS += [ '-I%s/media/libaom/config/linux/ia32/' % TOPSRCDIR ]
+ EXPORTS.aom += [ 'config/linux/ia32/aom_config.h' ]
elif CONFIG['CPU_ARCH'] == 'arm':
EXPORTS.aom += files['ARM_EXPORTS']
ASFLAGS += [
@@ -40,6 +45,7 @@ elif CONFIG['CPU_ARCH'] == 'arm':
'-I%s/libaom' % OBJDIR,
]
CFLAGS += [ '-I%s/media/libaom/config/linux/arm/' % TOPSRCDIR ]
+ EXPORTS.aom += [ 'config/linux/arm/aom_config.h' ]
arm_asm_files = files['ARM_SOURCES']
@@ -69,6 +75,7 @@ else:
SOURCES += files['GENERIC_SOURCES']
ASFLAGS += [ '-I%s/media/libaom/config/generic/' % TOPSRCDIR ]
CFLAGS += [ '-I%s/media/libaom/config/generic/' % TOPSRCDIR ]
+ EXPORTS.aom += [ 'config/generic/aom_config.h' ]
# We allow warnings for third-party code that can be updated from upstream.
ALLOW_COMPILER_WARNINGS = True