Compile only the library with the -fPIC flag.

This patch moves -fPIC flag from target defaults (for all targets) to
the library target, because the unit test executable does not require
it. The move is possible due to the automatic variable "_type", which
contains the value of the "type" configuration for the target.

https://code.google.com/p/gyp/wiki/InputFormatReference#Variables

R=roubert@google.com

Review URL: https://codereview.appspot.com/91470044
1 file changed
tree: 06b84b57db045b51faf143acd7f2032929a2ee55
  1. cpp/
  2. externals/
  3. java/
  4. testdata/
  5. .gitmodules