Skip to content

Commit 38c34c5

Browse files
alexeykuzminckerr
authored andcommitted
Store patches meta info in patches configs (#470)
* Add PyYAML submodule https://github.com/yaml/pyyaml * Install PyYAML on bootstrap * Ignore dirty state of the pyyaml submodule It creates a "build" directory under its root when built. * Use argparse in the apply-patches script And provide a target arch as a named argument. * Store patches meta info in patches configs Use a patches config to defines order of patches, specify a patch owner, and provide a description for a patch. It should help us to avoid order collisions, make merge conflicts explicit, and help find owners since git blame might not be reliable because of frequent changes during Chromium upgrades.
1 parent dceeb59 commit 38c34c5

26 files changed

+597
-123
lines changed

.gitmodules

+4
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
path = vendor/boto
66
url = https://github.com/piotrbulinski/boto.git
77
ignore = untracked
8+
[submodule "vendor/pyyaml"]
9+
path = vendor/pyyaml
10+
url = https://github.com/yaml/pyyaml.git
11+
ignore = dirty

patches-mas/.patches.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
repo: src
2+
patches:
3+
-
4+
owners: zcbenz
5+
file: 001-blink_no_private_api.patch
6+
descripion: null
7+
-
8+
owners: zcbenz
9+
file: 002-no_private_api.patch
10+
descripion: null

patches-mips64el/.patches.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
repo: src
2+
patches:
3+
-
4+
owners: null
5+
file: 005-Add-support-for-using-seccomp_bpf-on-mips64el.patch
6+
descripion: null
7+
-
8+
owners: null
9+
file: 006-Set-kernal-page-size-to-16K-on-loongson-MIPS-archtec.patch
10+
descripion: null
11+
-
12+
owners: null
13+
file: 007-Add-mips64el-redhat-linux-to-gcc_toolchain-for-mips6.patch
14+
descripion: null
15+
-
16+
owners: null
17+
file: 009-Fix-mips-cross-toolchain-build-src-crypto-ec-p256-64.patch
18+
descripion: null
19+
-
20+
owners: null
21+
file: 010-Fix-error-about-relocation-truncated-to-fit-R_MIPS_C.patch
22+
descripion: null
23+
-
24+
owners: zcbenz
25+
file: 011-backport-sqlite-8a87f7e.patch
26+
descripion: null
27+
-
28+
owners: zcbenz
29+
file: 012-backport-sqlite-9851f2e.patch
30+
descripion: null
31+
-
32+
owners: zcbenz
33+
file: 013-backport-sqlite-3d8ec48.patch
34+
descripion: null
35+
-
36+
owners: zcbenz
37+
file: 014-support-old-nss.patch
38+
descripion: null
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
repo: src/third_party/ffmpeg
2+
patches:
3+
-
4+
owners: zcbenz
5+
file: 002-Fix-build_ffmpeg-with-cross-prefix-mips64el-redhat-l.patch
6+
descripion: null

patches-mips64el/v8/.patches.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
repo: src/v8
2+
patches:
3+
-
4+
owners: zcbenz
5+
file: 002-Fix-v8-loongson-page-size.patch
6+
descripion: null

0 commit comments

Comments
 (0)