OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # This gypi file defines the patterns used for determining whether a | 5 # This gypi file defines the patterns used for determining whether a |
6 # file is excluded from the build on a given platform. It is | 6 # file is excluded from the build on a given platform. It is |
7 # included by common.gypi for chromium_code. | 7 # included by common.gypi for chromium_code. |
8 | 8 |
9 { | 9 { |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 17 matching lines...) Expand all Loading... |
28 ['exclude', '_linux(_unittest)?\\.(h|cc)$'], | 28 ['exclude', '_linux(_unittest)?\\.(h|cc)$'], |
29 ['exclude', '(^|/)linux/'], | 29 ['exclude', '(^|/)linux/'], |
30 ], | 30 ], |
31 }], | 31 }], |
32 ['OS!="android"', { | 32 ['OS!="android"', { |
33 'sources/': [ | 33 'sources/': [ |
34 ['exclude', '_android(_unittest)?\\.cc$'], | 34 ['exclude', '_android(_unittest)?\\.cc$'], |
35 ['exclude', '(^|/)android/'], | 35 ['exclude', '(^|/)android/'], |
36 ], | 36 ], |
37 }], | 37 }], |
| 38 ['OS!="android" and OS!="linux" and OS!="openbsd" and OS!="freebsd"', { |
| 39 'sources/': [ |
| 40 ['exclude', '_linuxish(_unittest)?\\.(h|cc)$'], |
| 41 ['exclude', '(^|/)linuxish/'], |
| 42 ], |
| 43 }], |
38 ['OS=="win"', { | 44 ['OS=="win"', { |
39 'sources/': [ ['exclude', '_posix(_unittest)?\\.(h|cc)$'] ], | 45 'sources/': [ ['exclude', '_posix(_unittest)?\\.(h|cc)$'] ], |
40 }], | 46 }], |
41 ['chromeos!=1', { | 47 ['chromeos!=1', { |
42 'sources/': [ ['exclude', '_chromeos\\.(h|cc)$'] ] | 48 'sources/': [ ['exclude', '_chromeos\\.(h|cc)$'] ] |
43 }], | 49 }], |
44 ['OS!="linux" and OS!="openbsd" and OS!="freebsd"', { | 50 ['OS!="linux" and OS!="openbsd" and OS!="freebsd"', { |
45 'sources/': [ | 51 'sources/': [ |
46 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], | 52 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], |
47 ], | 53 ], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 }], | 88 }], |
83 ['use_wayland!=1', { | 89 ['use_wayland!=1', { |
84 'sources/': [ | 90 'sources/': [ |
85 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'], | 91 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'], |
86 ['exclude', '(^|/)wayland/'], | 92 ['exclude', '(^|/)wayland/'], |
87 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'], | 93 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'], |
88 ], | 94 ], |
89 }], | 95 }], |
90 ] | 96 ] |
91 } | 97 } |
OLD | NEW |