| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'sources/': [ | 10 'sources/': [ |
| 11 ['exclude', '/win/'], | 11 ['exclude', '/win/'], |
| 12 ['exclude', '_(posix|win)(_unittest)?\\.(cc|mm?)$'], | 12 ['exclude', '_(posix|win)(_unittest)?\\.(cc|mm?)$'], |
| 13 ['exclude', '/win_[^/]*\\.cc$'], | 13 ['exclude', '/win_[^/]*\\.cc$'], |
| 14 ], | 14 ], |
| 15 'conditions': [ | 15 'conditions': [ |
| 16 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [ | 16 ['os_posix == 1 and OS != "mac"', {'sources/': [ |
| 17 ['include', '_posix(_unittest)?\\.cc$'], | 17 ['include', '_posix(_unittest)?\\.cc$'], |
| 18 ]}], | 18 ]}], |
| 19 ['OS=="mac"', {'sources/': [ | 19 ['OS=="mac"', {'sources/': [ |
| 20 ['include', '_posix(_unittest)?\\.(cc|mm?)$'], | 20 ['include', '_posix(_unittest)?\\.(cc|mm?)$'], |
| 21 ]}], | 21 ]}], |
| 22 ['OS=="win"', {'sources/': [ | 22 ['OS=="win"', {'sources/': [ |
| 23 ['include', '_win(_unittest)?\\.cc$'], | 23 ['include', '_win(_unittest)?\\.cc$'], |
| 24 ['include', '/win/'], | 24 ['include', '/win/'], |
| 25 ['include', '/win_[^/]*\\.cc$'], | 25 ['include', '/win_[^/]*\\.cc$'], |
| 26 ]}], | 26 ]}], |
| (...skipping 24 matching lines...) Expand all Loading... |
| 51 'ipc_message_unittest.cc', | 51 'ipc_message_unittest.cc', |
| 52 'ipc_send_fds_test.cc', | 52 'ipc_send_fds_test.cc', |
| 53 'ipc_sync_channel_unittest.cc', | 53 'ipc_sync_channel_unittest.cc', |
| 54 'ipc_sync_message_unittest.cc', | 54 'ipc_sync_message_unittest.cc', |
| 55 'ipc_sync_message_unittest.h', | 55 'ipc_sync_message_unittest.h', |
| 56 'ipc_tests.cc', | 56 'ipc_tests.cc', |
| 57 'ipc_tests.h', | 57 'ipc_tests.h', |
| 58 'sync_socket_unittest.cc', | 58 'sync_socket_unittest.cc', |
| 59 ], | 59 ], |
| 60 'conditions': [ | 60 'conditions': [ |
| 61 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 61 ['toolkit_uses_gtk == 1', { |
| 62 'dependencies': [ | 62 'dependencies': [ |
| 63 '../build/linux/system.gyp:gtk', | 63 '../build/linux/system.gyp:gtk', |
| 64 ], | 64 ], |
| 65 }], | 65 }], |
| 66 ['OS=="linux"', { | 66 ['os_posix == 1 and OS != "mac"', { |
| 67 'conditions': [ | 67 'conditions': [ |
| 68 ['linux_use_tcmalloc==1', { | 68 ['linux_use_tcmalloc==1', { |
| 69 'dependencies': [ | 69 'dependencies': [ |
| 70 '../base/allocator/allocator.gyp:allocator', | 70 '../base/allocator/allocator.gyp:allocator', |
| 71 ], | 71 ], |
| 72 }], | 72 }], |
| 73 ], | 73 ], |
| 74 }] | 74 }] |
| 75 ], | 75 ], |
| 76 }, | 76 }, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 87 ], | 87 ], |
| 88 }, | 88 }, |
| 89 ], | 89 ], |
| 90 } | 90 } |
| 91 | 91 |
| 92 # Local Variables: | 92 # Local Variables: |
| 93 # tab-width:2 | 93 # tab-width:2 |
| 94 # indent-tabs-mode:nil | 94 # indent-tabs-mode:nil |
| 95 # End: | 95 # End: |
| 96 # vim: set expandtab tabstop=2 shiftwidth=2: | 96 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |