diff options
author | Charlie Boutier <charliebout@google.com> | 2022-09-14 23:42:33 +0000 |
---|---|---|
committer | David Duarte <licorne@google.com> | 2022-09-29 12:15:42 +0000 |
commit | c48dad394f4a9a5ff12e4050bdc93a8f2d1a9318 (patch) | |
tree | 532d063f1e10a9d29f8897b5528472a7085ba174 | |
parent | 4eb697f7e406415170eeaf960b4947f51dca0f9f (diff) | |
download | bt-test-interfaces-aml_per_331313010.tar.gz |
Add a new rule to generate the custom grpc interfacesaml_wif_331613000aml_wif_331511020aml_wif_331414000aml_wif_331310070aml_uwb_331611010aml_uwb_331410010aml_uwb_331310030aml_tz4_331314030aml_tz4_331314020aml_tz4_331314010aml_tet_331511160aml_tet_331511000aml_tet_331412030aml_tet_331312080aml_sta_331610000aml_sta_331511000aml_sta_331410000aml_sta_331311000aml_sdk_331410000aml_sdk_331310010aml_res_331611010aml_res_331512000aml_res_331314010aml_per_331611010aml_per_331512020aml_per_331411000aml_per_331313010aml_neu_331310000aml_net_331610000aml_net_331412000aml_net_331313030aml_net_331313010aml_ips_331310000aml_ext_331412000aml_ext_331312000aml_con_331411000aml_con_331312000aml_cbr_331610010aml_cbr_331510000aml_cbr_331411000aml_cbr_331310010aml_art_331612010aml_art_331413030aml_art_331314010aml_ads_331611190aml_ads_331511020aml_ads_331418080aml_tz4_332714010
Soong was reading the content of the symbolic link instead of the
target of it. Thus instead of reading the content of protoc-gen-custom_grpc it
was reading the content of protoc-gen-custom_grpc.py, which was a
symbolic link to protoc-gen-custom_grpc.
Bug: 245747653
Test: manual
Ignore-AOSP-First: cherry-pick
Change-Id: I37c0af2ffa6803ad1114fccbff4fdcf6914c54c1
Merged-In: I37c0af2ffa6803ad1114fccbff4fdcf6914c54c1
-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 |