From 78ffe43ec89edc484dca5cf581cf5d8cff558fd6 Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Thu, 3 Sep 2015 14:12:39 +0000 Subject: Add more source filegroups for the installer With those filegroup the tutorial is able to compile iOS and App Engine stuff. Here how to test: git clone https://github.com/bazelbuild/bazel git clone https://github.com/bazelbuild/examples export BAZEL_WORKSPACE=$PWD/bazel export EXAMPLES_WORKSPACE=$PWD/examples cd $BAZEL_WORKSPACE ./compile.sh ./output/bazel --bazelrc=/dev/null --nomaster_bazelrc \ build //scripts/packages:install.sh export BAZEL_INSTALLER=$(readlink bazel-bin)/scripts/packages/install.sh cd $EXAMPLES_WORKSPACE ./tutorial/ci/build.sh -- Change-Id: I553ab8821f5a5cdcc7a8b4614e23ca4c79581e4f Reviewed-on: https://bazel-review.googlesource.com/1878 MOS_MIGRATED_REVID=102239866 --- third_party/py/concurrent/BUILD | 6 ++++++ third_party/py/gflags/BUILD | 6 ++++++ third_party/py/mock/BUILD | 6 ++++++ 3 files changed, 18 insertions(+) (limited to 'third_party/py') diff --git a/third_party/py/concurrent/BUILD b/third_party/py/concurrent/BUILD index 5a9d3cff9f..913d4167e6 100644 --- a/third_party/py/concurrent/BUILD +++ b/third_party/py/concurrent/BUILD @@ -1,5 +1,11 @@ licenses(["notice"]) +filegroup( + name = "srcs", + srcs = glob(["**"]), + visibility = ["//third_party:__pkg__"], +) + py_library( name = "futures", srcs = glob(["**/*.py"]), diff --git a/third_party/py/gflags/BUILD b/third_party/py/gflags/BUILD index 6e475abaea..a8da15d93b 100644 --- a/third_party/py/gflags/BUILD +++ b/third_party/py/gflags/BUILD @@ -1,5 +1,11 @@ licenses(["notice"]) +filegroup( + name = "srcs", + srcs = glob(["**"]), + visibility = ["//third_party:__pkg__"], +) + py_library( name = "gflags", srcs = [ diff --git a/third_party/py/mock/BUILD b/third_party/py/mock/BUILD index 5cf52f660a..2d4961de9e 100644 --- a/third_party/py/mock/BUILD +++ b/third_party/py/mock/BUILD @@ -1,5 +1,11 @@ licenses(["notice"]) +filegroup( + name = "srcs", + srcs = glob(["**"]), + visibility = ["//third_party:__pkg__"], +) + py_library( name = "mock", srcs = ["__init__.py"], -- cgit v1.2.3