Download prebuilt clang

This commit is contained in:
Cheng Zhao 2015-07-01 14:27:15 +08:00
parent dbb6723dfa
commit bceac2ab7f
3 changed files with 86 additions and 0 deletions

View file

@ -29,6 +29,9 @@ def main():
update_node_modules('.')
bootstrap_brightray(args.dev, args.url, args.target_arch)
if PLATFORM != 'win32':
update_clang()
create_chrome_version_h()
touch_config_gypi()
run_update()
@ -105,6 +108,11 @@ def update_win32_python():
if not os.path.exists('python_26'):
execute_stdout(['git', 'clone', PYTHON_26_URL])
def update_clang():
execute_stdout([os.path.join(SOURCE_ROOT, 'script', 'update-clang.sh')])
def create_chrome_version_h():
version_file = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor',
'libchromiumcontent', 'VERSION')