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': [ |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 41 ['exclude', '(^|/)android/'], | 41 ['exclude', '(^|/)android/'], |
| 42 ], | 42 ], |
| 43 }], | 43 }], |
| 44 ['OS=="win" and >(nacl_untrusted_build)==0', { | 44 ['OS=="win" and >(nacl_untrusted_build)==0', { |
| 45 'sources/': [ | 45 'sources/': [ |
| 46 ['exclude', '_posix(_unittest)?\\.(h|cc)$'], | 46 ['exclude', '_posix(_unittest)?\\.(h|cc)$'], |
| 47 ['exclude', '(^|/)posix/'], | 47 ['exclude', '(^|/)posix/'], |
| 48 ], | 48 ], |
| 49 }], | 49 }], |
| 50 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { | 50 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { |
| 51 'sources/': [ ['exclude', '_chromeos\\.(h|cc)$'] ] | 51 'sources/': [ ['exclude', '_chromeos(_unittest)?\\.(h|cc)$'] ] |
| 52 }], | 52 }], |
| 53 ['>(nacl_untrusted_build)==0', { | 53 ['>(nacl_untrusted_build)==0', { |
| 54 'sources/': [ | 54 'sources/': [ |
| 55 ['exclude', '_nacl(_unittest)?\\.(h|cc)$'], | 55 ['exclude', '_nacl(_unittest)?\\.(h|cc)$'], |
| 56 ], | 56 ], |
| 57 }], | 57 }], |
| 58 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build) ==1', { | 58 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build) ==1', { |
| 59 'sources/': [ | 59 'sources/': [ |
| 60 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], | 60 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], |
| 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', '_(chromeos|x|x11)(_unittest)?\\.(h|cc)$'], | 65 ['exclude', '_(x|x11)(_unittest)?\\.(h|cc)$'], |
|
oshima
2012/06/22 15:38:43
oh, i didn't know we had this rule. thanks.
| |
| 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(_unittest)?\\.(h|cc)$'], |
| 72 ['exclude', '(^|/)gtk/'], | 72 ['exclude', '(^|/)gtk/'], |
| 73 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], | 73 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], |
| 74 ], | 74 ], |
| 75 }], | 75 }], |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 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 |