Loading system/Android.bp +11 −5 Original line number Diff line number Diff line Loading @@ -39,9 +39,10 @@ genrule { "aprotoc", "protoc-gen-grpc-cpp-plugin", ], cmd: "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(in) --grpc_out=$(genDir) --cpp_out=$(genDir)", cmd: "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(locations :BlueberryFacadeProto) --grpc_out=$(genDir) --cpp_out=$(genDir)", srcs: [ ":BlueberryFacadeProto", ":libprotobuf-internal-protos", ], out: [ "blueberry/facade/common.grpc.pb.h", Loading Loading @@ -85,9 +86,10 @@ genrule { "aprotoc", "protoc-gen-grpc-cpp-plugin", ], cmd: "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(in) --grpc_out=$(genDir) --cpp_out=$(genDir)", cmd: "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(locations :BlueberryFacadeProto) --grpc_out=$(genDir) --cpp_out=$(genDir)", srcs: [ ":BlueberryFacadeProto", ":libprotobuf-internal-protos", ], out: [ "blueberry/facade/common.grpc.pb.cc", Loading Loading @@ -133,11 +135,12 @@ genrule { "soong_zip", ], cmd: "mkdir -p $(genDir)/files && " + "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-python-plugin) $(in) --grpc_out=$(genDir)/files --python_out=$(genDir)/files && " + "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-python-plugin) $(locations :BlueberryFacadeProto) --grpc_out=$(genDir)/files --python_out=$(genDir)/files && " + "find $(genDir)/files -type d -exec touch {}/__init__.py \\; &&" + "$(location soong_zip) -C $(genDir)/files -D $(genDir)/files -o $(out)", srcs: [ ":BlueberryFacadeProto", ":libprotobuf-internal-protos", ], out: ["blueberry_facade_generated_py.zip"], } Loading Loading @@ -175,8 +178,11 @@ genrule { "protoc-gen-grpc-python-plugin", "soong_zip", ], cmd: "$(location aprotoc) --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-python-plugin) -Iexternal/protobuf/src -Ipackages/modules/Bluetooth/system $(in) --grpc_out=$(genDir) --python_out=$(genDir)", srcs: ["blueberry/facade/topshim/facade.proto"], cmd: "$(location aprotoc) --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-python-plugin) -Iexternal/protobuf/src -Ipackages/modules/Bluetooth/system $(location blueberry/facade/topshim/facade.proto) --grpc_out=$(genDir) --python_out=$(genDir)", srcs: [ ":libprotobuf-internal-protos", "blueberry/facade/topshim/facade.proto", ], out: [ "blueberry/facade/topshim/facade_pb2.py", "blueberry/facade/topshim/facade_pb2_grpc.py", Loading system/gd/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -648,6 +648,7 @@ genrule { "hci/hci_acl_manager.fbs", "hci/hci_controller.fbs", "l2cap/classic/l2cap_classic_module.fbs", "module_unittest.fbs", "os/wakelock_manager.fbs", "shim/dumpsys.fbs", ], Loading @@ -674,6 +675,7 @@ genrule { "hci/hci_acl_manager.fbs", "hci/hci_controller.fbs", "l2cap/classic/l2cap_classic_module.fbs", "module_unittest.fbs", "os/wakelock_manager.fbs", "shim/dumpsys.fbs", ], Loading Loading
system/Android.bp +11 −5 Original line number Diff line number Diff line Loading @@ -39,9 +39,10 @@ genrule { "aprotoc", "protoc-gen-grpc-cpp-plugin", ], cmd: "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(in) --grpc_out=$(genDir) --cpp_out=$(genDir)", cmd: "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(locations :BlueberryFacadeProto) --grpc_out=$(genDir) --cpp_out=$(genDir)", srcs: [ ":BlueberryFacadeProto", ":libprotobuf-internal-protos", ], out: [ "blueberry/facade/common.grpc.pb.h", Loading Loading @@ -85,9 +86,10 @@ genrule { "aprotoc", "protoc-gen-grpc-cpp-plugin", ], cmd: "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(in) --grpc_out=$(genDir) --cpp_out=$(genDir)", cmd: "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cpp-plugin) $(locations :BlueberryFacadeProto) --grpc_out=$(genDir) --cpp_out=$(genDir)", srcs: [ ":BlueberryFacadeProto", ":libprotobuf-internal-protos", ], out: [ "blueberry/facade/common.grpc.pb.cc", Loading Loading @@ -133,11 +135,12 @@ genrule { "soong_zip", ], cmd: "mkdir -p $(genDir)/files && " + "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-python-plugin) $(in) --grpc_out=$(genDir)/files --python_out=$(genDir)/files && " + "$(location aprotoc) -Ipackages/modules/Bluetooth/system -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-python-plugin) $(locations :BlueberryFacadeProto) --grpc_out=$(genDir)/files --python_out=$(genDir)/files && " + "find $(genDir)/files -type d -exec touch {}/__init__.py \\; &&" + "$(location soong_zip) -C $(genDir)/files -D $(genDir)/files -o $(out)", srcs: [ ":BlueberryFacadeProto", ":libprotobuf-internal-protos", ], out: ["blueberry_facade_generated_py.zip"], } Loading Loading @@ -175,8 +178,11 @@ genrule { "protoc-gen-grpc-python-plugin", "soong_zip", ], cmd: "$(location aprotoc) --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-python-plugin) -Iexternal/protobuf/src -Ipackages/modules/Bluetooth/system $(in) --grpc_out=$(genDir) --python_out=$(genDir)", srcs: ["blueberry/facade/topshim/facade.proto"], cmd: "$(location aprotoc) --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-python-plugin) -Iexternal/protobuf/src -Ipackages/modules/Bluetooth/system $(location blueberry/facade/topshim/facade.proto) --grpc_out=$(genDir) --python_out=$(genDir)", srcs: [ ":libprotobuf-internal-protos", "blueberry/facade/topshim/facade.proto", ], out: [ "blueberry/facade/topshim/facade_pb2.py", "blueberry/facade/topshim/facade_pb2_grpc.py", Loading
system/gd/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -648,6 +648,7 @@ genrule { "hci/hci_acl_manager.fbs", "hci/hci_controller.fbs", "l2cap/classic/l2cap_classic_module.fbs", "module_unittest.fbs", "os/wakelock_manager.fbs", "shim/dumpsys.fbs", ], Loading @@ -674,6 +675,7 @@ genrule { "hci/hci_acl_manager.fbs", "hci/hci_controller.fbs", "l2cap/classic/l2cap_classic_module.fbs", "module_unittest.fbs", "os/wakelock_manager.fbs", "shim/dumpsys.fbs", ], Loading