[Zucchini] Buildflag control of architectures
Allows Zucchini to be built with only a subset of architectures enabled this saves on binary size at the cost of flexibility. The idea is that only the desired architectures would be compiled for a particular usecases. For example the Windows setup.exe only needs Windows support. Expected savings as a percent of total binary size at present (868.5 kB non-debug): - Remove DEX 3.13% (841.3 kB) - Remove Win 6.00% (816.4 kB) - Only Raw 9.13% (789.2 kB) Note that in the case of Raw saving could be made significantly higher by entirely removing the dependence on references and reference projection. However, at present the additional messiness of the additional buildflags all over the codebase is not worth the maintenance costs. Bug: 835007 Change-Id: I091cb9d76e8473340374be1a33a5df48137a3067 Reviewed-on: https://chromium-review.googlesource.com/1037922 Commit-Queue: Calder Kitagawa <ckitagawa@google.com> Reviewed-by:Greg Thompson <grt@chromium.org> Reviewed-by:
Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#556802}
Showing
Please register or sign in to comment