diff options
-rw-r--r-- | Android.bp | 11 | ||||
l--------- | python/_build/protoc-gen-custom_grpc.py | 1 |
2 files changed, 9 insertions, 3 deletions
@@ -17,10 +17,17 @@ license { ], } +genrule { + name: "protoc-gen-mmi2grpc-python-src-interfaces", + srcs: ["python/_build/protoc-gen-custom_grpc"], + cmd: "cp $(in) $(out)", + out: ["protoc-gen-custom_grpc.py"], +} + python_binary_host { name: "protoc-gen-custom_grpc", - main: "python/_build/protoc-gen-custom_grpc.py", - srcs: ["python/_build/protoc-gen-custom_grpc.py"], + main: "protoc-gen-custom_grpc.py", + srcs: [":protoc-gen-mmi2grpc-python-src-interfaces"], libs: ["libprotobuf-python"], } diff --git a/python/_build/protoc-gen-custom_grpc.py b/python/_build/protoc-gen-custom_grpc.py deleted file mode 120000 index 88d6a75..0000000 --- a/python/_build/protoc-gen-custom_grpc.py +++ /dev/null @@ -1 +0,0 @@ -protoc-gen-custom_grpc
\ No newline at end of file |