1
0
Fork 0
firefox/third_party/chromium/build/android/gyp/proto
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00
..
__init__.py Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
Configuration_pb2.py Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
README.md Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
Resources_pb2.py Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

Protos

These protos are generated from Resources.proto and Configuration.proto from the Android repo. They are found in the frameworks/base/tools/aapt2/ directory. To regenerate these if there are changes, run this command from the root of an Android checkout:

protoc --python_out=some_dir frameworks/base/tools/aapt2/Resources.proto
frameworks/base/tools/aapt2/Configuration.proto

Then copy the resulting *pb2.py files from some_dir here. To make sure Resources_pb2.py is able to import Configuration_pb2.py, replace the "from frameworks.base.tools.aapt2" portion of the import statement with "from ." so it will instead be imported from the current directory.