| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 ], | 64 ], |
| 65 }], | 65 }], |
| 66 ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', { | 66 ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', { |
| 67 'sources/': [ | 67 'sources/': [ |
| 68 ['exclude', '_(x|x11)(_interactive_uitest|_unittest)?\\.(h|cc)$'], | 68 ['exclude', '_(x|x11)(_interactive_uitest|_unittest)?\\.(h|cc)$'], |
| 69 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], | 69 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], |
| 70 ['exclude', '(^|/)x11/'], | 70 ['exclude', '(^|/)x11/'], |
| 71 ['exclude', '(^|/)x/'], | 71 ['exclude', '(^|/)x/'], |
| 72 ], | 72 ], |
| 73 }], | 73 }], |
| 74 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', { | |
| 75 'sources/': [ ['exclude', '_views(_browsertest|_unittest)?\\.(h|cc)$'] ] | |
| 76 }], | |
| 77 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { | 74 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { |
| 78 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'], | 75 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'], |
| 79 ['exclude', '(^|/)aura/'], | 76 ['exclude', '(^|/)aura/'], |
| 80 ] | 77 ] |
| 81 }], | 78 }], |
| 82 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', { | 79 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', { |
| 83 'sources/': [ ['exclude', '_aurax11(_browsertest|_unittest)?\\.(h|cc)$'] ] | 80 'sources/': [ ['exclude', '_aurax11(_browsertest|_unittest)?\\.(h|cc)$'] ] |
| 84 }], | 81 }], |
| 85 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { | 82 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { |
| 86 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] | 83 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] |
| 87 }], | 84 }], |
| 88 ['<(use_aura)==0 or OS!="linux" or >(nacl_untrusted_build)==1', { | 85 ['<(use_aura)==0 or OS!="linux" or >(nacl_untrusted_build)==1', { |
| 89 'sources/': [ ['exclude', '_auralinux\\.(h|cc)$'] ] | 86 'sources/': [ ['exclude', '_auralinux\\.(h|cc)$'] ] |
| 90 }], | 87 }], |
| 91 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { | 88 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { |
| 92 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'], | 89 'sources/': [ ['exclude', '_ash(_browsertest|_unittest)?\\.(h|cc)$'], |
| 93 ['exclude', '(^|/)ash/'], | 90 ['exclude', '(^|/)ash/'], |
| 94 ] | 91 ] |
| 95 }], | 92 }], |
| 96 ['<(use_ash)==0 or OS!="win" or >(nacl_untrusted_build)==1', { | 93 ['<(use_ash)==0 or OS!="win" or >(nacl_untrusted_build)==1', { |
| 97 'sources/': [ ['exclude', '_ashwin\\.(h|cc)$'] ] | 94 'sources/': [ ['exclude', '_ashwin\\.(h|cc)$'] ] |
| 98 }], | 95 }], |
| 99 ['<(use_ozone)==0 or >(nacl_untrusted_build)==1', { | |
| 100 'sources/': [ ['exclude', '_ozone(_browsertest|_unittest)?\\.(h|cc)$'], | |
| 101 ['exclude', '(^|/)ozone/'], | |
| 102 ] | |
| 103 }], | |
| 104 ['<(use_ozone_evdev)==0 or >(nacl_untrusted_build)==1', { | |
| 105 'sources/': [ ['exclude', '_evdev(_browsertest|_unittest)?\\.(h|cc)$'], | |
| 106 ['exclude', '(^|/)evdev/'], | |
| 107 ] | |
| 108 }], | |
| 109 ['<(ozone_platform_dri)==0 or >(nacl_untrusted_build)==1', { | |
| 110 'sources/': [ ['exclude', '_dri(_browsertest|_unittest)?\\.(h|cc)$'], | |
| 111 ['exclude', '(^|/)dri/'], | |
| 112 ] | |
| 113 }], | |
| 114 ['<(use_pango)==0', { | 96 ['<(use_pango)==0', { |
| 115 'sources/': [ ['exclude', '(^|_)pango(_util|_browsertest|_unittest)?\\.(h|
cc)$'], ], | 97 'sources/': [ ['exclude', '(^|_)pango(_util|_browsertest|_unittest)?\\.(h|
cc)$'], ], |
| 116 }], | 98 }], |
| 117 ] | 99 ] |
| 118 } | 100 } |
| OLD | NEW |