mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Linux: Add support for ozone builds (fixes issue #2296).
Ozone builds can run with different platform backends (Wayland, X11, etc). Usage of the Views framework is required, and the cefclient sample application is not supported. Example usage: $ export GN_DEFINES="use_ozone=true" $ cd /path/to/chromium/src/cef $ ./cef_create_projects.sh $ cd /path/to/chromium/src $ ninja -C out/Release_GN_x64 cefsimple $ ./out/Release_GN_x64/cefsimple --use-views --ozone-platform=wayland Binary distributions can be created by passing the `--ozone` flag to make_distrib.py.
This commit is contained in:
committed by
Marshall Greenblatt
parent
07863c0d46
commit
491253fa03
@ -132,3 +132,14 @@ for dir, config in configs.items():
|
||||
RunAction(src_dir, cmd)
|
||||
if platform == 'windows':
|
||||
issue_1999.apply(out_path)
|
||||
|
||||
gn_dir = configs.keys()[0]
|
||||
out_gn_path = os.path.join(src_dir, 'out', gn_dir)
|
||||
gn_path = os.path.join(out_gn_path, 'args.gn')
|
||||
print "\nGenerating CEF buildinfo header file..."
|
||||
cmd = [
|
||||
'python', 'tools/make_config_header.py', '--header', 'include/cef_config.h',
|
||||
'--cef_gn_config', gn_path
|
||||
]
|
||||
|
||||
RunAction(cef_dir, cmd)
|
||||
|
Reference in New Issue
Block a user