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 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
11 }, | 11 }, |
12 'conditions': [ | 12 'conditions': [ |
13 ['android_webview_build == 0', { | 13 ['android_webview_build == 0', { |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 'target_name': 'components_unittests', | 16 'target_name': 'components_unittests', |
17 'type': '<(gtest_target_type)', | 17 'type': '<(gtest_target_type)', |
18 'sources': [ | 18 'sources': [ |
19 'auto_login_parser/auto_login_parser_unittest.cc', | 19 'auto_login_parser/auto_login_parser_unittest.cc', |
20 'autofill/core/browser/webdata/autofill_entry_unittest.cc', | 20 'autofill/core/browser/webdata/autofill_entry_unittest.cc', |
| 21 'autofill/core/browser/webdata/web_data_service_unittest.cc', |
21 'autofill/core/common/form_data_unittest.cc', | 22 'autofill/core/common/form_data_unittest.cc', |
22 'autofill/core/common/form_field_data_unittest.cc', | 23 'autofill/core/common/form_field_data_unittest.cc', |
23 'autofill/core/common/password_form_fill_data_unittest.cc', | 24 'autofill/core/common/password_form_fill_data_unittest.cc', |
24 'browser_context_keyed_service/browser_context_dependency_manager_un
ittest.cc', | 25 'browser_context_keyed_service/browser_context_dependency_manager_un
ittest.cc', |
25 'browser_context_keyed_service/dependency_graph_unittest.cc', | 26 'browser_context_keyed_service/dependency_graph_unittest.cc', |
26 'dom_distiller/core/article_entry_unittest.cc', | 27 'dom_distiller/core/article_entry_unittest.cc', |
27 'dom_distiller/core/distiller_unittest.cc', | 28 'dom_distiller/core/distiller_unittest.cc', |
28 'dom_distiller/core/distiller_url_fetcher_unittest.cc', | 29 'dom_distiller/core/distiller_url_fetcher_unittest.cc', |
29 'dom_distiller/core/dom_distiller_database_unittest.cc', | 30 'dom_distiller/core/dom_distiller_database_unittest.cc', |
30 'dom_distiller/core/dom_distiller_model_unittest.cc', | 31 'dom_distiller/core/dom_distiller_model_unittest.cc', |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 'nacl/browser/nacl_validation_cache_unittest.cc', | 145 'nacl/browser/nacl_validation_cache_unittest.cc', |
145 'nacl/browser/pnacl_host_unittest.cc', | 146 'nacl/browser/pnacl_host_unittest.cc', |
146 'nacl/browser/pnacl_translation_cache_unittest.cc', | 147 'nacl/browser/pnacl_translation_cache_unittest.cc', |
147 'nacl/browser/test_nacl_browser_delegate.cc', | 148 'nacl/browser/test_nacl_browser_delegate.cc', |
148 ], | 149 ], |
149 'dependencies': [ | 150 'dependencies': [ |
150 'nacl.gyp:nacl_browser', | 151 'nacl.gyp:nacl_browser', |
151 'nacl.gyp:nacl_common', | 152 'nacl.gyp:nacl_common', |
152 ], | 153 ], |
153 }], | 154 }], |
| 155 ['OS == "mac"', { |
| 156 'link_settings': { |
| 157 'libraries': [ |
| 158 '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework', |
| 159 ], |
| 160 }, |
| 161 }], |
154 ['OS == "android"', { | 162 ['OS == "android"', { |
155 'sources!': [ | 163 'sources!': [ |
156 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | 164 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
157 ], | 165 ], |
158 'dependencies!': [ | 166 'dependencies!': [ |
159 'components.gyp:web_modal', | 167 'components.gyp:web_modal', |
160 'components.gyp:web_modal_test_support', | 168 'components.gyp:web_modal_test_support', |
161 ], | 169 ], |
162 }], | 170 }], |
163 ['OS == "android" and gtest_target_type == "shared_library"', { | 171 ['OS == "android" and gtest_target_type == "shared_library"', { |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 'dependencies': [ | 327 'dependencies': [ |
320 '../base/allocator/allocator.gyp:allocator', | 328 '../base/allocator/allocator.gyp:allocator', |
321 ], | 329 ], |
322 }], | 330 }], |
323 ], | 331 ], |
324 }, | 332 }, |
325 ], | 333 ], |
326 }], | 334 }], |
327 ], | 335 ], |
328 } | 336 } |
OLD | NEW |