1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5java_library { 6 name: "pandora_experimental-grpc-java", 7 visibility: [ 8 "//packages/modules/Bluetooth/android/pandora/server", 9 "//packages/modules/Bluetooth/framework/tests/bumble", 10 "//packages/modules/Bluetooth/framework/tests/metrics:__subpackages__", 11 ], 12 srcs: [ 13 ":pandora-protos", 14 ":pandora_experimental-protos", 15 ], 16 static_libs: [ 17 "grpc-java-lite", 18 "guava", 19 "javax_annotation-api_1.3.2", 20 "libprotobuf-java-lite", 21 "opencensus-java-api", 22 "pandora_experimental-proto-java", 23 ], 24 proto: { 25 include_dirs: [ 26 "external/pandora/bt-test-interfaces", 27 "external/protobuf/src", 28 "packages/modules/Bluetooth/pandora/interfaces", 29 ], 30 plugin: "grpc-java-plugin", 31 output_params: [ 32 "lite", 33 ], 34 }, 35} 36 37java_library { 38 name: "pandora_experimental-proto-java", 39 visibility: [ 40 "//packages/modules/Bluetooth/android/pandora/server", 41 "//packages/modules/Bluetooth/framework/tests/bumble", 42 "//packages/modules/Bluetooth/framework/tests/metrics:__subpackages__", 43 ], 44 srcs: [ 45 ":libprotobuf-internal-protos", 46 ":pandora-protos", 47 "pandora_experimental/*.proto", 48 ], 49 static_libs: [ 50 "libprotobuf-java-lite", 51 ], 52 proto: { 53 // Disable canonical path as this breaks the identification of 54 // well known protobufs 55 canonical_path_from_root: false, 56 type: "lite", 57 include_dirs: [ 58 "external/pandora/bt-test-interfaces", 59 "external/protobuf/src", 60 "packages/modules/Bluetooth/pandora/interfaces", 61 ], 62 }, 63} 64 65filegroup { 66 name: "pandora_experimental-protos", 67 srcs: [ 68 "pandora_experimental/*.proto", 69 ], 70} 71