| 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 23 matching lines...) Expand all Loading... |
| 34 ['exclude', '_linuxish(_unittest)?\\.(h|cc)$'], | 34 ['exclude', '_linuxish(_unittest)?\\.(h|cc)$'], |
| 35 ['exclude', '(^|/)linuxish/'], | 35 ['exclude', '(^|/)linuxish/'], |
| 36 ], | 36 ], |
| 37 }], | 37 }], |
| 38 ['OS!="android"', { | 38 ['OS!="android"', { |
| 39 'sources/': [ | 39 'sources/': [ |
| 40 ['exclude', '_android(_unittest)?\\.cc$'], | 40 ['exclude', '_android(_unittest)?\\.cc$'], |
| 41 ['exclude', '(^|/)android/'], | 41 ['exclude', '(^|/)android/'], |
| 42 ], | 42 ], |
| 43 }], | 43 }], |
| 44 ['OS=="win" or >(nacl_untrusted_build)==1', { | 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\\.(h|cc)$'] ] |
| 52 }], | 52 }], |
| 53 ['>(nacl_untrusted_build)==0', { |
| 54 'sources/': [ |
| 55 ['exclude', '_nacl(_unittest)?\\.(h|cc)$'], |
| 56 ], |
| 57 }], |
| 53 ['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', { |
| 54 'sources/': [ | 59 'sources/': [ |
| 55 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], | 60 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], |
| 56 ], | 61 ], |
| 57 }], | 62 }], |
| 58 ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', { | 63 ['<(use_x11)!=1 or >(nacl_untrusted_build)==1', { |
| 59 'sources/': [ | 64 'sources/': [ |
| 60 ['exclude', '_(chromeos|x|x11)(_unittest)?\\.(h|cc)$'], | 65 ['exclude', '_(chromeos|x|x11)(_unittest)?\\.(h|cc)$'], |
| 61 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], | 66 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], |
| 62 ], | 67 ], |
| (...skipping 19 matching lines...) Expand all Loading... |
| 82 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { | 87 ['<(use_aura)==0 or OS!="win" or >(nacl_untrusted_build)==1', { |
| 83 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] | 88 'sources/': [ ['exclude', '_aurawin\\.(h|cc)$'] ] |
| 84 }], | 89 }], |
| 85 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { | 90 ['<(use_ash)==0 or >(nacl_untrusted_build)==1', { |
| 86 'sources/': [ ['exclude', '_ash(_unittest)?\\.(h|cc)$'], | 91 'sources/': [ ['exclude', '_ash(_unittest)?\\.(h|cc)$'], |
| 87 ['exclude', '(^|/)ash/'], | 92 ['exclude', '(^|/)ash/'], |
| 88 ] | 93 ] |
| 89 }], | 94 }], |
| 90 ] | 95 ] |
| 91 } | 96 } |
| OLD | NEW |