aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp11
1 files changed, 9 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 0239d6a..c15b5c7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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"],
}