mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Set the product version string using make_version_header.py and the chrome/VERSION file (issue #383).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@323 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -9,12 +9,18 @@ import os, sys
|
||||
# The CEF root directory is the parent directory of _this_ script.
|
||||
cef_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
|
||||
|
||||
print "\nGenerating CEF version header file..."
|
||||
gyper = [ 'python', 'tools/make_version_header.py',
|
||||
'--header', 'version.h',
|
||||
'--version', '../chrome/VERSION' ]
|
||||
RunAction(cef_dir, gyper)
|
||||
|
||||
print "\nPatching build configuration and source files for CEF..."
|
||||
patcher = [ 'python', 'tools/patcher.py',
|
||||
'--patch-config', 'patch/patch.cfg' ];
|
||||
RunAction(cef_dir, patcher);
|
||||
RunAction(cef_dir, patcher)
|
||||
|
||||
print "\nGenerating CEF project files..."
|
||||
os.environ['CEF_DIRECTORY'] = os.path.basename(cef_dir);
|
||||
gyper = [ 'python', 'tools/gyp_cef', 'cef.gyp', '-I', 'cef.gypi' ]
|
||||
RunAction(cef_dir, gyper);
|
||||
RunAction(cef_dir, gyper)
|
||||
|
Reference in New Issue
Block a user