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.
[email protected]
Review URL: http://codereview.chromium.org/7457016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93226 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/crypto/crypto.gyp b/crypto/crypto.gyp
index f660e4cd..b073a99 100644
--- a/crypto/crypto.gyp
+++ b/crypto/crypto.gyp
@@ -15,6 +15,9 @@
'../base/base.gyp:base',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
],
+ 'defines': [
+ 'CRYPTO_IMPLEMENTATION',
+ ],
'msvs_disabled_warnings': [
4018,
],
@@ -74,11 +77,6 @@
'capi_util.cc',
],
}],
- [ 'component == "shared_library"', {
- 'defines': [
- 'CRYPTO_IMPLEMENTATION',
- ],
- }],
[ 'use_openssl==1', {
# TODO(joth): Use a glob to match exclude patterns once the
# OpenSSL file set is complete.