~ $ mkdir chromium && cd chromium
~/chromium $ fetch --nohooks ios
~/chromium $ cd src
~/chromium/src $ gclient sync
~/chromium/src $ ln -s /path/to/components/cronet/tools/cr_cronet.py /somewhere/in/your/path
or however else you want to do this
This sets up the build directory...
~/chromium/src $ cr_cronet.py gn
...and this builds it!
~/chromium/src $ cr_cronet.py build -d out/Debug-iphonesimulator
~/chromium/src $ cr_cronet.py build-test -d out/Debug-iphonesimulator
~/chromium/src $ cr_cronet.py gn -i
and then
~/chromium/src $ cr_cronet.py build -i
or
~/chromium/src $ cr_cronet.py build -d out/Debug-iphoneos
~/chromium/src $ cr_cronet.py sync
and then rebuild:
~/chromium/src $ cr_cronet.py build -d out/Debug-iphoneos
~/chromium/src $ cr_cronet.py build -d out/Debug-iphonesimulator
For more information, you can run
~ $ cr_cronet.py -h