OSDN Git Service

gn-build: Add missing global compiler flags
authorArman Uguray <armansito@google.com>
Fri, 29 May 2015 21:46:30 +0000 (14:46 -0700)
committerArman Uguray <armansito@google.com>
Fri, 29 May 2015 21:49:37 +0000 (14:49 -0700)
commite4477781e54bd54ff8628f5ec1ce4594324c9e9e
treed79b058c7507de3afacb7c2af9a280d28b88448c
parent660fd9ef8dad381066d797b39778ff2667631f1e
gn-build: Add missing global compiler flags

This CL introduces compiler flags that enable stripping of unused symbols out of
static libraries at the linking stage. This is used by the Android build to keep
module dependencies small while building specialized executables (such as unit
tests).

Also added a preprocessor definition for the EXPORT_SYMBOL macro, recently
introduced by icoolidge@.

BUG=21339022

Change-Id: I7d3f9f64abc1f4e080196c18ccb893443ee1b64a
build/BUILD.gn