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', { |
14 ['include', '/gtk/'], | 14 'sources/': [ |
15 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], | 15 ['include', '/gtk/'], |
16 ['include', '/(gtk|x11)_[^/]*\\.cc$'], | 16 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], |
17 ]}], | 17 ['include', '/(gtk|x11)_[^/]*\\.cc$'], |
| 18 ], |
| 19 }], |
18 ['OS=="mac"', {'sources/': [ | 20 ['OS=="mac"', {'sources/': [ |
19 ['include', '/cocoa/'], | 21 ['include', '/cocoa/'], |
20 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], | 22 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], |
21 ]}, { # else: OS != "mac" | 23 ]}, { # else: OS != "mac" |
22 'sources/': [ | 24 'sources/': [ |
23 ['exclude', '\\.mm?$'], | 25 ['exclude', '\\.mm?$'], |
24 ], | 26 ], |
25 }], | 27 }], |
26 ['OS=="win"', | 28 ['OS=="win"', |
27 {'sources/': [ | 29 {'sources/': [ |
(...skipping 20 matching lines...) Expand all Loading... |
48 'io_surface_support_mac.cc', | 50 'io_surface_support_mac.cc', |
49 'io_surface_support_mac.h', | 51 'io_surface_support_mac.h', |
50 'transport_dib.h', | 52 'transport_dib.h', |
51 'transport_dib_linux.cc', | 53 'transport_dib_linux.cc', |
52 'transport_dib_mac.cc', | 54 'transport_dib_mac.cc', |
53 'transport_dib_win.cc', | 55 'transport_dib_win.cc', |
54 ], | 56 ], |
55 }, | 57 }, |
56 ], | 58 ], |
57 } | 59 } |
OLD | NEW |