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 11 matching lines...) Expand all Loading... |
22 # shared at this point. | 22 # shared at this point. |
23 # In case a file is not needed, it is going to be excluded later on. | 23 # In case a file is not needed, it is going to be excluded later on. |
24 # TODO(evan): the above is not correct; we shouldn't build _linux | 24 # TODO(evan): the above is not correct; we shouldn't build _linux |
25 # files on non-linux. | 25 # files on non-linux. |
26 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)
==1', { | 26 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)
==1', { |
27 'sources/': [ | 27 'sources/': [ |
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" and OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nac
l_untrusted_build)==1', { | |
33 'sources/': [ | |
34 ['exclude', '_linuxish(_unittest)?\\.(h|cc)$'], | |
35 ['exclude', '(^|/)linuxish/'], | |
36 ], | |
37 }], | |
38 ['OS!="android"', { | 32 ['OS!="android"', { |
39 'sources/': [ | 33 'sources/': [ |
40 ['exclude', '_android(_unittest)?\\.cc$'], | 34 ['exclude', '_android(_unittest)?\\.cc$'], |
41 ['exclude', '(^|/)android/'], | 35 ['exclude', '(^|/)android/'], |
42 ], | 36 ], |
43 }], | 37 }], |
44 ['OS=="win" and >(nacl_untrusted_build)==0', { | 38 ['OS=="win" and >(nacl_untrusted_build)==0', { |
45 'sources/': [ | 39 'sources/': [ |
46 ['exclude', '_posix(_unittest)?\\.(h|cc)$'], | 40 ['exclude', '_posix(_unittest)?\\.(h|cc)$'], |
47 ['exclude', '(^|/)posix/'], | 41 ['exclude', '(^|/)posix/'], |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { | 81 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { |
88 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] | 82 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] |
89 }], | 83 }], |
90 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { | 84 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { |
91 'sources/': [ ['exclude', '_ash(_unittest)?\\.(h|cc)$'], | 85 'sources/': [ ['exclude', '_ash(_unittest)?\\.(h|cc)$'], |
92 ['exclude', '(^|/)ash/'], | 86 ['exclude', '(^|/)ash/'], |
93 ] | 87 ] |
94 }], | 88 }], |
95 ] | 89 ] |
96 } | 90 } |
OLD | NEW |