From fd7cf772f807a18cdc7312d5125c2e81b67f72c2 Mon Sep 17 00:00:00 2001 From: Gabriel Barth-Maron Date: Wed, 6 May 2020 07:37:19 -0700 Subject: [PATCH] Reverb: Create a new top-level BUILD file. PiperOrigin-RevId: 310148126 Change-Id: I9034baf5681f96928b5c9a4be7a10e1bec80a478 --- BUILD | 18 +----------------- reverb/pip_package/BUILD | 19 +++++++++++++++++++ third_party/opensource_only.files | 1 + 3 files changed, 21 insertions(+), 17 deletions(-) create mode 100644 reverb/pip_package/BUILD diff --git a/BUILD b/BUILD index e5f5386..408d31f 100644 --- a/BUILD +++ b/BUILD @@ -1,19 +1,3 @@ licenses(["notice"]) # Apache 2.0 -filegroup( - name = "licenses", - data = [ - "//:LICENSE", - ], -) - -sh_binary( - name = "build_pip_package", - srcs = ["build_pip_package.sh"], - data = [ - "MANIFEST.in", - "licenses", - "setup.py", - "//reverb", - ], -) +exports_files(["LICENSE"]) diff --git a/reverb/pip_package/BUILD b/reverb/pip_package/BUILD new file mode 100644 index 0000000..e5f5386 --- /dev/null +++ b/reverb/pip_package/BUILD @@ -0,0 +1,19 @@ +licenses(["notice"]) # Apache 2.0 + +filegroup( + name = "licenses", + data = [ + "//:LICENSE", + ], +) + +sh_binary( + name = "build_pip_package", + srcs = ["build_pip_package.sh"], + data = [ + "MANIFEST.in", + "licenses", + "setup.py", + "//reverb", + ], +) diff --git a/third_party/opensource_only.files b/third_party/opensource_only.files index 54455d7..3893a18 100644 --- a/third_party/opensource_only.files +++ b/third_party/opensource_only.files @@ -1,5 +1,6 @@ BUILD reverb/cc/platform/default/BUILD +reverb/pip_package/BUILD reverb/pip_package/MANIFEST.in reverb/pip_package/setup.py third_party/BUILD