commit | 54f5106026cee6a8cf6eebd4fd9a88f0e06f4ebd | [log] [tgz] |
---|---|---|
author | Rouslan Solomakhin <rouslan@chromium.org> | Thu May 15 11:42:51 2014 +0000 |
committer | Fredrik Roubert <roubert@google.com> | Mon Sep 01 19:20:43 2014 +0200 |
tree | 06b84b57db045b51faf143acd7f2032929a2ee55 | |
parent | bc83a738c3282149cde9269f1343f596e44626d5 [diff] |
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