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(_unittest)?\\.(h|cc)$'], |
13 ['exclude', '_win(_browsertest)?\\.(h|cc)$'], | |
Nico
2013/06/18 19:49:23
No need for the ()? bit, since these are already e
| |
13 ['exclude', '(^|/)win/'], | 14 ['exclude', '(^|/)win/'], |
14 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ], | 15 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ], |
15 }], | 16 }], |
16 ['OS!="mac" or >(nacl_untrusted_build)==1', { | 17 ['OS!="mac" or >(nacl_untrusted_build)==1', { |
17 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], | 18 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], |
18 ['exclude', '(^|/)(cocoa|mac)/'] ], | 19 ['exclude', '(^|/)(cocoa|mac)/'] ], |
19 }], | 20 }], |
20 ['OS!="ios" or >(nacl_untrusted_build)==1', { | 21 ['OS!="ios" or >(nacl_untrusted_build)==1', { |
21 'sources/': [ ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], | 22 'sources/': [ ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], |
22 ['exclude', '(^|/)ios/'] ], | 23 ['exclude', '(^|/)ios/'] ], |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
97 ['exclude', '(^|/)ash/'], | 98 ['exclude', '(^|/)ash/'], |
98 ] | 99 ] |
99 }], | 100 }], |
100 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', { | 101 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', { |
101 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'], | 102 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'], |
102 ['exclude', '(^|/)ozone/'], | 103 ['exclude', '(^|/)ozone/'], |
103 ] | 104 ] |
104 }], | 105 }], |
105 ] | 106 ] |
106 } | 107 } |
OLD | NEW |