From 18eed30723f5c73850737a693001ca02ecd7717b Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Wed, 10 Feb 2016 15:11:20 +0000 Subject: Fix //src/test/shell/bazel:bazel_example_test Python sources filegroup was broken by the addition of a new package -- MOS_MIGRATED_REVID=114323099 --- examples/py_native/BUILD | 5 ++++- examples/py_native/fibonacci/BUILD | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/py_native/BUILD b/examples/py_native/BUILD index 5a82223cf8..9d52fd6848 100644 --- a/examples/py_native/BUILD +++ b/examples/py_native/BUILD @@ -1,6 +1,9 @@ filegroup( name = "srcs", - srcs = glob(["*.py"]) + ["BUILD"], + srcs = glob(["*.py"]) + [ + "BUILD", + "//examples/py_native/fibonacci:srcs", + ], visibility = ["//examples:__pkg__"], ) diff --git a/examples/py_native/fibonacci/BUILD b/examples/py_native/fibonacci/BUILD index c3ee9b0fea..10da5110bf 100644 --- a/examples/py_native/fibonacci/BUILD +++ b/examples/py_native/fibonacci/BUILD @@ -1,3 +1,11 @@ +filegroup( + name = "srcs", + srcs = glob(["*.py"]) + [ + "BUILD", + ], + visibility = ["//examples/py_native:__pkg__"], +) + py_library( name = "fibonacci", srcs = ["fib.py"], -- cgit v1.2.3