Please help with custom build process. Weird Ninja error!


Hi guys,

I’m trying to build Electron with a custom libchromiumcontent module based on Chromium 58:

I’m getting the following error when running script/build -t x64:

./script/build -t x64
ninja: Entering directory `src/out/Release'
ninja: error: '../../net/data/ssl/wosign/wosign_domains.gperf', needed by 'gen/net/data/ssl/wosign/', missing and no known rule to make it
Traceback (most recent call last):
  File "./script/build", line 56, in <module>
  File "./script/build", line 42, in main
    subprocess.check_call([NINJA, '-C', config_dir, target], env=env)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/demian/www/libchromiumcontent/vendor/depot_tools/ninja', '-C', 'src/out/Release', 'chromiumcontent:chromiumcontent']' returned non-zero exit status 1

Patches applied correctly.
Can someone please provide a more useful error message or a tip on how to solve this issue?