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 'target_defaults': { | 6 'target_defaults': { |
7 'sources/': [ | 7 'sources/': [ |
8 ['exclude', '/(cocoa|gtk|win)/'], | 8 ['exclude', '/(cocoa|gtk|win)/'], |
9 ['exclude', '_(cocoa|gtk|linux|mac|posix|win|x)\\.(cc|mm?)$'], | 9 ['exclude', '_(cocoa|gtk|linux|mac|posix|win|x)\\.(cc|mm?)$'], |
10 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], | 10 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
11 ], | 11 ], |
12 'conditions': [ | 12 'conditions': [ |
13 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [ | 13 ['toolkit_uses_gtk==1', {'sources/': [ |
tony
2011/05/16 19:25:11
This line wrapping is also a bit awkward.
| |
14 ['include', '/gtk/'], | 14 ['include', '/gtk/'], |
15 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], | 15 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], |
16 ['include', '/(gtk|x11)_[^/]*\\.cc$'], | 16 ['include', '/(gtk|x11)_[^/]*\\.cc$'], |
17 ]}], | 17 ]}], |
18 ['OS=="mac"', {'sources/': [ | 18 ['OS=="mac"', {'sources/': [ |
19 ['include', '/cocoa/'], | 19 ['include', '/cocoa/'], |
20 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], | 20 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], |
21 ]}, { # else: OS != "mac" | 21 ]}, { # else: OS != "mac" |
22 'sources/': [ | 22 'sources/': [ |
23 ['exclude', '\\.mm?$'], | 23 ['exclude', '\\.mm?$'], |
(...skipping 24 matching lines...) Expand all Loading... | |
48 'io_surface_support_mac.cc', | 48 'io_surface_support_mac.cc', |
49 'io_surface_support_mac.h', | 49 'io_surface_support_mac.h', |
50 'transport_dib.h', | 50 'transport_dib.h', |
51 'transport_dib_linux.cc', | 51 'transport_dib_linux.cc', |
52 'transport_dib_mac.cc', | 52 'transport_dib_mac.cc', |
53 'transport_dib_win.cc', | 53 'transport_dib_win.cc', |
54 ], | 54 ], |
55 }, | 55 }, |
56 ], | 56 ], |
57 } | 57 } |
OLD | NEW |