Fix logic errors
This commit is contained in:
parent
098d72b741
commit
34b4ebd9f3
1 changed files with 2 additions and 3 deletions
|
@ -42,15 +42,14 @@ def main():
|
||||||
|
|
||||||
# Redirect to use local libchromiumcontent build.
|
# Redirect to use local libchromiumcontent build.
|
||||||
if args.build_libchromiumcontent:
|
if args.build_libchromiumcontent:
|
||||||
build_libchromiumcontent(args.verbose, args.target_arch, args.disable_clang,
|
build_libchromiumcontent(args.verbose, args.target_arch, defines)
|
||||||
args.clang_dir)
|
|
||||||
dist_dir = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor',
|
dist_dir = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor',
|
||||||
'libchromiumcontent', 'dist', 'main')
|
'libchromiumcontent', 'dist', 'main')
|
||||||
libcc_source_path = os.path.join(dist_dir, 'src')
|
libcc_source_path = os.path.join(dist_dir, 'src')
|
||||||
libcc_shared_library_path = os.path.join(dist_dir, 'shared_library')
|
libcc_shared_library_path = os.path.join(dist_dir, 'shared_library')
|
||||||
libcc_static_library_path = os.path.join(dist_dir, 'static_library')
|
libcc_static_library_path = os.path.join(dist_dir, 'static_library')
|
||||||
|
|
||||||
if PLATFORM != 'win32' and not args.disable_clang and args.clang_dir != '':
|
if PLATFORM != 'win32' and not args.disable_clang and args.clang_dir == '':
|
||||||
update_clang()
|
update_clang()
|
||||||
|
|
||||||
setup_python_libs()
|
setup_python_libs()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue