From 49d2cf287db08b1f09f1246096cabf9c9a951039 Mon Sep 17 00:00:00 2001 From: Rahat Mahmood Date: Wed, 20 May 2020 18:33:51 -0700 Subject: Remove implicit dependencies for leaf packages. These packages don't actually use go_stateify or go_marshal, but end up implicitly dependent on the respective packages due to our build rules. These unnecessary dependencies make them unusuable in certain contexts due to circular dependency. PiperOrigin-RevId: 312595738 --- pkg/linewriter/BUILD | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/linewriter/BUILD') diff --git a/pkg/linewriter/BUILD b/pkg/linewriter/BUILD index 41bf104d0..f84d03700 100644 --- a/pkg/linewriter/BUILD +++ b/pkg/linewriter/BUILD @@ -5,6 +5,8 @@ package(licenses = ["notice"]) go_library( name = "linewriter", srcs = ["linewriter.go"], + marshal = False, + stateify = False, visibility = ["//visibility:public"], deps = ["//pkg/sync"], ) -- cgit v1.2.3