Bug 1882468 - Add BUG_COMPONENT for migrated monorepo files in mobile/android/moz...
[gecko.git] / media / libvpx / moz.yaml
blob17704a190560e415735a329206166fe189596a3c
1 # Version of this schema
2 schema: 1
4 bugzilla:
5   # Bugzilla product and component for this directory and subdirectories
6   product: Core
7   component: "Audio/Video"
9 # Document the source of externally hosted code
10 origin:
12   # Short name of the package/library
13   name: libvpx
15   description: VP8/VP9 Codec SDK
17   # Full URL for the package's homepage/etc
18   # Usually different from repository url
19   url: https://chromium.googlesource.com/webm/libvpx
21   # Human-readable identifier for this version/release
22   # Generally "version NNN", "tag SSS", "bookmark SSS"
23   release: f6b7166a2b6bac544c2c487d3a7e49bc265cdf9d (Tue Jan 02 20:08:06 2024).
25   # Revision to pull in
26   # Must be a long or short commit SHA (long preferred)
27   revision: f6b7166a2b6bac544c2c487d3a7e49bc265cdf9d
29   # The package's license, where possible using the mnemonic from
30   # https://spdx.org/licenses/
31   # Multiple licenses can be specified (as a YAML list)
32   # A "LICENSE" file must exist containing the full license text
33   license: BSD-3-Clause
35   license-file: LICENSE
37 updatebot:
38     maintainer-phab: chunmin
39     maintainer-bz: cchang@mozilla.com
40     tasks:
41       - type: vendoring
42         enabled: true
43         frequency: release
45 vendoring:
46   url: https://chromium.googlesource.com/webm/libvpx
47   source-hosting: googlesource
48   vendor-directory: media/libvpx/libvpx/
49   skip-vendoring-steps: ['update-moz-build']
51   exclude:
52     - third_party/libwebm
53     - tools/
55   patches:
56     - input_frame_validation.patch
57     - input_frame_validation_vp9.patch
59   update-actions:
60     - action: move-file
61       from: '{vendor_dir}/vpx_dsp/x86/loopfilter_sse2.c'
62       to: '{vendor_dir}/vpx_dsp/x86/loopfilter_intrin_sse2.c'
63     - action: move-file
64       from: '{vendor_dir}/vpx_dsp/loongarch/quantize_lsx.c'
65       to: '{vendor_dir}/vpx_dsp/loongarch/quantize_intrin_lsx.c'
66     - action: run-command
67       command: patch
68       args: ['-p1', '-i', '{yaml_dir}/rename_duplicate_files.patch', '-d', '{yaml_dir}/libvpx']
69       cwd: '{yaml_dir}'
70     - action: run-command
71       command: patch
72       args: ['-p1', '-i', '{yaml_dir}/win64_build_fix.patch', '-d', '{yaml_dir}/libvpx']
73       cwd: '{yaml_dir}'
74     - action: run-script
75       script: '{yaml_dir}/generate_sources_mozbuild.sh'
76       cwd: '{yaml_dir}'