Please help with custom build process. Weird Ninja error!


#1

Hi guys,

I’m trying to build Electron with a custom libchromiumcontent module based on Chromium 58: https://github.com/demian85/libchromiumcontent/tree/chrome-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/wosign_domains-inc.cc', missing and no known rule to make it
Traceback (most recent call last):
  File "./script/build", line 56, in <module>
    sys.exit(main())
  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/subprocess.py", 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?

Thanks.