OLD | NEW |
---|---|
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 'toolkit_views2': 0, # ui/views/ is an experimental framework on Windows. |
9 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
11 'sources/': [ | 11 'sources/': [ |
12 ['exclude', '/(cocoa|gtk|win)/'], | 12 ['exclude', '/(cocoa|gtk|win)/'], |
13 ['exclude', '_(cocoa|gtk|linux|mac|posix|win|x)\\.(cc|mm?)$'], | 13 ['exclude', '_(cocoa|gtk|linux|mac|posix|win|x)\\.(cc|mm?)$'], |
14 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], | 14 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
15 ], | 15 ], |
16 'conditions': [ | 16 'conditions': [ |
17 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [ | 17 ['toolkit_uses_gtk==1', {'sources/': [ |
tony
2011/05/16 19:25:11
wrapping
| |
18 ['include', '/gtk/'], | 18 ['include', '/gtk/'], |
19 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], | 19 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], |
20 ['include', '/(gtk|x11)_[^/]*\\.cc$'], | 20 ['include', '/(gtk|x11)_[^/]*\\.cc$'], |
21 ]}], | 21 ]}], |
22 ['OS=="mac"', {'sources/': [ | 22 ['OS=="mac"', {'sources/': [ |
23 ['include', '/cocoa/'], | 23 ['include', '/cocoa/'], |
24 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], | 24 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], |
25 ]}, { # else: OS != "mac" | 25 ]}, { # else: OS != "mac" |
26 'sources/': [ | 26 'sources/': [ |
27 ['exclude', '\\.mm?$'], | 27 ['exclude', '\\.mm?$'], |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
63 ], | 63 ], |
64 }], | 64 }], |
65 ], | 65 ], |
66 } | 66 } |
67 | 67 |
68 # Local Variables: | 68 # Local Variables: |
69 # tab-width:2 | 69 # tab-width:2 |
70 # indent-tabs-mode:nil | 70 # indent-tabs-mode:nil |
71 # End: | 71 # End: |
72 # vim: set expandtab tabstop=2 shiftwidth=2: | 72 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |