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 30 matching lines...) Expand all Loading... |
41 ['exclude', '(^|/)android/'], | 41 ['exclude', '(^|/)android/'], |
42 ], | 42 ], |
43 }], | 43 }], |
44 ['OS=="win" and >(nacl_untrusted_build)==0', { | 44 ['OS=="win" and >(nacl_untrusted_build)==0', { |
45 'sources/': [ | 45 'sources/': [ |
46 ['exclude', '_posix(_unittest)?\\.(h|cc)$'], | 46 ['exclude', '_posix(_unittest)?\\.(h|cc)$'], |
47 ['exclude', '(^|/)posix/'], | 47 ['exclude', '(^|/)posix/'], |
48 ], | 48 ], |
49 }], | 49 }], |
50 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { | 50 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { |
51 'sources/': [ ['exclude', '_chromeos(_unittest)?\\.(h|cc)$'] ] | 51 'sources/': [ |
| 52 ['exclude', '_chromeos(_unittest)?\\.(h|cc)$'], |
| 53 ['exclude', '(^|/)chromeos/'], |
| 54 ], |
52 }], | 55 }], |
53 ['>(nacl_untrusted_build)==0', { | 56 ['>(nacl_untrusted_build)==0', { |
54 'sources/': [ | 57 'sources/': [ |
55 ['exclude', '_nacl(_unittest)?\\.(h|cc)$'], | 58 ['exclude', '_nacl(_unittest)?\\.(h|cc)$'], |
56 ], | 59 ], |
57 }], | 60 }], |
58 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)
==1', { | 61 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)
==1', { |
59 'sources/': [ | 62 'sources/': [ |
60 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], | 63 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], |
61 ], | 64 ], |
(...skipping 26 matching lines...) Expand all Loading... |
88 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { | 91 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { |
89 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] | 92 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] |
90 }], | 93 }], |
91 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { | 94 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { |
92 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'], | 95 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'], |
93 ['exclude', '(^|/)ash/'], | 96 ['exclude', '(^|/)ash/'], |
94 ] | 97 ] |
95 }], | 98 }], |
96 ] | 99 ] |
97 } | 100 } |
OLD | NEW |