From: Cheng Zhao Date: Fri, 10 Apr 2015 11:00:06 +0000 (+0800) Subject: Don't link with shared_librayr of boringssl in Release mode X-Git-Tag: v0.23.0~5^2~5 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=dfa6fedaedfa12dd3c510f149af95c5a7e55f9f0;p=electron.git Don't link with shared_librayr of boringssl in Release mode --- diff --git a/atom.gyp b/atom.gyp index e4efefd6..ed09e236 100644 --- a/atom.gyp +++ b/atom.gyp @@ -125,9 +125,7 @@ '<@(libchromiumcontent_shared_v8_libraries)', ], }, { - 'copied_libraries': [ - '<(libchromiumcontent_dir)/boringssl.dll', - ], + 'copied_libraries': [], }], ], }, @@ -172,7 +170,6 @@ }, { 'copied_libraries': [ '<(PRODUCT_DIR)/lib/libnode.so', - '<(libchromiumcontent_dir)/libboringssl.so', ], }], ], @@ -422,7 +419,6 @@ }, { 'copied_libraries': [ '<(PRODUCT_DIR)/libnode.dylib', - '<(libchromiumcontent_dir)/libboringssl.dylib' ], }], ], @@ -442,16 +438,6 @@ }, ], 'postbuilds': [ - { - 'postbuild_name': 'Fix path of libboringssl', - 'action': [ - 'install_name_tool', - '-change', - '/usr/local/lib/libboringssl.dylib', - '@rpath/libboringssl.dylib', - '${BUILT_PRODUCTS_DIR}/<(product_name) Framework.framework/Versions/A/<(product_name) Framework', - ], - }, { 'postbuild_name': 'Fix path of libnode', 'action': [ diff --git a/script/create-dist.py b/script/create-dist.py index e957725d..faa04038 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -26,7 +26,6 @@ TARGET_BINARIES = { ], 'win32': [ 'atom.exe', - 'boringssl.dll', 'content_shell.pak', 'd3dcompiler_47.dll', 'ffmpegsumo.dll', @@ -44,7 +43,6 @@ TARGET_BINARIES = { 'atom', 'content_shell.pak', 'icudtl.dat', - 'libboringssl.so', 'libffmpegsumo.so', 'libnode.so', 'natives_blob.bin', @@ -118,16 +116,6 @@ def copy_chromedriver(): shutil.copyfile(src, dest) os.chmod(dest, os.stat(dest).st_mode | stat.S_IEXEC) - # Fix the linking with boringssl. - if TARGET_PLATFORM == 'linux': - execute(['chrpath', '-r', '$ORIGIN', dest]) - elif TARGET_PLATFORM == 'darwin': - shutil.copy2(os.path.join(CHROMIUM_DIR, 'libboringssl.dylib'), DIST_DIR) - execute(['install_name_tool', '-change', - '/usr/local/lib/libboringssl.dylib', - '@loader_path/libboringssl.dylib', - dest]) - def copy_license(): shutil.copy2(os.path.join(SOURCE_ROOT, 'LICENSE'), DIST_DIR) @@ -186,11 +174,9 @@ def create_chromedriver_zip(): with scoped_cwd(DIST_DIR): files = ['LICENSE'] if TARGET_PLATFORM == 'win32': - files += ['chromedriver.exe', 'boringssl.dll'] - elif TARGET_PLATFORM == 'darwin': - files += ['chromedriver', 'libboringssl.dylib'] - elif TARGET_PLATFORM == 'linux': - files += ['chromedriver', 'libboringssl.so'] + files += ['chromedriver.exe'] + else: + files += ['chromedriver'] make_zip(zip_file, files, []) diff --git a/script/lib/config.py b/script/lib/config.py index 96634801..388ca02f 100644 --- a/script/lib/config.py +++ b/script/lib/config.py @@ -4,7 +4,7 @@ import platform import sys BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' -LIBCHROMIUMCONTENT_COMMIT = '0718fa8b44e004a39ee2511858abbef1dae89cef' +LIBCHROMIUMCONTENT_COMMIT = 'f1ad1412461ba3345a27cfe935ffc872dba0ac5b' ARCH = { 'cygwin': '32bit', diff --git a/vendor/brightray b/vendor/brightray index 0f37e5fa..14b4dc71 160000 --- a/vendor/brightray +++ b/vendor/brightray @@ -1 +1 @@ -Subproject commit 0f37e5fa4d5273f80c91d485e0ce6edef683a26e +Subproject commit 14b4dc7151ded676d7133f0da17033149a4954df