electron / libchromiumcontent

Shared library build of Chromium’s Content module
MIT License
485 stars 183 forks source link

build: optionally commit patches after they have been applied #647

Closed alexeykuzmin closed 6 years ago

alexeykuzmin commented 6 years ago

Adds an optional --commit arg to the apply-patches script. Shouldn't affect regular builds in any way, but will allow the GN build to commit libcc patches after they have been applied to prevent issues with untracked files in the Chromium tree.

Step 2 of this change will be converting all .patch files to a format that git-format-patch understands, this way we will get rid of authors and descriptions in the .patches.yaml files and will be able to commit those patches easier. It will be done in a separate PR.

/cc @nornagon

alexeykuzmin commented 6 years ago

@ckerr fixed