Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey b237d45c60 Bug 1692940 - Switch aom build to nasm instead of yasm. r=firefox-build-system-reviewers,jbauman,dmajor,andi
nasm doesn't like compiling x86_abi_support.asm
(https://bugzilla.nasm.us/show_bug.cgi?id=3392738), which is actually an
include file, rather than a source file, so it shouldn't have been in
the list of sources in the first place (libvpx has a similar file that
is excluded already, for instance).

I was considering updating the vendoring script, but it turns out it
doesn't produce the current contents in-tree (which even breaks the
build), and aom is set to be removed (bug 1635296)...

Differential Revision: https://phabricator.services.mozilla.com/D105430
2021-02-23 01:26:46 +00:00
Mike Hommey 1047ad476b Bug 1687433 - Remove -no-integrated-as flag from libaom and libvpx. r=firefox-build-system-reviewers,mhentges
Back when it was added, it was added to libvpx, and the clang base
version was older. Either newer version of clang fixed the issues or
the libvpx source fixed it, but we don't need the flag anymore for
libvpx.

The flag for libaom was cargo culted from libvpx, but may not have been
necessary in the first place. Or maybe it was, but things fixed
themselves in a similar manner. Either way, the flag is not necessary.

Differential Revision: https://phabricator.services.mozilla.com/D102262
2021-01-19 14:11:18 +00:00
Matthew Finkel 262fa6f330 Bug 1585470 - Remove duplicate cpu-features.c definition when building GV without webrtc r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D82120
2020-07-09 19:10:34 +00:00
Tom Ritter 6e3753f7eb Bug 1585359 - Remove mingw-gcc configuration stuff from libaom r=jya
mingw-gcc is no longer supported.

Differential Revision: https://phabricator.services.mozilla.com/D48578

--HG--
extra : moz-landing-system : lando
2019-10-10 18:30:56 +00:00
Mike Hommey ef3ad686ee Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

Differential Revision: https://phabricator.services.mozilla.com/D19615

--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Mike Hommey fdb264754f Bug 1515257 - Don't pretend there are ARM assembly sources in libaom. r=firefox-build-system-reviewers,ted
There aren't any, and the code to actually convert them from .asm to gas
that is expected by the moz.build is not even there, so if there were
assembly sources, it would fail to build.

Depends on D14946

Differential Revision: https://phabricator.services.mozilla.com/D14947

--HG--
extra : moz-landing-system : lando
2018-12-19 11:12:11 +00:00
Thomas Daede 9735214d9a Bug 1501796 - Use nasm when yasm is requested. r=firefox-build-system-reviewers,mshal
Includes changes to support nasm's stricter include paths.

Supports falling back to yasm if nasm is missing.

Differential Revision: https://phabricator.services.mozilla.com/D9972

--HG--
extra : moz-landing-system : lando
2018-11-16 01:20:58 +00:00
Christian Holler 98c039b689 Bug 1488702 - Add an AV1 decoder fuzzing target. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D5027

--HG--
extra : moz-landing-system : lando
2018-09-06 10:25:28 +00:00
Nathan Froyd 32d63fdca4 Bug 1477047 - make fewer assumptions about MSVC compiling for x86-ish code; r=chmanchester
ARM64 Windows is a thing now, so this assumption is no longer valid.
2018-07-24 16:08:56 -04:00
Dan Minor 4d669cfe0c Bug 1445683 - Generated files now live under 'config'; r=chmanchester
MozReview-Commit-ID: D3MAVM5IhXX

--HG--
extra : rebase_source : 2884ad21740325c226af4087ca1dcf23e47a8188
2018-06-05 12:47:09 -04:00
Dan Minor 77528d2259 Bug 1445683 - Add support for SSE 4.2 to libaom moz.build; r=chmanchester
MozReview-Commit-ID: 76yhREntUzj

--HG--
extra : rebase_source : 3e7c9582d725a42955cc38a5fe209ad5aed49009
2018-05-17 12:16:35 -04:00
David Major 68fab3379f Bug 1456500: Disable PGO for Win64 aom to speed up builds. r=froydnj
--HG--
extra : rebase_source : ccab44a70a3147fdfebab11cb874bfde48165f93
2018-04-24 11:15:13 -04:00
David Major 1eda142373 Bug 1445922 - Disable PGO for Win32 libaom due to compiler OOMs. r=froydnj 2018-04-11 10:17:00 +03:00
Tom Ritter 8c0ba05b9e Bug 1448461 Give libaom a x64 MinGW config r=kinetik
MozReview-Commit-ID: BiBqBFSWYtK

--HG--
extra : rebase_source : 2010d77e6971de38cf5ffd7c835d59a724a73195
2018-03-23 15:14:00 -05:00
Sylvestre Ledru a9961096c0 Bug 1394734 - Simplify various corner cases r=glandium
MozReview-Commit-ID: 4s4JdXZPvmv

--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru 4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru 5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru 9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Chris Manchester c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Ted Mielczarek 0677fcfacf bug 1399878 - Use LOCAL_INCLUDES instead of CFLAGS in some media moz.build files. r=gps
MozReview-Commit-ID: 3PUOniPnt54

--HG--
extra : rebase_source : 01accd7951a4af7018265e91040aa7005b061902
2017-09-14 06:39:27 -04:00
Tom Ritter 384ce069f0 Bug 1378529 Use the MinGW libaom configuration for MinGW builds on Linux r=rillian
MozReview-Commit-ID: 3Wn4wqH4OzQ

--HG--
extra : rebase_source : d6707934d39ddfb7539629430fc59e6c47263373
2017-08-17 16:42:15 -05:00
Ralph Giles 6414257e7f Bug 1380118 - Export aom_config.h. r=kinetik
Recent changes made this a public header, so it needs to be
available to callers like AOMDecoder.

MozReview-Commit-ID: KKXcv8bdVYj

--HG--
extra : rebase_source : 87d509a40f3b305e414067af5ed433eef8489fbc
2017-07-11 11:53:10 -07:00
Ralph Giles 8454796ebc Bug 1369932 - Fix typo in aom build description. r=froydnj
The configuration object is spelled with capitals. We didn't
try to build this code on Windows previously, so short-circuit
evaluation saved us from hitting the mistake.

MozReview-Commit-ID: FCGtHW8Dzlw

--HG--
extra : rebase_source : 70676bd436211aa65c7ea447b4aab4bbab61c27a
2017-06-22 17:36:28 -07:00
Ralph Giles b2fcea0bf2 Bug 1371016 - aom: Add /arch:AVX2 when compiling under msvc. r=ted
Propagate the libvpx AVX flag changes from bug 1279593.

This flag tells the compiler to generate AVX code
in these modules intead of using normal SSE instructions
which can trigger expensive state-switching.

NB: This should only be set for AVX-specific implementation
files; setting this flag for general code will invalidate
our runtime simd support checks.

MozReview-Commit-ID: 5BVeCTsNlup

--HG--
extra : rebase_source : 219b5912a220e960e45ec43a532f407fe18eb41b
2017-06-07 12:34:31 -07:00
Carsten "Tomcat" Book 8726f73b05 Backed out changeset ff8a5005cfa0 (bug 1371016) for making linux bc2 browser_windowStateContainer.js crashes in @ RunWatchdog more worse 2017-06-14 14:38:29 +02:00
Ralph Giles 2ccddcb958 Bug 1371016 - aom: Add /arch:AVX2 when compiling under msvc. r=ted
Propagate the libvpx AVX flag changes from bug 1279593.

This flag tells the compiler to generate AVX code
in these modules intead of using normal SSE instructions
which can trigger expensive state-switching.

NB: This should only be set for AVX-specific implementation
files; setting this flag for general code will invalidate
our runtime simd support checks.

MozReview-Commit-ID: 5BVeCTsNlup

--HG--
extra : rebase_source : 219b5912a220e960e45ec43a532f407fe18eb41b
2017-06-07 12:34:31 -07:00
Ralph Giles 72c31d122b Bug 1364237 - aom: Enable YASM for intel cpus. r=froydnj
I had removed the USE_YASM define in porting the libvpx
moz.build to libaom, to avoid depending on VPX_USE_ASM.
Turns out USE_YASM is a magic context define, without which
the build won't compile libaom's yasm-format .asm files,
so we need to define it for the two intel architecture
source sets.

Restore the define unconditionally for intel targets.
We require yasm in the default build for those targets,
and want to fail if it isn't available to block performance
regressions.

MozReview-Commit-ID: CqGtY8RNLNf

--HG--
extra : rebase_source : ccc7f9dfc467642d9e4c623c55e54e769fb38f2f
2017-05-11 15:31:50 -07:00
Ralph Giles 105c65063a Bug 1364237 - aom: Remove obsolete 32-bit macOS build config. r=froydnj
We no longer support 32-bit x86 macOS, and
these flags point to configurations we
don't generate.

MozReview-Commit-ID: 3mIfHCf6aUj

--HG--
extra : rebase_source : 35b5089ade7f9d5d03e5f4d3f0760cc969b4b8c7
2017-05-11 13:56:51 -07:00
Ralph Giles a3714d238c Bug 1314147 - Port the libvpx mozbuild generator to aom. r=froydnj,kinetik
This is a port of the libvpx scripts, themselves a port of
Chromium's scripts to generate an external build description
using hooks in the upstream configure and make scripts.
The libaom library is a fork of libvpx so we can use a similar
approach.

I've put the upstream source in $(topsrc_dir)/third_party/aom
but the build description and any patches are under the media
directory with the other codecs, similar to how zlib works.

Config files and headers generated by the upstream build system
are also under $(topsrc_dir)/media/libaom/.

MozReview-Commit-ID: ATLgOTPD2i1

--HG--
extra : rebase_source : c0fdcdb41a5bac5fdf64f773458cb62937fc9dd8
2017-04-12 17:01:43 -07:00