mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-16 20:20:51 +01:00
Linux: Include cefsimple instead of cefclient in client distribution (issue #1916)
This commit is contained in:
parent
76a40cafe3
commit
fe9c24e307
@ -463,13 +463,6 @@ if (options.noreleasebuild and \
|
|||||||
parser.print_help(sys.stderr)
|
parser.print_help(sys.stderr)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if (options.clientdistrib or options.clientdistribonly) and \
|
|
||||||
options.buildtarget.find('cefclient') == -1:
|
|
||||||
print "A client distribution cannot be generated if --build-target "+\
|
|
||||||
"excludes cefclient."
|
|
||||||
parser.print_help(sys.stderr)
|
|
||||||
sys.exit()
|
|
||||||
|
|
||||||
# Operating system.
|
# Operating system.
|
||||||
if options.dryrun and options.dryrunplatform is not None:
|
if options.dryrun and options.dryrunplatform is not None:
|
||||||
platform = options.dryrunplatform
|
platform = options.dryrunplatform
|
||||||
@ -492,6 +485,17 @@ if platform == 'windows':
|
|||||||
else:
|
else:
|
||||||
script_ext = '.sh'
|
script_ext = '.sh'
|
||||||
|
|
||||||
|
if options.clientdistrib or options.clientdistribonly:
|
||||||
|
if platform == 'linux':
|
||||||
|
client_app = 'cefsimple'
|
||||||
|
else:
|
||||||
|
client_app = 'cefclient'
|
||||||
|
if options.buildtarget.find(client_app) == -1:
|
||||||
|
print 'A client distribution cannot be generated if --build-target '+\
|
||||||
|
'excludes %s.' % client_app
|
||||||
|
parser.print_help(sys.stderr)
|
||||||
|
sys.exit()
|
||||||
|
|
||||||
if options.x64build and platform != 'windows' and platform != 'macosx':
|
if options.x64build and platform != 'windows' and platform != 'macosx':
|
||||||
print 'The x64 build option is only used on Windows and Mac OS X.'
|
print 'The x64 build option is only used on Windows and Mac OS X.'
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user