diff options
author | Job Bautista <jobbautista9@protonmail.com> | 2022-06-20 21:44:59 +0800 |
---|---|---|
committer | Job Bautista <jobbautista9@protonmail.com> | 2022-06-29 13:53:10 +0800 |
commit | 5f4d519194090df1e2c5fc60195b496f20229c14 (patch) | |
tree | 9ebef2b0ec8b76c0bea1bc5ab54adb40970c131d /media | |
parent | 2ad17268edb8e198000cded87fdbcddac25036cf (diff) | |
download | uxp-5f4d519194090df1e2c5fc60195b496f20229c14.tar.gz |
Issue #1769 - Part 1 Follow-up: Tidy up moz.build for highway and libjxl
highway upstream added a new header file to be included in highway.h after
0.15.0 it seems, so we have to account for that in moz.build.
Also brought back allowing compiler warnings for libjxl and highway.
Apparently the equivalent of AllowCompilerWarnings() is a bool whose name
is UPPERCASE and uses under_scores instead of CamelCase.
Diffstat (limited to 'media')
-rw-r--r-- | media/highway/moz.build | 4 | ||||
-rw-r--r-- | media/libjxl/moz.build | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/media/highway/moz.build b/media/highway/moz.build index ecd0d1dc81..ec70fd0e5a 100644 --- a/media/highway/moz.build +++ b/media/highway/moz.build @@ -29,6 +29,7 @@ EXPORTS.hwy += [ EXPORTS.hwy.ops += [ "/media/highway/src/hwy/ops/arm_neon-inl.h", "/media/highway/src/hwy/ops/arm_sve-inl.h", + "/media/highway/src/hwy/ops/emu128-inl.h", "/media/highway/src/hwy/ops/generic_ops-inl.h", "/media/highway/src/hwy/ops/rvv-inl.h", "/media/highway/src/hwy/ops/scalar-inl.h", @@ -41,3 +42,6 @@ EXPORTS.hwy.ops += [ ] FINAL_LIBRARY = "gkmedias" + +# We allow warnings for third-party code that can be updated from upstream. +ALLOW_COMPILER_WARNINGS = True diff --git a/media/libjxl/moz.build b/media/libjxl/moz.build index 881e21b0b4..f86b0ed1e1 100644 --- a/media/libjxl/moz.build +++ b/media/libjxl/moz.build @@ -122,6 +122,9 @@ EXPORTS.jxl += [ FINAL_LIBRARY = "gkmedias" +# We allow warnings for third-party code that can be updated from upstream. +ALLOW_COMPILER_WARNINGS = True + # Clang 5.0 has a compiler bug that prevents build in c++17 # See https://gitlab.com/wg1/jpeg-xl/-/issues/227 # This should be okay since we are using the C API. |