cefbuilds: Linux: Include cefsimple instead of cefclient in client distribution (issue #1916).

cefbuilds: Fix CEF source URL.
This commit is contained in:
Marshall Greenblatt 2016-06-06 18:03:15 -04:00
parent 733ff6ffff
commit 754638846e
2 changed files with 8 additions and 7 deletions

View File

@ -150,7 +150,7 @@ class cef_html_builder:
@staticmethod
def _get_cef_source_url(cef_version):
branch = cef_version.split('.')[2]
branch = cef_version.split('.')[1]
return 'https://bitbucket.org/chromiumembedded/cef/get/%s.tar.bz2' % branch
@staticmethod
@ -169,10 +169,14 @@ class cef_html_builder:
@staticmethod
def _get_tooltip_text(platform, cef_version, file):
if platform == 'linux32' or platform == 'linux64':
sample_app = 'cefsimple'
else:
sample_app = 'cefclient'
return {
'standard': 'Standard binary distribution. Includes header files, libcef_dll_wrapper source code, binary files, CMake configuration files and source code for the cefclient and cefsimple sample applications. See the included README.txt file for usage and build requirements.',
'minimal': 'Minimal binary distribution. Includes header files, libcef_dll_wrapper source code, Release build binary files and CMake configuration files. Does not include Debug build binary files or sample application source code. See the included README.txt file for usage and build requirements.',
'client': 'Release build of the cefclient sample application. See the included README.txt file for usage requirements.',
'client': 'Release build of the ' + sample_app + ' sample application. See the included README.txt file for usage requirements.',
'debug_symbols': 'Debug build symbols. Must be extracted and placed next to the CEF Debug binary file with the same name and version.',
'release_symbols': 'Release build symbols. Must be extracted and placed next to the CEF Release binary file with the same name and version.'
}[file['type']]

View File

@ -44,13 +44,10 @@ def make_fake_file_info(platform, version, type):
def create_fake_files(platform, version):
files = []
# All platforms create standard and minimal distributions.
# All platforms create standard, minimal and client distributions.
files.append(make_fake_file_info(platform, version, 'standard'))
files.append(make_fake_file_info(platform, version, 'minimal'))
# Non-Linux platforms create client distributions.
if platform.find('linux') == -1:
files.append(make_fake_file_info(platform, version, 'client'))
files.append(make_fake_file_info(platform, version, 'client'))
# Windows platforms create debug symbols.
if platform.find('windows') == 0: