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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 ], | 228 ], |
229 }], | 229 }], |
230 ['notifications==0', { # Android and iOS. | 230 ['notifications==0', { # Android and iOS. |
231 'sources/': [ | 231 'sources/': [ |
232 # Exclude everything except main(). | 232 # Exclude everything except main(). |
233 ['exclude', '\\.(cc|mm)$'], | 233 ['exclude', '\\.(cc|mm)$'], |
234 ['include', '^test/run_all_unittests\\.cc$'], | 234 ['include', '^test/run_all_unittests\\.cc$'], |
235 ], | 235 ], |
236 }], | 236 }], |
237 # See http://crbug.com/162998#c4 for why this is needed. | 237 # See http://crbug.com/162998#c4 for why this is needed. |
238 ['OS=="linux" and linux_use_tcmalloc==1', { | 238 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
| 239 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc
malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { |
239 'dependencies': [ | 240 'dependencies': [ |
240 '../../base/allocator/allocator.gyp:allocator', | 241 '../../base/allocator/allocator.gyp:allocator', |
241 ], | 242 ], |
242 }], | 243 }], |
243 ], | 244 ], |
244 }, # target_name: message_center_unittests | 245 }, # target_name: message_center_unittests |
245 ], | 246 ], |
246 } | 247 } |
OLD | NEW |