Chromium Code Reviews| 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(_browsertest|_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|mach)(_unittest)?\\.(h|cc|mm?)$'], |
| 18 ['exclude', '(^|/)(cocoa|mac)/'] ], | 18 ['exclude', '(^|/)(cocoa|mac|mach)/'] ], |
| 19 }], | 19 }], |
|
cpu_(ooo_6.6-7.5)
2015/11/06 23:16:48
you can probably push this change now outside of t
scottmg
2015/11/07 00:39:42
Sure, https://codereview.chromium.org/1413883010.
| |
| 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/'] ], |
| 23 }], | 23 }], |
| 24 ['(OS!="mac" and OS!="ios") or >(nacl_untrusted_build)==1', { | 24 ['(OS!="mac" and OS!="ios") or >(nacl_untrusted_build)==1', { |
| 25 'sources/': [ ['exclude', '\\.mm?$' ] ], | 25 'sources/': [ ['exclude', '\\.mm?$' ] ], |
| 26 }], | 26 }], |
| 27 # Do not exclude the linux files on *BSD since most of them can be | 27 # Do not exclude the linux files on *BSD since most of them can be |
| 28 # shared at this point. | 28 # shared at this point. |
| 29 # In case a file is not needed, it is going to be excluded later on. | 29 # In case a file is not needed, it is going to be excluded later on. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 97 'sources/': [ ['exclude', '_ashwin\\.(h|cc)$'] ] | 97 'sources/': [ ['exclude', '_ashwin\\.(h|cc)$'] ] |
| 98 }], | 98 }], |
| 99 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', { | 99 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', { |
| 100 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'] ] | 100 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'] ] |
| 101 }], | 101 }], |
| 102 ['<(use_pango)==0', { | 102 ['<(use_pango)==0', { |
| 103 'sources/': [ ['exclude', '(^|_)pango(_util|_browsertest|_unittest)?\\.(h| cc)$'], ], | 103 'sources/': [ ['exclude', '(^|_)pango(_util|_browsertest|_unittest)?\\.(h| cc)$'], ], |
| 104 }], | 104 }], |
| 105 ] | 105 ] |
| 106 } | 106 } |
| OLD | NEW |