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': [ |
11 ['OS!="win" or >(nacl_untrusted_build)==1', { | 11 ['OS!="win" or >(nacl_untrusted_build)==1', { |
12 'sources/': [ ['exclude', '_win(_unittest)?\\.(h|cc)$'], | 12 'sources/': [ ['exclude', '_win(_browsertest|_unittest)?\\.(h|cc)$'], |
13 ['exclude', '(^|/)win/'], | 13 ['exclude', '(^|/)win/'], |
14 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ], | 14 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ], |
15 }], | 15 }], |
16 ['OS!="mac" or >(nacl_untrusted_build)==1', { | 16 ['OS!="mac" or >(nacl_untrusted_build)==1', { |
17 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], | 17 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], |
18 ['exclude', '(^|/)(cocoa|mac)/'] ], | 18 ['exclude', '(^|/)(cocoa|mac)/'] ], |
19 }], | 19 }], |
20 ['OS!="ios" or >(nacl_untrusted_build)==1', { | 20 ['OS!="ios" or >(nacl_untrusted_build)==1', { |
21 'sources/': [ ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], | 21 'sources/': [ ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], |
22 ['exclude', '(^|/)ios/'] ], | 22 ['exclude', '(^|/)ios/'] ], |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 'sources/': [ | 74 'sources/': [ |
75 ['exclude', '_gtk(_browsertest|_unittest)?\\.(h|cc)$'], | 75 ['exclude', '_gtk(_browsertest|_unittest)?\\.(h|cc)$'], |
76 ['exclude', '(^|/)gtk/'], | 76 ['exclude', '(^|/)gtk/'], |
77 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], | 77 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], |
78 ], | 78 ], |
79 }], | 79 }], |
80 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', { | 80 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', { |
81 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] | 81 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] |
82 }], | 82 }], |
83 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { | 83 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { |
84 'sources/': [ ['exclude', '_aura(_unittest)?\\.(h|cc)$'], | 84 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'], |
85 ['exclude', '_aura(_browsertest)?\\.(h|cc)$'], | |
86 ['exclude', '(^|/)aura/'], | 85 ['exclude', '(^|/)aura/'], |
87 ] | 86 ] |
88 }], | 87 }], |
89 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', { | 88 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', { |
90 'sources/': [ ['exclude', '_aurax11\\.(h|cc)$'] ] | 89 'sources/': [ ['exclude', '_aurax11\\.(h|cc)$'] ] |
91 }], | 90 }], |
92 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { | 91 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { |
93 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] | 92 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] |
94 }], | 93 }], |
95 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { | 94 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { |
96 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'], | 95 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'], |
97 ['exclude', '(^|/)ash/'], | 96 ['exclude', '(^|/)ash/'], |
98 ] | 97 ] |
99 }], | 98 }], |
100 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', { | 99 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', { |
101 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'], | 100 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'], |
102 ['exclude', '(^|/)ozone/'], | 101 ['exclude', '(^|/)ozone/'], |
103 ] | 102 ] |
104 }], | 103 }], |
105 ] | 104 ] |
106 } | 105 } |
OLD | NEW |