Fix creating empty chromedriver archive.

This commit is contained in:
Cheng Zhao 2014-09-20 15:24:10 +00:00
parent b3770bc407
commit 2768b1ff64

View file

@ -147,6 +147,10 @@ def copy_binaries():
def copy_chromedriver():
build = os.path.join(SOURCE_ROOT, 'script', 'build.py')
execute([sys.executable, build, '-c', 'Release', '-t', 'copy_chromedriver'])
binary = 'chromedriver'
if TARGET_PLATFORM == 'win32':
binary += '.exe'
shutil.copy2(os.path.join(OUT_DIR, binary), DIST_DIR)
def copy_headers():