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
tree: 39d774c77308b4f045c23a146436c63472458352
  1. lib/
  2. mac/
  3. test/
  4. win/
  6. DEPS
  7. rlz.gyp