Specify the commit of libchromiumcontent to download.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 31 Jan 2014 04:09:43 +0000 (12:09 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 31 Jan 2014 04:09:43 +0000 (12:09 +0800)
script/bootstrap.py
script/create-dist.py
vendor/brightray

index 10dfde5..d9c01eb 100755 (executable)
@@ -12,6 +12,7 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 VENDOR_DIR = os.path.join(SOURCE_ROOT, 'vendor')
 BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'
 PYTHON_26_URL = 'https://chromium.googlesource.com/chromium/deps/python_26'
+LIBCHROMIUMCONTENT_COMMIT = 'b27290717c08f8c6a58067d3c3725d68b4e6a2e5'
 
 
 def main():
@@ -52,7 +53,8 @@ def update_submodules():
 
 def bootstrap_brightray(url):
   bootstrap = os.path.join(VENDOR_DIR, 'brightray', 'script', 'bootstrap')
-  subprocess.check_call([sys.executable, bootstrap, url])
+  subprocess.check_call([sys.executable, bootstrap, '--commit',
+                         LIBCHROMIUMCONTENT_COMMIT, url])
 
 
 def update_apm():
index 5d96a8f..02ef948 100755 (executable)
@@ -14,6 +14,7 @@ from lib.util import scoped_cwd, rm_rf, get_atom_shell_version, make_zip, \
 ATOM_SHELL_VRESION = get_atom_shell_version()
 NODE_VERSION = 'v0.11.10'
 BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'
+LIBCHROMIUMCONTENT_COMMIT = 'b27290717c08f8c6a58067d3c3725d68b4e6a2e5'
 
 SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 DIST_DIR = os.path.join(SOURCE_ROOT, 'dist')
@@ -163,7 +164,8 @@ def download_libchromiumcontent_symbols(url):
 
   download = os.path.join(brightray_dir, 'libchromiumcontent', 'script',
                           'download')
-  subprocess.check_call([sys.executable, download, '-f', '-s', url, target_dir])
+  subprocess.check_call([sys.executable, download, '-f', '-s', '-c',
+                         LIBCHROMIUMCONTENT_COMMIT, url, target_dir])
 
 
 def create_symbols():
index 6fa8c1c..785e744 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 6fa8c1c1fce59577bc0a2c03378ad16c20aef4e7
+Subproject commit 785e744bd4a433bad91a3f71d294f85401606eb5