Speculative fix for mini_installer size increase.
At least on Mac and Linux, the linker loads object files from static libraries
by loading a .o file that contains symbols it's missing, then adds symbols
needed by that .o file to the missing symbol list, and then it repeats that
process. Since uninstall.cc uses SupplementaryBranding and calls
ClearProductState, that causes rlz_lib.o to be loaded. That references
symbols in financial_ping.cc, which references net.
In the hope of msvc's linker working the same way, move the symbols used
by uninstall.cc into its own file that doesn't depend on symbols in
financial_ping. That way, the linker hopefully won't pull in net and content
when linking mini_installer.
Review URL: https://codereview.appspot.com/5936043
git-svn-id: http://rlz.googlecode.com/svn/trunk@120 10bc0f33-e4bf-9a86-80cf-af638054f0c4
3 files changed