| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 ], | 61 ], |
| 62 }], | 62 }], |
| 63 ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', { | 63 ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', { |
| 64 'sources/': [ | 64 'sources/': [ |
| 65 ['exclude', '_(x|x11)(_unittest)?\\.(h|cc)$'], | 65 ['exclude', '_(x|x11)(_unittest)?\\.(h|cc)$'], |
| 66 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], | 66 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], |
| 67 ], | 67 ], |
| 68 }], | 68 }], |
| 69 ['<(toolkit_uses_gtk)!=1 or >(nacl_untrusted_build)==1', { | 69 ['<(toolkit_uses_gtk)!=1 or >(nacl_untrusted_build)==1', { |
| 70 'sources/': [ | 70 'sources/': [ |
| 71 ['exclude', '_gtk(_unittest)?\\.(h|cc)$'], | 71 ['exclude', '_gtk(_browsertest|_unittest)?\\.(h|cc)$'], |
| 72 ['exclude', '(^|/)gtk/'], | 72 ['exclude', '(^|/)gtk/'], |
| 73 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], | 73 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], |
| 74 ], | 74 ], |
| 75 }], | 75 }], |
| 76 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', { | 76 ['<(toolkit_views)==0 or >(nacl_untrusted_build)==1', { |
| 77 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] | 77 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] |
| 78 }], | 78 }], |
| 79 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { | 79 ['<(use_aura)==0 or >(nacl_untrusted_build)==1', { |
| 80 'sources/': [ ['exclude', '_aura(_unittest)?\\.(h|cc)$'], | 80 'sources/': [ ['exclude', '_aura(_unittest)?\\.(h|cc)$'], |
| 81 ['exclude', '(^|/)aura/'], | 81 ['exclude', '(^|/)aura/'], |
| 82 ] | 82 ] |
| 83 }], | 83 }], |
| 84 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', { | 84 ['<(use_aura)==0 or <(use_x11)==0 or >(nacl_untrusted_build)==1', { |
| 85 'sources/': [ ['exclude', '_aurax11\\.(h|cc)$'] ] | 85 'sources/': [ ['exclude', '_aurax11\\.(h|cc)$'] ] |
| 86 }], | 86 }], |
| 87 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { | 87 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { |
| 88 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] | 88 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] |
| 89 }], | 89 }], |
| 90 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { | 90 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { |
| 91 'sources/': [ ['exclude', '_ash(_unittest)?\\.(h|cc)$'], | 91 'sources/': [ ['exclude', '_ash(_unittest)?\\.(h|cc)$'], |
| 92 ['exclude', '(^|/)ash/'], | 92 ['exclude', '(^|/)ash/'], |
| 93 ] | 93 ] |
| 94 }], | 94 }], |
| 95 ] | 95 ] |
| 96 } | 96 } |
| OLD | NEW |