diff options
author | jiangj@opera.com <jiangj@opera.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-07 19:57:30 +0000 |
---|---|---|
committer | jiangj@opera.com <jiangj@opera.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-07 19:57:30 +0000 |
commit | a91d5dbb2aa1296649073fae77ce457028866a81 (patch) | |
tree | 4f8ddeb4f4b8eda2878432f839fcbbe4e453ddda /ui/message_center | |
parent | dea398379cd2f5a6f4822a4674dbfffdef1ec6fb (diff) | |
download | chromium_src-a91d5dbb2aa1296649073fae77ce457028866a81.zip chromium_src-a91d5dbb2aa1296649073fae77ce457028866a81.tar.gz chromium_src-a91d5dbb2aa1296649073fae77ce457028866a81.tar.bz2 |
Fix component build linking with notifications=0
We will get the following errors if not:
2> Creating library ..\..\build\Debug\lib\message_center.lib and object ..\..\build\Debug\lib\message_center.exp
2>dummy_message_center.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall message_center::NotificationDelegate::HasClickedListener(void)" (?HasClickedListener@NotificationDelegate@message_center@@UAE_NXZ)
2>dummy_message_center.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall message_center::NotificationDelegate::ButtonClick(int)" (?ButtonClick@NotificationDelegate@message_center@@UAEXH@Z)
Same fix for OS==android.
Done by Przemek Kudla <pkudla@opera.com>
Review URL: https://codereview.chromium.org/369243002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center')
-rw-r--r-- | ui/message_center/message_center.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/message_center/message_center.gyp b/ui/message_center/message_center.gyp index 26751e9..0a19578 100644 --- a/ui/message_center/message_center.gyp +++ b/ui/message_center/message_center.gyp @@ -140,6 +140,7 @@ ['exclude', '\\.(cc|mm)$'], ['include', '^dummy_message_center\\.cc$'], ['include', '^message_center_switches\\.cc$'], + ['include', '^notification_delegate\\.cc$'], ], }, { # notifications==1 'sources!': [ 'dummy_message_center.cc' ], @@ -148,7 +149,6 @@ ['OS=="android"', { 'sources/': [ ['include', '^notification\\.cc$'], - ['include', '^notification_delegate\\.cc$'], ['include', '^notifier_settings\\.cc$'], ], }], |