From 8467586fc5546debe7b672fcebbf2b13aa6fa06c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Thu, 28 Dec 2017 18:46:36 +0000 Subject: Experiment: add some basic bazel support. This only defines targets needed to run test_common through bazel. Adding extra support for pyserial and other dependencies will take some time but would help with building a fully-hermetic test set. --- WORKSPACE | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 WORKSPACE (limited to 'WORKSPACE') diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 0000000..5bd7c82 --- /dev/null +++ b/WORKSPACE @@ -0,0 +1,20 @@ +# -*- python -*- + +http_archive( + name = "abseil_py_archive", + strip_prefix = "abseil-py-9dd9c42657fee7f4022d625e39ca0f1f25ce265e", + urls = ["https://github.com/abseil/abseil-py/archive/9dd9c42657fee7f4022d625e39ca0f1f25ce265e.zip"] +) + +# From abseil-py (neeeded as transitive dependency). +# Copyright 2017 The Abseil Authors. +new_http_archive( + name = "six_archive", + urls = [ + "http://mirror.bazel.build/pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz", + "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz", + ], + sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a", + strip_prefix = "six-1.10.0", + build_file = "third_party/six.BUILD", +) -- cgit v1.2.3