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)(_unittest)?\\.(h|cc)$'], | 68 ['exclude', '_(x|x11)(_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_uses_gtk)!=1 or >(nacl_untrusted_build)==1', { | |
75 'sources/': [ | |
76 ['exclude', '_gtk(_browsertest|_unittest)?\\.(h|cc)$'], | |
77 ['exclude', '(^|/)gtk/'], | |
78 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], | |
79 ], | |
80 }], | |
81 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', { | 74 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', { |
82 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] | 75 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] |
83 }], | 76 }], |
84 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { | 77 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { |
85 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'], | 78 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'], |
86 ['exclude', '(^|/)aura/'], | 79 ['exclude', '(^|/)aura/'], |
87 ] | 80 ] |
88 }], | 81 }], |
89 ['<(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', { |
90 'sources/': [ ['exclude', '_aurax11(_browsertest|_unittest)?\\.(h|cc)$'] ] | 83 'sources/': [ ['exclude', '_aurax11(_browsertest|_unittest)?\\.(h|cc)$'] ] |
(...skipping 25 matching lines...) Expand all Loading... |
116 ['<(ozone_platform_dri)==0 or >(nacl_untrusted_build)==1', { | 109 ['<(ozone_platform_dri)==0 or >(nacl_untrusted_build)==1', { |
117 'sources/': [ ['exclude', '_dri(_browsertest|_unittest)?\\.(h|cc)$'], | 110 'sources/': [ ['exclude', '_dri(_browsertest|_unittest)?\\.(h|cc)$'], |
118 ['exclude', '(^|/)dri/'], | 111 ['exclude', '(^|/)dri/'], |
119 ] | 112 ] |
120 }], | 113 }], |
121 ['<(use_pango)==0', { | 114 ['<(use_pango)==0', { |
122 'sources/': [ ['exclude', '(^|_)pango(_util|_browsertest|_unittest)?\\.(h|
cc)$'], ], | 115 'sources/': [ ['exclude', '(^|_)pango(_util|_browsertest|_unittest)?\\.(h|
cc)$'], ], |
123 }], | 116 }], |
124 ] | 117 ] |
125 } | 118 } |
OLD | NEW |