1licenses(["notice"]) # Apache v2 2 3filegroup( 4 name = "LICENSE", 5 visibility = ["//visibility:public"], 6) 7 8cc_library( 9 name = "grpc", 10 linkopts = [ 11 "-lgrpc", 12 "-lgpr", 13 ], 14 visibility = ["//visibility:public"], 15) 16 17cc_library( 18 name = "grpc++", 19 linkopts = [ 20 "-lgrpc++", 21 "-lgpr", 22 ], 23 visibility = ["//visibility:public"], 24) 25 26cc_library( 27 name = "grpc++_public_hdrs", 28 visibility = ["//visibility:public"], 29) 30 31cc_library( 32 name = "grpc++_codegen_proto", 33 visibility = ["//visibility:public"], 34) 35 36cc_library( 37 name = "grpc_unsecure", 38 linkopts = [ 39 "-lgrpc_unsecure", 40 "-lgpr", 41 ], 42 visibility = ["//visibility:public"], 43) 44 45cc_library( 46 name = "grpc++_unsecure", 47 linkopts = [ 48 "-lgrpc++_unsecure", 49 "-lgpr", 50 ], 51 visibility = ["//visibility:public"], 52) 53 54genrule( 55 name = "ln_grpc_cpp_plugin", 56 outs = ["grpc_cpp_plugin.bin"], 57 cmd = "ln -s $$(which grpc_cpp_plugin) $@", 58) 59 60sh_binary( 61 name = "grpc_cpp_plugin", 62 srcs = ["grpc_cpp_plugin.bin"], 63 visibility = ["//visibility:public"], 64) 65 66genrule( 67 name = "ln_grpc_python_plugin", 68 outs = ["grpc_python_plugin.bin"], 69 cmd = "ln -s $$(which grpc_python_plugin) $@", 70) 71 72sh_binary( 73 name = "grpc_python_plugin", 74 srcs = ["grpc_python_plugin.bin"], 75 visibility = ["//visibility:public"], 76) 77