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 'target_conditions': [ | 10 'target_conditions': [ |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 ], | 64 ], |
65 }], | 65 }], |
66 ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', { | 66 ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', { |
67 'sources/': [ | 67 'sources/': [ |
68 ['exclude', '_(x|x11)(_interactive_uitest|_unittest)?\\.(h|cc)$'], | 68 ['exclude', '_(x|x11)(_interactive_uitest|_unittest)?\\.(h|cc)$'], |
69 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], | 69 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], |
70 ['exclude', '(^|/)x11/'], | 70 ['exclude', '(^|/)x11/'], |
71 ['exclude', '(^|/)x/'], | 71 ['exclude', '(^|/)x/'], |
72 ], | 72 ], |
73 }], | 73 }], |
| 74 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', { |
| 75 'sources/': [ ['exclude', '_views(_browsertest|_unittest)?\\.(h|cc)$'] ] |
| 76 }], |
74 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { | 77 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { |
75 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'], | 78 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'], |
76 ['exclude', '(^|/)aura/'], | 79 ['exclude', '(^|/)aura/'], |
77 ] | 80 ] |
78 }], | 81 }], |
79 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', { | 82 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', { |
80 'sources/': [ ['exclude', '_aurax11(_browsertest|_unittest)?\\.(h|cc)$'] ] | 83 'sources/': [ ['exclude', '_aurax11(_browsertest|_unittest)?\\.(h|cc)$'] ] |
81 }], | 84 }], |
82 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { | 85 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { |
83 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] | 86 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] |
84 }], | 87 }], |
85 ['<(use_aura)==0 or OS!="linux" or >(nacl_untrusted_build)==1', { | 88 ['<(use_aura)==0 or OS!="linux" or >(nacl_untrusted_build)==1', { |
86 'sources/': [ ['exclude', '_auralinux\\.(h|cc)$'] ] | 89 'sources/': [ ['exclude', '_auralinux\\.(h|cc)$'] ] |
87 }], | 90 }], |
88 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { | 91 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { |
89 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'], | 92 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'], |
90 ['exclude', '(^|/)ash/'], | 93 ['exclude', '(^|/)ash/'], |
91 ] | 94 ] |
92 }], | 95 }], |
93 ['<(use_ash)==0 or OS!="win" or >(nacl_untrusted_build)==1', { | 96 ['<(use_ash)==0 or OS!="win" or >(nacl_untrusted_build)==1', { |
94 'sources/': [ ['exclude', '_ashwin\\.(h|cc)$'] ] | 97 'sources/': [ ['exclude', '_ashwin\\.(h|cc)$'] ] |
95 }], | 98 }], |
| 99 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', { |
| 100 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'], |
| 101 ['exclude', '(^|/)ozone/'], |
| 102 ] |
| 103 }], |
| 104 ['<(use_ozone_evdev)==0 or >(nacl_untrusted_build)==1', { |
| 105 'sources/': [ ['exclude', '_evdev(_browsertest|_unittest)?\\.(h|cc)$'], |
| 106 ['exclude', '(^|/)evdev/'], |
| 107 ] |
| 108 }], |
| 109 ['<(ozone_platform_dri)==0 or >(nacl_untrusted_build)==1', { |
| 110 'sources/': [ ['exclude', '_dri(_browsertest|_unittest)?\\.(h|cc)$'], |
| 111 ['exclude', '(^|/)dri/'], |
| 112 ] |
| 113 }], |
| 114 ['<(use_pango)==0', { |
| 115 'sources/': [ ['exclude', '(^|_)pango(_util|_browsertest|_unittest)?\\.(h|
cc)$'], ], |
| 116 }], |
96 ] | 117 ] |
97 } | 118 } |
OLD | NEW |