Chromium Code Reviews| Index: components/cronet/tools/package_ios.py |
| diff --git a/components/cronet/tools/package_ios.py b/components/cronet/tools/package_ios.py |
| index 83cdff8ae5553c95fd8d3e2bf95b79dd7b8e45ba..f725ad9db063fa795d02461d701d632dfac326c2 100755 |
| --- a/components/cronet/tools/package_ios.py |
| +++ b/components/cronet/tools/package_ios.py |
| @@ -43,7 +43,7 @@ def package_ios(out_dir, build_dir, build_config): |
| build_dir_sim = build_dir |
| build_dir_dev = build_dir +'-iphoneos' |
| build_target = 'cronet_package' |
| - target_dir = out_dir + "/Cronet" |
| + target_dir = out_dir |
| return build(build_dir_sim, build_target) or \ |
| build(build_dir_dev, build_target) or \ |
| copy_build_dir(target_dir, build_dir_dev + "/cronet") or \ |
| @@ -75,6 +75,13 @@ def package_ios_framework(out_dir='out/Framework', extra_options=''): |
| if 'Release' in build_dir: |
| shutil.copytree(os.path.join('out', build_dir, 'Cronet.framework.dSYM'), |
| os.path.join(out_dir, build_dir, 'Cronet.framework.dSYM')) |
| + # Copy the version file |
| + shutil.copy2('chrome/VERSION', out_dir) |
| + # Copy the headers |
| + headers_dir = os.path.join(out_dir, 'Headers') |
| + os.makedirs(headers_dir) |
| + shutil.copy2('components/cronet/ios/cronet_c_for_grpc.h', headers_dir) |
|
mef
2016/05/25 17:55:31
Could / should those copies come from Framework di
kapishnikov
2016/05/25 18:12:53
Done.
|
| + shutil.copy2('components/cronet/ios/Cronet.h', headers_dir) |
| def main(): |