electron / libchromiumcontent

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

build: [gn] resolve resource path conflict #615

Closed nornagon closed 6 years ago

nornagon commented 6 years ago

Code in //ui expects resources to exist in fixed locations, namely:

alongside chrome.exe. However, Electron puts different things in those .pak files than the chrome build does, and needs to generate them in the same place, which causes GN to throw errors (despite the fact that no target in the transitive dependencies from //electron causes the //chrome version of those resources to be generated).