| 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 17 matching lines...) Expand all Loading... |
| 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. |
| 30 # TODO(evan): the above is not correct; we shouldn't build _linux | 30 # TODO(evan): the above is not correct; we shouldn't build _linux |
| 31 # files on non-linux. | 31 # files on non-linux. |
| 32 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)
==1', { | 32 ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)
==1', { |
| 33 'sources/': [ | 33 'sources/': [ |
| 34 ['exclude', '_linux(_unittest)?\\.(h|cc)$'], | 34 ['exclude', '_linux(_unittest)?\\.(h|cc)$'], |
| 35 ['exclude', '(^|/)linux/'], | 35 ['exclude', '(^|/)linux/'], |
| 36 ], | 36 ], |
| 37 }], | 37 }], |
| 38 ['OS!="android"', { | 38 ['OS!="android" or _toolset=="host"', { |
| 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" 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 ], |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 ['exclude', '(^|/)ash/'], | 96 ['exclude', '(^|/)ash/'], |
| 97 ] | 97 ] |
| 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 ['exclude', '(^|/)ozone/'], | 101 ['exclude', '(^|/)ozone/'], |
| 102 ] | 102 ] |
| 103 }], | 103 }], |
| 104 ] | 104 ] |
| 105 } | 105 } |
| OLD | NEW |