mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Linux: Add CEF_INSTALL_SYSROOT env variable for calling install-sysroot.py (see issue #1990)
This commit is contained in:
@ -39,6 +39,17 @@ print("\nPatching build configuration and source files for CEF...")
|
|||||||
cmd = [sys.executable, 'tools/patcher.py']
|
cmd = [sys.executable, 'tools/patcher.py']
|
||||||
RunAction(cef_dir, cmd)
|
RunAction(cef_dir, cmd)
|
||||||
|
|
||||||
|
if platform == 'linux' and 'CEF_INSTALL_SYSROOT' in os.environ:
|
||||||
|
for arch in os.environ['CEF_INSTALL_SYSROOT'].split(','):
|
||||||
|
if len(arch) == 0:
|
||||||
|
continue
|
||||||
|
print("\nInstalling %s sysroot environment..." % arch)
|
||||||
|
cmd = [
|
||||||
|
sys.executable, 'build/linux/sysroot_scripts/install-sysroot.py',
|
||||||
|
'--arch', arch
|
||||||
|
]
|
||||||
|
RunAction(src_dir, cmd)
|
||||||
|
|
||||||
print("\nGenerating CEF project files...")
|
print("\nGenerating CEF project files...")
|
||||||
|
|
||||||
gn_args = {}
|
gn_args = {}
|
||||||
|
Reference in New Issue
Block a user