Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: ui/ui.gyp

Issue 6688007: Normalize the top-level ui/ module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chmod gfx_unittests Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/ui_base.gypi » ('j') | ui/ui_gfx.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ui.gyp
diff --git a/ui/ui.gyp b/ui/ui.gyp
index e289b0b4346777d8f23cb0ad65f011367deab52c..d2e700d37ec320569234c3bba7ee67b7e8358df3 100644
--- a/ui/ui.gyp
+++ b/ui/ui.gyp
@@ -5,11 +5,12 @@
{
'variables': {
'chromium_code': 1,
+ 'toolkit_views2': 0, # ui/views/ is an experimental framework on Windows.
},
'target_defaults': {
'sources/': [
['exclude', '/(cocoa|gtk|win)/'],
- ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'],
+ ['exclude', '_(cocoa|gtk|linux|mac|posix|win|x)\\.(cc|mm?)$'],
['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'],
],
'conditions': [
@@ -26,10 +27,16 @@
['exclude', '\\.mm?$'],
],
}],
- ['OS=="win"', {'sources/': [
- ['include', '_(win)\\.cc$'],
- ['include', '/win/'],
- ['include', '/win_[^/]*\\.cc$'],
+ ['OS=="win"',
+ {'sources/': [
+ ['include', '_(win)\\.cc$'],
+ ['include', '/win/'],
+ ['include', '/win_[^/]*\\.cc$'],
+ ]},
+ {'variables': {'toolkit_views2': 1}},
+ ],
+ ['toolkit_views2==0', {'sources/': [
+ ['exclude', 'views/'],
]}],
['touchui==0', {'sources/': [
['exclude', 'event_x.cc$'],
@@ -41,7 +48,16 @@
],
},
'includes': [
- 'base/ui_base.gypi',
+ 'ui_base.gypi',
+ 'ui_gfx.gypi',
+ 'ui_unittests.gypi',
+ ],
+ 'conditions': [
+ ['toolkit_views2==1', {
+ 'includes': [
+ 'ui_views.gypi',
+ ],
+ }],
],
}
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/ui_base.gypi » ('j') | ui/ui_gfx.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698