electron / libchromiumcontent

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

build: refactor mas patches #605

Closed nornagon closed 6 years ago

nornagon commented 6 years ago

This PR merges the MAS patches into the common/ directory, so they'll be applied unconditionally at patch time, and their functionality toggled at build time. This is because the GN build should not rely on the MAS_BUILD environment variable, but instead only on the GN args system (e.g. so it's possible to have out/Release and out/Release-mas in parallel, without having to coordinate what environment variables are set).