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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/ui_base.gypi » ('j') | ui/ui_gfx.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'toolkit_views2': 0, # ui/views/ is an experimental framework on Windows.
8 }, 9 },
9 'target_defaults': { 10 'target_defaults': {
10 'sources/': [ 11 'sources/': [
11 ['exclude', '/(cocoa|gtk|win)/'], 12 ['exclude', '/(cocoa|gtk|win)/'],
12 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], 13 ['exclude', '_(cocoa|gtk|linux|mac|posix|win|x)\\.(cc|mm?)$'],
13 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], 14 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'],
14 ], 15 ],
15 'conditions': [ 16 'conditions': [
16 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [ 17 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [
17 ['include', '/gtk/'], 18 ['include', '/gtk/'],
18 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], 19 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'],
19 ['include', '/(gtk|x11)_[^/]*\\.cc$'], 20 ['include', '/(gtk|x11)_[^/]*\\.cc$'],
20 ]}], 21 ]}],
21 ['OS=="mac"', {'sources/': [ 22 ['OS=="mac"', {'sources/': [
22 ['include', '/cocoa/'], 23 ['include', '/cocoa/'],
23 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], 24 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'],
24 ]}, { # else: OS != "mac" 25 ]}, { # else: OS != "mac"
25 'sources/': [ 26 'sources/': [
26 ['exclude', '\\.mm?$'], 27 ['exclude', '\\.mm?$'],
27 ], 28 ],
28 }], 29 }],
29 ['OS=="win"', {'sources/': [ 30 ['OS=="win"',
30 ['include', '_(win)\\.cc$'], 31 {'sources/': [
31 ['include', '/win/'], 32 ['include', '_(win)\\.cc$'],
32 ['include', '/win_[^/]*\\.cc$'], 33 ['include', '/win/'],
34 ['include', '/win_[^/]*\\.cc$'],
35 ]},
36 {'variables': {'toolkit_views2': 1}},
37 ],
38 ['toolkit_views2==0', {'sources/': [
39 ['exclude', 'views/'],
33 ]}], 40 ]}],
34 ['touchui==0', {'sources/': [ 41 ['touchui==0', {'sources/': [
35 ['exclude', 'event_x.cc$'], 42 ['exclude', 'event_x.cc$'],
36 ['exclude', 'native_menu_x.cc$'], 43 ['exclude', 'native_menu_x.cc$'],
37 ['exclude', 'native_menu_x.h$'], 44 ['exclude', 'native_menu_x.h$'],
38 ['exclude', 'touchui/'], 45 ['exclude', 'touchui/'],
39 ['exclude', '_(touch)\\.cc$'], 46 ['exclude', '_(touch)\\.cc$'],
40 ]}], 47 ]}],
41 ], 48 ],
42 }, 49 },
43 'includes': [ 50 'includes': [
44 'base/ui_base.gypi', 51 'ui_base.gypi',
52 'ui_gfx.gypi',
53 'ui_unittests.gypi',
54 ],
55 'conditions': [
56 ['toolkit_views2==1', {
57 'includes': [
58 'ui_views.gypi',
59 ],
60 }],
45 ], 61 ],
46 } 62 }
47 63
48 # Local Variables: 64 # Local Variables:
49 # tab-width:2 65 # tab-width:2
50 # indent-tabs-mode:nil 66 # indent-tabs-mode:nil
51 # End: 67 # End:
52 # vim: set expandtab tabstop=2 shiftwidth=2: 68 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« 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