Commit Graph

76 Commits

Author SHA1 Message Date
Alex Chronopoulos
9c3b134ff0 Bug 1651699 - Enable dav1d assembly builds on Android. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D83523
2020-07-15 09:06:46 +00:00
Jon Bauman
c9e1d68234 Bug 1641887 - Update libdav1d to be1fe18 r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D81280
2020-06-26 16:52:33 +00:00
Tom Ritter
ce91a401a8 Bug 1637845 - Add/change support for running scripts to the moz.yaml schema r=glob
Here we unify the 'run_after' section with 'file-updates' just naming
them 'update-actions'.  This will allow a simpler schema and a clearer
picture of the order of actions that are taken.

Differential Revision: https://phabricator.services.mozilla.com/D76428
2020-06-10 14:46:03 +00:00
Tom Ritter
606d1b6c0e Bug 1637845 - Extend the file-updates schema to support a copy-file action r)glob
Additionally, raise voluptuous.Invalid errors so the message provided in
the Exception is shown to the user on error.

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

Depends on D75696
2020-06-10 14:42:55 +00:00
Tom Ritter
4d9b87747c Bug 1637845 - Add 'file-updates' to the moz.yaml schema r=glob
This section is for expressing actions that occur after extracting
the files, before vendoring is completed. While we support running
scripts (or at least, we will...) this section can be used for simple
actions that don't need scripts.

Also, add the dav1d excluded files.

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

Depends on D75695
2020-06-10 14:42:13 +00:00
Tom Ritter
7c4c1b39f3 Bug 1637845 - Add source-hosting to the schema and vendoring section r=glob
This will tell us how to interact with the upstream repository.

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

Depends on D75694
2020-06-10 14:41:34 +00:00
Tom Ritter
4b30cdd0dd Bug 1637845 - Add 'license-file' to origin, remove 'revision' from vendoring, add 'vendor-directory' r=glob
Add license-file to allow one to specify a special file the
project's license is in.

Add 'vendor-directory' to allow vendoring the files into a
separate directory (e.g. under third_party.) Remove a contradictory
comment.

Remove 'revision' from 'vendoring'.  This doesn't make sense to me:
'vendoring' is about how to update the library. In a future iteration
we may wish to restrict updates to a branch; but specifying a revision
is specifically about _not_ updating. It appears the intent of revision
was to identify what revision was currently in-tree; but that information
should live in the 'origin' section.

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

Depends on D75896
2020-06-10 14:40:51 +00:00
Ricky Stewart
0bbaac721b Bug 1641693 - Replace a bunch of uses of GENERATED_FILES with the GeneratedFile template r=necko-reviewers,geckoview-reviewers,aklotz,dragana,froydnj
Also update documentation to suggest using the `GeneratedFile` template rather than directly referencing `GENERATED_FILES` where possible.

Differential Revision: https://phabricator.services.mozilla.com/D77496
2020-06-01 16:00:28 +00:00
Michael Froman
4ef4d2b585 Bug 1620471 - Update libdav1d to 0.6.0 r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D67511

--HG--
extra : moz-landing-system : lando
2020-03-20 15:17:26 +00:00
Mike Shal
79b0948e24 Bug 1620035 - Convert media/libdav1d/generate_source.py to py3; r=firefox-build-system-reviewers,rstewart
Depends on D65380

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

--HG--
extra : moz-landing-system : lando
2020-03-05 17:04:25 +00:00
Mike Shal
d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Cosmin Sabou
ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal
ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Brindusan Cristian
e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Mike Shal
e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Dan Minor
f28bbffcea Bug 1612060 - Update libdav1d to 0.5.2; r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D61223

--HG--
extra : moz-landing-system : lando
2020-01-31 13:28:26 +00:00
Nathan Froyd
705e153788 Bug 1604557 - use GeneratedFile template in media/libdav1d/; r=padenot
The template is slightly nicer and involves a little less repetition.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 13:05:39 +00:00
Dan Minor
8f20970320 Bug 1588123 - Update libdav1d to head; r=TD-Linux
This updates libdav1d to commit 5595102721d3c298d7cee64e64878486a3b8bdad.

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

--HG--
rename : third_party/dav1d/snap/snapcraft.yaml => third_party/dav1d/package/snap/snapcraft.yaml
extra : moz-landing-system : lando
2019-10-24 18:58:15 +00:00
Bogdan Tara
5109dc7399 Backed out changeset c3295fe9b509 (bug 1588123) for bustages complaining about rules.mk & recurse.mk CLOSED TREE
--HG--
rename : third_party/dav1d/package/snap/snapcraft.yaml => third_party/dav1d/snap/snapcraft.yaml
2019-10-22 18:28:27 +03:00
Dan Minor
1f9f60bf3d Bug 1588123 - Update libdavid to 0.5 + one commit; r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D49897

--HG--
rename : third_party/dav1d/snap/snapcraft.yaml => third_party/dav1d/package/snap/snapcraft.yaml
extra : moz-landing-system : lando
2019-10-21 13:47:25 +00:00
Alex Chronopoulos
ac0da8b368 Bug 1582743 - Update dav1d from upstream to commit c0865f3. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D46762

--HG--
extra : moz-landing-system : lando
2019-09-23 18:02:33 +00:00
Alex Chronopoulos
f8e782919a Bug 1568515 - Import dav1d from upstream to c138435. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D39184

--HG--
extra : moz-landing-system : lando
2019-07-24 17:03:48 +00:00
Alex Chronopoulos
f7ad03d42f Bug 1557528 - Import dav1d from upstream to version 0.4.0. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D34997

--HG--
extra : moz-landing-system : lando
2019-06-18 20:52:59 +00:00
Razvan Maries
f76e3c55f3 Backed out changeset dc9ee09114cf (bug 1557528) for Bof perma fails. CLOSED TREE 2019-06-18 03:08:56 +03:00
Alex Chronopoulos
a51f839922 Bug 1557528 - Import dav1d from upstream to version 0.4.0. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D34997

--HG--
extra : moz-landing-system : lando
2019-06-17 22:56:27 +00:00
Sylvestre Ledru
d57d4905f1 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
arthur.iakab
af8e458c5f Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
Sylvestre Ledru
c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Alex Chronopoulos
f02585d0f0 Bug 1549915 - Import dav1d from upstream to a713643. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D30507

--HG--
extra : moz-landing-system : lando
2019-05-10 05:20:18 +00:00
Alex Chronopoulos
429167605d Bug 1540124 - Enable aarch64 assembly builds for libdav1d. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D30185

--HG--
extra : moz-landing-system : lando
2019-05-08 15:59:15 +00:00
Alex Chronopoulos
5a8063b204 Bug 1546070 - Update dav1d from upstream to f8cac8c. r=TD-Linux
The imported version is just one commit over 0.2.2 and solves the crash for this bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 19:48:05 +00:00
Alex Chronopoulos
275a4c1dba Bug 1540830 - Update build files after new import. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D28201

--HG--
extra : moz-landing-system : lando
2019-04-19 20:36:43 +00:00
Alex Chronopoulos
d1bd6b015b Bug 1540830 - Update dav1d from upstream to 1f7a7e8. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D28200

--HG--
extra : moz-landing-system : lando
2019-04-19 20:36:10 +00:00
Thomas Daede
235611f71b Bug 1543419 - Fix libdav1d moz.yaml quoting. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D26927

--HG--
extra : moz-landing-system : lando
2019-04-10 15:59:00 +00:00
Alex Chronopoulos
56a5006aee Bug 1538455 - Use the default stack alignment in windows x64 for libdav1d. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D25123

--HG--
extra : moz-landing-system : lando
2019-03-27 20:46:11 +00:00
Alex Chronopoulos
dfc6cb0281 Bug 1537725 - Use the default stack alignment in windows x86 for libdav1d. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24785

--HG--
extra : moz-landing-system : lando
2019-03-26 09:45:21 +00:00
Csoregi Natalia
819dd52416 Backed out changeset abf6af5e36d6 (bug 1537725) for bustages on libdav1d/moz.build. CLOSED TREE 2019-03-26 11:32:42 +02:00
Alex Chronopoulos
9aff2faa39 Bug 1537725 - Use the default stack alignment in windows x86 for libdav1d. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24785

--HG--
extra : moz-landing-system : lando
2019-03-25 22:51:31 +00:00
Alex Chronopoulos
fe1ca24c8b Bug 1536070 - Enable ASM in dav1d for Tier3 platforms. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24361

--HG--
extra : moz-landing-system : lando
2019-03-22 14:18:27 +00:00
Alex Chronopoulos
30586d8fe5 Bug 1535631 - Use 16 byte stack alignment on dav1d in OSX. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24382

--HG--
extra : moz-landing-system : lando
2019-03-21 19:43:15 +00:00
Alex Chronopoulos
15f9cf5662 Bug 1536538 - Improve a check in config file and correct typos. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24071

--HG--
extra : moz-landing-system : lando
2019-03-20 14:24:23 +00:00
Thomas Daede
eed1f33ab9 Bug 1533559 - Update libdav1d to 0.2.1. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D23761

--HG--
rename : media/libdav1d/version.h => media/libdav1d/vcs_version.h
rename : third_party/dav1d/include/meson.build => third_party/dav1d/include/dav1d/meson.build
rename : third_party/dav1d/src/obu.h => third_party/dav1d/include/dav1d/version.h.in
rename : third_party/dav1d/include/version.h.in => third_party/dav1d/include/vcs_version.h.in
rename : third_party/dav1d/src/thread_task.h => third_party/dav1d/src/log.c
rename : third_party/dav1d/src/cpu.h => third_party/dav1d/src/log.h
extra : moz-landing-system : lando
2019-03-19 17:35:09 +00:00
Dorel Luca
bc871ba7f1 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 1a86c239e49011cf1a857de6e020b91ca0b6bd67
2019-03-14 18:27:51 +02:00
Sylvestre Ledru
4aa92e3091 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Alex Chronopoulos
bcef80c88e Bug 1526435 - Don't use DisableCompilerWarnings in libdav1d builds. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D23505

--HG--
extra : moz-landing-system : lando
2019-03-14 15:18:12 +00:00
Alex Chronopoulos
83e7193c99 Bug 1534321 - Assembly builds for libdav1d on OSX. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D23111

--HG--
extra : moz-landing-system : lando
2019-03-12 17:08:55 +00:00
Tyson Smith
19290f4e51 Bug 1533092 - Add in-tree fuzzing support for dav1d r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D22383

--HG--
extra : moz-landing-system : lando
2019-03-11 20:00:31 +00:00
Alex Chronopoulos
ec9ec63b46 Bug 1521062 - Configure assembly builds for libdav1d on Windows. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D22080

--HG--
extra : moz-landing-system : lando
2019-03-07 09:32:15 +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
Alex Chronopoulos
29f83c7bf2 Bug 1510548 - Suppress MSVC warning C4024 for libdav1d. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D18678

--HG--
extra : moz-landing-system : lando
2019-02-06 06:19:23 +00:00