Check in built python library.
Add built python library using the following steps: 1. Download libprotobuf from https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protobuf-all-3.6.1.zip. 2. Goto protobuf-all-3.6.1/python 3. python setup.py build --build-base=[output_folder]. 4. Copy output_folder to prebuilts/libprotobuf/linux/python 5. Copy setup.py from protobuf-all-3.6.1/python to prebuilts/libprotobuf/linux/python 6. Copy src folder from protobuf-all-3.6.1 to prebuilts/libprotobuf/linux/python, this is necessary for unit tests. Change-Id: Ib51c7b43051b809c784fcca93f9d0290bcdaecb4 Tests: Unit tests run using 'python setup.py test' under python folder. Bug: b/80498777
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- python/MANIFEST.in 0 additions, 17 deletionspython/MANIFEST.in
- python/README.md 0 additions, 134 deletionspython/README.md
- python/google/__init__.py 0 additions, 0 deletionspython/google/__init__.py
- python/google/protobuf/__init__.py 0 additions, 0 deletionspython/google/protobuf/__init__.py
- python/google/protobuf/any_pb2.py 77 additions, 0 deletionspython/google/protobuf/any_pb2.py
- python/google/protobuf/any_test_pb2.py 87 additions, 0 deletionspython/google/protobuf/any_test_pb2.py
- python/google/protobuf/api_pb2.py 249 additions, 0 deletionspython/google/protobuf/api_pb2.py
- python/google/protobuf/compiler/plugin_pb2.py 255 additions, 0 deletionspython/google/protobuf/compiler/plugin_pb2.py
- python/google/protobuf/descriptor.py 0 additions, 0 deletionspython/google/protobuf/descriptor.py
- python/google/protobuf/descriptor_pb2.py 2033 additions, 0 deletionspython/google/protobuf/descriptor_pb2.py
- python/google/protobuf/duration_pb2.py 77 additions, 0 deletionspython/google/protobuf/duration_pb2.py
- python/google/protobuf/empty_pb2.py 63 additions, 0 deletionspython/google/protobuf/empty_pb2.py
- python/google/protobuf/field_mask_pb2.py 70 additions, 0 deletionspython/google/protobuf/field_mask_pb2.py
- python/google/protobuf/internal/__init__.py 0 additions, 0 deletionspython/google/protobuf/internal/__init__.py
- python/google/protobuf/internal/_parameterized.py 0 additions, 0 deletionspython/google/protobuf/internal/_parameterized.py
- python/google/protobuf/internal/any_test_pb2.py 182 additions, 0 deletionspython/google/protobuf/internal/any_test_pb2.py
- python/google/protobuf/internal/api_implementation.py 0 additions, 0 deletionspython/google/protobuf/internal/api_implementation.py
- python/google/protobuf/internal/containers.py 0 additions, 0 deletionspython/google/protobuf/internal/containers.py
- python/google/protobuf/internal/decoder.py 0 additions, 0 deletionspython/google/protobuf/internal/decoder.py
Loading
Please register or sign in to comment