aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar Dan Smilkov <smilkov@google.com>2016-09-06 17:58:53 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-09-06 19:02:26 -0700
commit33c9c02cd6ef2640caa4c96c9de4e8392c853d50 (patch)
treeb01c51766d91999f75a2dd526ebcd627cf889b69 /WORKSPACE
parent91ce95d497ec2957535b2ce6a965cd8269d723e5 (diff)
Use http_file instead of new_http_archive for some external dependencies.
1) Use http_file for the following external deps: - Three.js since the github releases are extremely large (>500mb). - numericjs since the compiled js is not checked into the github repo or even bower. It is hosted on the numericjs website. 2) Link the compiled source from ES6 components (e.g. Embedding Projector) into TensorBoard. In other words, new releases of vulcanized tf-tensorboard.html will now include the compiled code for the embedding projector (not visible yet in the UI). 3) Make bower_dependency_sync script generate one more file, dist/bazel-html-imports.html. This file imports the external deps that use http_file (via <script> tag) since they have special paths in bazel runfiles. Change: 132388361
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE32
1 files changed, 16 insertions, 16 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 1c396a4c0e..af5fef3614 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -234,11 +234,9 @@ new_http_archive(
strip_prefix = "neon-animation-1.2.2",
)
-new_http_archive(
- name = "numericjs",
- build_file = "bower.BUILD",
- url = "https://github.com/sloisel/numeric/archive/v1.2.6.tar.gz",
- strip_prefix = "numeric-1.2.6",
+http_file(
+ name = "numericjs_numeric_1_2_6_min_js",
+ url = "http://www.numericjs.com/lib/numeric-1.2.6.min.js",
)
new_http_archive(
@@ -300,8 +298,8 @@ new_http_archive(
new_http_archive(
name = "paper_input",
build_file = "bower.BUILD",
- url = "https://github.com/polymerelements/paper-input/archive/v1.1.14.tar.gz",
- strip_prefix = "paper-input-1.1.14",
+ url = "https://github.com/polymerelements/paper-input/archive/v1.1.18.tar.gz",
+ strip_prefix = "paper-input-1.1.18",
)
new_http_archive(
@@ -430,10 +428,14 @@ new_http_archive(
strip_prefix = "promise-polyfill-1.0.0",
)
-new_http_archive(
- name = "three_js",
- build_file = "bower.BUILD",
- url = "https://github.com/mrdoob/three.js/archive/r77.tar.gz",
+http_file(
+ name = "three_js_three_min_js",
+ url = "https://raw.githubusercontent.com/mrdoob/three.js/r77/build/three.min.js",
+)
+
+http_file(
+ name = "three_js_orbitcontrols_js",
+ url = "https://raw.githubusercontent.com/mrdoob/three.js/r77/examples/js/controls/OrbitControls.js",
)
new_http_archive(
@@ -450,9 +452,7 @@ new_http_archive(
strip_prefix = "webcomponentsjs-0.7.22",
)
-new_http_archive(
- name = "weblas",
- build_file = "bower.BUILD",
- url = "https://github.com/waylonflinn/weblas/archive/v0.9.0.tar.gz",
- strip_prefix = "weblas-0.9.0",
+http_file(
+ name = "weblas_weblas_js",
+ url = "https://raw.githubusercontent.com/waylonflinn/weblas/v0.9.0/dist/weblas.js",
)