electron / libchromiumcontent

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

build: [gn] use electron's custom sysroots #601

Closed nornagon closed 6 years ago

nornagon commented 6 years ago

The GYP build uses a version of install-sysroot.py that was copied out of //build/linux/sysroot_scripts some time ago. This change will only affect GN, and it will cause the GN build to use the custom-built Electron sysroots, stored at http://s3.amazonaws.com/gh-contractor-zcbenz/toolchain and maintained by @zcbenz, instead of chromium's sysroots.

I'm not terribly satisfied with this solution, as it means we need to expend effort to maintain up-to-date sysroots. As far as I know, the only reason we build our own sysroot is to add the libnotify headers. Some other solutions that might allow us to use chromium's sysroot unmodified: