diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 19:04:27 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 19:04:27 +0000 |
commit | 26f82b7b9972a0dc9b1da13fb192e4582ffdca91 (patch) | |
tree | 306d9fa622e90b9ca65f2fae9a4515c28aaab9b4 /base | |
parent | 37f44e5dce289174f354a833ce2665545625dfb6 (diff) | |
download | chromium_src-26f82b7b9972a0dc9b1da13fb192e4582ffdca91.zip chromium_src-26f82b7b9972a0dc9b1da13fb192e4582ffdca91.tar.gz chromium_src-26f82b7b9972a0dc9b1da13fb192e4582ffdca91.tar.bz2 |
Enable building base.dll for the multi-dll build.
BUG=76996
TEST=none
Review URL: http://codereview.chromium.org/6883173
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/base.gypi | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/base/base.gypi b/base/base.gypi index fa88b3e..58089e9 100644 --- a/base/base.gypi +++ b/base/base.gypi @@ -423,7 +423,7 @@ 'targets': [ { 'target_name': 'base', - 'type': '<(library)', + 'type': '<(component)', 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', 'variables': { 'base_target': 1, @@ -528,6 +528,26 @@ 'win_util.cc', ], },], + [ 'OS=="win" and component=="shared_library"', { + 'defines': [ + 'BASE_DLL', + 'BASE_IMPLEMENTATION=1', + ], + 'msvs_disabled_warnings': [ + 4251, + ], + 'sources!': [ + 'debug/debug_on_start_win.cc', + ], + 'direct_dependent_settings': { + 'defines': [ + 'BASE_DLL', + ], + 'msvs_disabled_warnings': [ + 4251, + ], + }, + }], ], 'sources': [ 'third_party/nspr/prcpucfg.h', |