[Cronet] Experiment with using bitcode in Cronet for iOS |
||||
Issue descriptionCronet framework is currently released as fat arm32+arm64 binary. Some consumers are interested in bitcode builds, and recently added gn flag may make it possible. We need to experiment with using that flag and understand pros and cons of this approach. How would this affect or be affected if we switch to static library / framework release?
,
May 19 2017
There is a CL that builds Cronet with bitcode enabled: https://codereview.chromium.org/2888223003/. Adding bitcode to the binary increases the size of the framework from around 6MB to 1.2GB. This increase in size can overweigh the benefits, since it may significantly hinder the development process of apps that use Cronet. It is possible to provide multiple flavors of the framework that include or exclude the bitcode respectively; however, that will increase the build and usage complexity. Currently, we are looking for some confirmation that submitting an app with bitcode enabled substantially reduces the size of the final executable; otherwise, it may not be worth of doing it.
,
Jul 20
,
Jul 26
mef: can you find an appropriate owner for this bug? Thanks!
,
Jul 26
The experiment in comment 2 is done, but the benefits of using bitcode are not clear, and there are no requests to get this to production. |
||||
►
Sign in to add a comment |
||||
Comment 1 by kapishnikov@chromium.org
, May 17 2017