diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 18:38:24 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-20 18:38:24 +0000 |
commit | 1dde29ee6927e9f9d19ca78515ede73614174415 (patch) | |
tree | 3537432ea47b05285af574f21f936ba525f9f390 /net | |
parent | cfcada230f15529faa80fd58d7a2ba9910df7a55 (diff) | |
download | chromium_src-1dde29ee6927e9f9d19ca78515ede73614174415.zip chromium_src-1dde29ee6927e9f9d19ca78515ede73614174415.tar.gz chromium_src-1dde29ee6927e9f9d19ca78515ede73614174415.tar.bz2 |
Define FOO_IMPLEMENTATION unconditionally. Even though they only matter when
building component DLLs, it doesn't hurt to always define them, and it makes
the GYP files a bit simpler.
R=rvargas@chromium.org
Review URL: http://codereview.chromium.org/7457016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/net.gyp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/net.gyp b/net/net.gyp index 724e24b..f83cc76 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -666,6 +666,9 @@ 'websockets/websocket_throttle.cc', 'websockets/websocket_throttle.h', ], + 'defines': [ + 'NET_IMPLEMENTATION', + ], 'export_dependent_settings': [ '../base/base.gyp:base', ], @@ -822,11 +825,6 @@ ], }, ], - [ 'component == "shared_library"', { - 'defines': [ - 'NET_IMPLEMENTATION', - ], - }], [ 'OS == "mac"', { 'dependencies': [ '../third_party/nss/nss.gyp:nspr', |