I'm trying to make a CEF distribution package, which means it needs to be based on the tarball, without downloading anything on-the-fly (for build reproducibility and availability of source, among others). I've downloaded the tarball called “CEF Sources” from the Spotify build page (https://bitbucket.org/chromiumembedded/ ... 82.tar.bz2), unpacked it, and tried to build against my Chromium sources.
However, it pretty quickly hit some snags. When trying to run ./cef_create_projects.sh, it complains that it doesn't have depot_tools in PATH. So I clone that from https://chromium.googlesource.com/chrom ... _tools.git and put it in PATH (I hope to get rid of that later, but OK). But even then, I get
- Code: Select all
pannekake:..membedded-cef-96f907e55a7e> /usr/bin/python tools/make_version_header.py --header include/cef_version.h --cef_version VERSION --chrome_version ./chromium/chrome/VERSION --cpp_header_dir include
Traceback (most recent call last):
File "tools/make_version_header.py", line 188, in <module>
options.cef_version, options.cpp_header_dir)
File "tools/make_version_header.py", line 80, in write_version_header
raise Exception('Not a valid checkout')
Exception: Not a valid checkout
Seemingly I must be in a git checkout to build cef_version.h, and there's no cef_version.h in the tarballs that I can see. Is this meant to work at all?