diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-27 15:55:52 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-27 15:55:52 +0000 |
commit | 8b386cede11a8a5c907b5a75271c7edee12f1774 (patch) | |
tree | c89a26a9b685d15af0250e2baf8b463a3d70352a /base/base.gyp | |
parent | b3f97bc7bb26c47a37a2403f0edf9dc51443359c (diff) | |
download | chromium_src-8b386cede11a8a5c907b5a75271c7edee12f1774.zip chromium_src-8b386cede11a8a5c907b5a75271c7edee12f1774.tar.gz chromium_src-8b386cede11a8a5c907b5a75271c7edee12f1774.tar.bz2 |
Add GrabWindowSnapshot method to mac_util class, and a unit test.
BUG= none
TEST= none
Review URL: http://codereview.chromium.org/333018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30199 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r-- | base/base.gyp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/base/base.gyp b/base/base.gyp index d948e84..3688cc6 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -586,7 +586,7 @@ 'leak_tracker_unittest.cc', 'linked_list_unittest.cc', 'linked_ptr_unittest.cc', - 'mac_util_unittest.cc', + 'mac_util_unittest.mm', 'message_loop_unittest.cc', 'message_pump_glib_unittest.cc', 'object_watcher_unittest.cc', @@ -648,6 +648,7 @@ ], 'conditions': [ ['OS == "linux" or OS == "freebsd"', { + 'sources/': [ ['exclude', '\\.mm?$' ] ], 'sources!': [ 'file_version_info_unittest.cc', 'worker_pool_linux_unittest.cc', @@ -662,11 +663,6 @@ 'message_pump_glib_unittest.cc', ] }], - ['OS != "mac"', { - 'sources!': [ - 'mac_util_unittest.cc', - ], - }], # This is needed to trigger the dll copy step on windows. # TODO(mark): This should not be necessary. ['OS == "win"', { |