Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 12-Nov-2020 | - | ||||
Configuration_pb2.py | H A D | 07-Nov-2020 | 29.4 KiB | 698 | 663 | |
README.md | H A D | 07-Nov-2020 | 663 | 14 | 11 | |
Resources_pb2.py | H A D | 07-Nov-2020 | 106 KiB | 2,780 | 2,589 | |
__init__.py | H A D | 07-Nov-2020 | 0 | 1 | 0 |
README.md
1# Protos 2These protos are generated from Resources.proto and Configuration.proto from the 3Android repo. They are found in the frameworks/base/tools/aapt2/ directory. To 4regenerate these if there are changes, run this command from the root of an 5Android checkout: 6 7 protoc --python_out=some_dir frameworks/base/tools/aapt2/Resources.proto \ 8 frameworks/base/tools/aapt2/Configuration.proto 9 10Then copy the resulting \*pb2.py files from some_dir here. To make sure 11Resources_pb2.py is able to import Configuration_pb2.py, remove the 12"from frameworks.base.tools.aapt2" portion of the import statement so it will 13instead be imported from the current directory. 14