Name Date Size #Lines LOC

..--

Configuration_pb2.pyH A D25-Apr-202529.4 KiB698663

README.mdH A D25-Apr-2025678 1411

Resources_pb2.pyH A D25-Apr-2025106.1 KiB2,7802,589

__init__.pyH A D25-Apr-20250 10

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, replace the
12"from frameworks.base.tools.aapt2" portion of the import statement with
13"from ." so it will instead be imported from the current directory.
14