Age | Commit message (Collapse) | Author |
|
Add rule to generate prebuilt nanopb_generator to include the
libprotobuf-python from external instead of host.
Test: Local build tests.
Bug: b/111798740
Change-Id: I9bad3b5d2988ed7c642ae4c339376874d56aa578
(cherry picked from commit bc20853921deb0f94a7b32c315be3c68fd066fb3)
|
|
Downloaded from https://github.com/nanopb/nanopb/archive/0.3.9.1.tar.gz
Also upload generator/google to python-protobuf 3.0.0. Copied from
/usr/lib/python2.7/dist-packages/google after run
apt-get install python-protobuf. Remove *.so to force it to use
python implementation instead of prebuilt cpp implementation.
Bug: b/111798740
Test: None
Change-Id: I015ab62dc72268bf473f66ae8344a789b8ed8cf2
(cherry picked from commit f880a12bd5d957e38c831dc0f2d4a99beb12e4c9)
|
|
This reverts commit 56ebba603b8b913261a40f3f61561bb728e3eaa5.
Reason for revert: Caused build failures.
Examples of build failures:
FAILED: out/target/product/vsoc_x86/gen/STATIC_LIBRARIES/librilutils_static_intermediates/proto/hardware/ril/librilutils/proto/sap-api.pb.c
/bin/bash -c "(PATH=\$PATH:out/host/linux-x86/bin out/host/linux-x86/bin/aprotoc --proto_path=. --nanopb_out=out/target/product/vsoc_x86/gen/STATIC_LIBRARIES/librilutils_static_intermediates/proto --plugin=external/nanopb-c/generator/protoc-gen-nanopb hardware/ril/librilutils/proto/sap-api.proto )"
[libprotobuf WARNING external/protobuf/src/google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: hardware/ril/librilutils/proto/sap-api.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
Change-Id: Id862b050b2de4410bc9facf6d9920d3e878b227e
|
|
Downloaded from https://github.com/nanopb/nanopb/archive/0.3.9.1.tar.gz
Also upload generator/google to python-protobuf 3.0.0. Copied from
/usr/lib/python2.7/dist-packages/google after run
apt-get install python-protobuf. Remove *.so to force it to use
python implementation instead of prebuilt cpp implementation.
Bug: b/111798740
Test: None
Change-Id: I110dc1352b05a372811520efd34ffbda5abc2a02
|