From ecc8dca8ba160157cf23ed7c82773de2a73eba88 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Fri, 5 May 2023 10:26:29 -0700 Subject: [PATCH] Internal change PiperOrigin-RevId: 529752098 --- mediapipe/framework/BUILD | 4 +++- mediapipe/framework/profiler/testing/BUILD | 4 +--- mediapipe/model_maker/models/gesture_recognizer/BUILD | 4 +--- mediapipe/model_maker/models/text_classifier/BUILD | 4 +--- mediapipe/model_maker/python/core/BUILD | 4 +--- mediapipe/model_maker/python/core/data/BUILD | 4 +--- mediapipe/model_maker/python/core/tasks/BUILD | 4 +--- mediapipe/model_maker/python/core/utils/BUILD | 4 +--- mediapipe/model_maker/python/text/core/BUILD | 4 +--- mediapipe/model_maker/python/text/text_classifier/BUILD | 4 +--- mediapipe/model_maker/python/vision/BUILD | 4 +--- mediapipe/model_maker/python/vision/gesture_recognizer/BUILD | 4 +--- mediapipe/model_maker/python/vision/image_classifier/BUILD | 4 +--- mediapipe/model_maker/python/vision/object_detector/BUILD | 4 +--- 14 files changed, 16 insertions(+), 40 deletions(-) diff --git a/mediapipe/framework/BUILD b/mediapipe/framework/BUILD index ae788ed58..126261c90 100644 --- a/mediapipe/framework/BUILD +++ b/mediapipe/framework/BUILD @@ -33,7 +33,9 @@ bzl_library( srcs = [ "transitive_protos.bzl", ], - visibility = ["//mediapipe/framework:__subpackages__"], + visibility = [ + "//mediapipe/framework:__subpackages__", + ], ) bzl_library( diff --git a/mediapipe/framework/profiler/testing/BUILD b/mediapipe/framework/profiler/testing/BUILD index 0b0d256e5..67668ef7d 100644 --- a/mediapipe/framework/profiler/testing/BUILD +++ b/mediapipe/framework/profiler/testing/BUILD @@ -15,9 +15,7 @@ licenses(["notice"]) -package( - default_visibility = ["//mediapipe/framework:__subpackages__"], -) +package(default_visibility = ["//mediapipe/framework:__subpackages__"]) cc_library( name = "simple_calculator", diff --git a/mediapipe/model_maker/models/gesture_recognizer/BUILD b/mediapipe/model_maker/models/gesture_recognizer/BUILD index 947508f1b..c57d7a2c9 100644 --- a/mediapipe/model_maker/models/gesture_recognizer/BUILD +++ b/mediapipe/model_maker/models/gesture_recognizer/BUILD @@ -19,9 +19,7 @@ load( licenses(["notice"]) -package( - default_visibility = ["//mediapipe/model_maker/python/vision/gesture_recognizer:__subpackages__"], -) +package(default_visibility = ["//mediapipe/model_maker/python/vision/gesture_recognizer:__subpackages__"]) mediapipe_files( srcs = [ diff --git a/mediapipe/model_maker/models/text_classifier/BUILD b/mediapipe/model_maker/models/text_classifier/BUILD index d9d55048d..460d6cfd1 100644 --- a/mediapipe/model_maker/models/text_classifier/BUILD +++ b/mediapipe/model_maker/models/text_classifier/BUILD @@ -19,9 +19,7 @@ load( licenses(["notice"]) -package( - default_visibility = ["//mediapipe/model_maker/python/text/text_classifier:__subpackages__"], -) +package(default_visibility = ["//mediapipe/model_maker/python/text/text_classifier:__subpackages__"]) mediapipe_files( srcs = [ diff --git a/mediapipe/model_maker/python/core/BUILD b/mediapipe/model_maker/python/core/BUILD index 6331e638e..0ed20a2fe 100644 --- a/mediapipe/model_maker/python/core/BUILD +++ b/mediapipe/model_maker/python/core/BUILD @@ -14,9 +14,7 @@ # Placeholder for internal Python strict library and test compatibility macro. -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) licenses(["notice"]) diff --git a/mediapipe/model_maker/python/core/data/BUILD b/mediapipe/model_maker/python/core/data/BUILD index cc0381f60..1c2fb7a44 100644 --- a/mediapipe/model_maker/python/core/data/BUILD +++ b/mediapipe/model_maker/python/core/data/BUILD @@ -17,9 +17,7 @@ licenses(["notice"]) -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) py_library( name = "data_util", diff --git a/mediapipe/model_maker/python/core/tasks/BUILD b/mediapipe/model_maker/python/core/tasks/BUILD index 6a3e60c97..818d78feb 100644 --- a/mediapipe/model_maker/python/core/tasks/BUILD +++ b/mediapipe/model_maker/python/core/tasks/BUILD @@ -15,9 +15,7 @@ # Placeholder for internal Python strict library and test compatibility macro. # Placeholder for internal Python strict test compatibility macro. -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) licenses(["notice"]) diff --git a/mediapipe/model_maker/python/core/utils/BUILD b/mediapipe/model_maker/python/core/utils/BUILD index e86cbb1e3..ef9cab290 100644 --- a/mediapipe/model_maker/python/core/utils/BUILD +++ b/mediapipe/model_maker/python/core/utils/BUILD @@ -17,9 +17,7 @@ licenses(["notice"]) -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) py_library( name = "test_util", diff --git a/mediapipe/model_maker/python/text/core/BUILD b/mediapipe/model_maker/python/text/core/BUILD index 3ba4e8e6e..d99f46b77 100644 --- a/mediapipe/model_maker/python/text/core/BUILD +++ b/mediapipe/model_maker/python/text/core/BUILD @@ -14,9 +14,7 @@ # Placeholder for internal Python strict library and test compatibility macro. -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) licenses(["notice"]) diff --git a/mediapipe/model_maker/python/text/text_classifier/BUILD b/mediapipe/model_maker/python/text/text_classifier/BUILD index 1ae3e2873..9fe96849b 100644 --- a/mediapipe/model_maker/python/text/text_classifier/BUILD +++ b/mediapipe/model_maker/python/text/text_classifier/BUILD @@ -15,9 +15,7 @@ # Placeholder for internal Python strict library and test compatibility macro. # Placeholder for internal Python strict test compatibility macro. -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) licenses(["notice"]) diff --git a/mediapipe/model_maker/python/vision/BUILD b/mediapipe/model_maker/python/vision/BUILD index 4410d859f..b7d0d13a6 100644 --- a/mediapipe/model_maker/python/vision/BUILD +++ b/mediapipe/model_maker/python/vision/BUILD @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) licenses(["notice"]) diff --git a/mediapipe/model_maker/python/vision/gesture_recognizer/BUILD b/mediapipe/model_maker/python/vision/gesture_recognizer/BUILD index 578723fb0..27f8934b3 100644 --- a/mediapipe/model_maker/python/vision/gesture_recognizer/BUILD +++ b/mediapipe/model_maker/python/vision/gesture_recognizer/BUILD @@ -17,9 +17,7 @@ licenses(["notice"]) -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) # TODO: Remove the unnecessary test data once the demo data are moved to an open-sourced # directory. diff --git a/mediapipe/model_maker/python/vision/image_classifier/BUILD b/mediapipe/model_maker/python/vision/image_classifier/BUILD index 3b6d7551a..73d1d2f7c 100644 --- a/mediapipe/model_maker/python/vision/image_classifier/BUILD +++ b/mediapipe/model_maker/python/vision/image_classifier/BUILD @@ -17,9 +17,7 @@ licenses(["notice"]) -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) ###################################################################### # Public target of the MediaPipe Model Maker ImageClassifier APIs. diff --git a/mediapipe/model_maker/python/vision/object_detector/BUILD b/mediapipe/model_maker/python/vision/object_detector/BUILD index d8177a083..75c08dbc8 100644 --- a/mediapipe/model_maker/python/vision/object_detector/BUILD +++ b/mediapipe/model_maker/python/vision/object_detector/BUILD @@ -17,9 +17,7 @@ licenses(["notice"]) -package( - default_visibility = ["//mediapipe:__subpackages__"], -) +package(default_visibility = ["//mediapipe:__subpackages__"]) py_library( name = "object_detector_import",