1 java_library( 2 name = "core", 3 srcs = glob([ 4 "src/main/java/io/grpc/*.java", 5 ]), 6 resources = glob([ 7 "src/main/resources/**", 8 ]), 9 visibility = ["//visibility:public"], 10 deps = [ 11 "//context", 12 "@com_google_code_findbugs_jsr305//jar", 13 "@com_google_guava_guava//jar", 14 ], 15 ) 16 17 java_library( 18 name = "inprocess", 19 srcs = glob([ 20 "src/main/java/io/grpc/inprocess/*.java", 21 ]), 22 visibility = ["//visibility:public"], 23 deps = [ 24 ":core", 25 ":internal", 26 "//context", 27 "@com_google_code_findbugs_jsr305//jar", 28 "@com_google_guava_guava//jar", 29 ], 30 ) 31 32 java_library( 33 name = "internal", 34 srcs = glob([ 35 "src/main/java/io/grpc/internal/*.java", 36 ]), 37 visibility = ["//:__subpackages__"], 38 deps = [ 39 ":core", 40 "//context", 41 "@com_google_code_findbugs_jsr305//jar", 42 "@com_google_code_gson_gson//jar", 43 "@com_google_errorprone_error_prone_annotations//jar", 44 "@com_google_guava_guava//jar", 45 "@io_opencensus_opencensus_api//jar", 46 "@io_opencensus_opencensus_contrib_grpc_metrics//jar", 47 "@org_codehaus_mojo_animal_sniffer_annotations//jar", 48 ], 49 ) 50 51 java_library( 52 name = "util", 53 srcs = glob([ 54 "src/main/java/io/grpc/util/*.java", 55 ]), 56 visibility = ["//visibility:public"], 57 deps = [ 58 ":core", 59 ":internal", 60 "@com_google_code_findbugs_jsr305//jar", 61 "@com_google_guava_guava//jar", 62 ], 63 ) 64