Chromium Code Reviews| Index: tools/create_sdk.py |
| diff --git a/tools/create_sdk.py b/tools/create_sdk.py |
| index a3235e8b2524f425a2e7cfff91c7803756925276..158fac17e075ef21b1f7646f09e6f171471e4fbb 100755 |
| --- a/tools/create_sdk.py |
| +++ b/tools/create_sdk.py |
| @@ -263,6 +263,21 @@ def Main(argv): |
| "var pathTo7zip = '7zip/7za.exe';"), |
| ]) |
| + # Copy in cURL on all operating systems, since we need the certificates file |
| + # even outside Windows. |
| + copytree(join(HOME, 'third_party', 'curl'), |
| + join(join(UTIL, 'pub'), 'curl'), |
| + ignore=ignore_patterns('.svn')) |
|
Bob Nystrom
2012/11/19 21:50:30
How about just copying the needed files on non-Win
nweiz
2012/11/19 23:00:37
Done.
|
| + |
| + ReplaceInFiles([ |
| + join(UTIL, 'pub', 'curl_client.dart'), |
| + ], [ |
| + ("var pathToCurl = '../../third_party/curl/curl.exe';", |
| + "var pathToCurl = 'curl/curl.exe';"), |
| + ("var pathToCertificates = '../../third_party/curl/ca-certificates.crt';", |
| + "var pathToCertificates = 'curl/ca-certificates.crt';"), |
| + ]) |
| + |
| version = utils.GetVersion() |
| # Copy dart2js/dartdoc/pub. |