summaryrefslogtreecommitdiffstats
path: root/app/app.gyp
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 21:58:18 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 21:58:18 +0000
commit8c3dc79bc13ba84f418d3c135e1bf296a3e29722 (patch)
tree32eb9688d500a90eb74a7c4f8cb5a97e507dd0fc /app/app.gyp
parentabaccb2cb8cff8138e5ea9daf420645e5852c9eb (diff)
downloadchromium_src-8c3dc79bc13ba84f418d3c135e1bf296a3e29722.zip
chromium_src-8c3dc79bc13ba84f418d3c135e1bf296a3e29722.tar.gz
chromium_src-8c3dc79bc13ba84f418d3c135e1bf296a3e29722.tar.bz2
Refactors OSExchangeData for easier portability.
BUG=none TEST=none Review URL: http://codereview.chromium.org/164401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23230 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/app.gyp')
-rw-r--r--app/app.gyp18
1 files changed, 15 insertions, 3 deletions
diff --git a/app/app.gyp b/app/app.gyp
index 77e3a3d..0a36bd5 100644
--- a/app/app.gyp
+++ b/app/app.gyp
@@ -95,8 +95,11 @@
'l10n_util_win.cc',
'l10n_util_win.h',
'message_box_flags.h',
- 'os_exchange_data_win.cc',
- 'os_exchange_data_gtk.cc',
+ 'os_exchange_data_provider_gtk.cc',
+ 'os_exchange_data_provider_gtk.h',
+ 'os_exchange_data_provider_win.cc',
+ 'os_exchange_data_provider_win.h',
+ 'os_exchange_data.cc',
'os_exchange_data.h',
'resource_bundle.cc',
'resource_bundle.h',
@@ -131,11 +134,20 @@
# Note: because of gyp predence rules this has to be defined as
# 'sources/' rather than 'sources!'.
'sources/': [
- ['exclude', '^os_exchange_data_gtk.cc'],
+ ['exclude', '^os_exchange_data.cc'],
['exclude', '^os_exchange_data.h'],
+ ['exclude', '^os_exchange_data_provider_gtk.cc'],
+ ['exclude', '^os_exchange_data_provider_gtk.h'],
['exclude', '^drag_drop_types_gtk.cc'],
],
}],
+ ['toolkit_views==1 or chromeos==1', {
+ # Note: because of gyp predence rules this has to be defined as
+ # 'sources/' rather than 'sources!'.
+ 'sources/': [
+ ['include', '^os_exchange_data.cc'],
+ ],
+ }],
],
}],
['OS=="win"', {