• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..12-Nov-2020-

Configuration_pb2.pyH A D07-Nov-202029.4 KiB698663

README.mdH A D07-Nov-2020663 1411

Resources_pb2.pyH A D07-Nov-2020106 KiB2,7802,589

__init__.pyH A D07-Nov-20200 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, remove the
12"from frameworks.base.tools.aapt2" portion of the import statement so it will
13instead be imported from the current directory.
14