tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

README.md (678B)


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 --pythonout=somedir 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 Resourcespb2.py is able to import Configurationpb2.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.