diff options
author | 2016-07-27 20:29:48 +0000 | |
---|---|---|
committer | 2016-07-28 18:36:30 -0400 | |
commit | 0e75edb5a314fd2b8b977432d534ebe4027da548 (patch) | |
tree | d600e1fae276e44858798e430187d7de3f19945b /src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java | |
parent | 05c0bd286b3802ad3d7faf48bc19e86929a9cf6d (diff) |
Add file:// support to bazel's new_http_archive rule.
This modifies HttpConnection.java to support other URLConnections besides
simply HttpURLConnection. Supporting at least file://, and possibly ftp:// in
theory.
In the absence of AAR android support, this allows me to import a Google Play Services AAR library using a combination of new_http_archive from file://$ANDROID_SDK/... and a custom BUILD file that repackages it via android_library.
I added a check against zero-sized files, but I'm not 100% sure it's required.
--
MOS_MIGRATED_REVID=128621789
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java')
0 files changed, 0 insertions, 0 deletions