| 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_test_pak', |
| 17 'type': 'none', |
| 18 'dependencies': [ |
| 19 '../ui/base/strings/ui_strings.gyp:ui_strings', |
| 20 'component_strings.gyp:component_strings', |
| 21 ], |
| 22 'variables': { |
| 23 'repack_path': '../tools/grit/grit/format/repack.py', |
| 24 }, |
| 25 'actions': [ |
| 26 { |
| 27 'action_name': 'repack_components_test_pak', |
| 28 'variables': { |
| 29 'pak_inputs': [ |
| 30 '<(SHARED_INTERMEDIATE_DIR)/components/strings/component_strin
gs_en-US.pak', |
| 31 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_
settings_en-US.pak', |
| 32 ], |
| 33 }, |
| 34 'inputs': [ |
| 35 '<(repack_path)', |
| 36 '<@(pak_inputs)', |
| 37 ], |
| 38 'outputs': [ |
| 39 '<(PRODUCT_DIR)/components/paks/components_test.pak', |
| 40 ], |
| 41 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp
uts)'], |
| 42 }, |
| 43 ], |
| 44 }, |
| 45 { |
| 16 'target_name': 'components_unittests', | 46 'target_name': 'components_unittests', |
| 17 'type': '<(gtest_target_type)', | 47 'type': '<(gtest_target_type)', |
| 18 'sources': [ | 48 'sources': [ |
| 19 'auto_login_parser/auto_login_parser_unittest.cc', | 49 'auto_login_parser/auto_login_parser_unittest.cc', |
| 20 'autofill/core/browser/webdata/autofill_entry_unittest.cc', | 50 'autofill/core/browser/webdata/autofill_entry_unittest.cc', |
| 51 'autofill/core/browser/webdata/autofill_table_unittest.cc', |
| 52 'autofill/core/browser/webdata/web_data_service_unittest.cc', |
| 21 'autofill/core/common/form_data_unittest.cc', | 53 'autofill/core/common/form_data_unittest.cc', |
| 22 'autofill/core/common/form_field_data_unittest.cc', | 54 'autofill/core/common/form_field_data_unittest.cc', |
| 23 'autofill/core/common/password_form_fill_data_unittest.cc', | 55 'autofill/core/common/password_form_fill_data_unittest.cc', |
| 24 'browser_context_keyed_service/browser_context_dependency_manager_un
ittest.cc', | 56 'browser_context_keyed_service/browser_context_dependency_manager_un
ittest.cc', |
| 25 'browser_context_keyed_service/dependency_graph_unittest.cc', | 57 'browser_context_keyed_service/dependency_graph_unittest.cc', |
| 26 'dom_distiller/core/article_entry_unittest.cc', | 58 'dom_distiller/core/article_entry_unittest.cc', |
| 27 'dom_distiller/core/distiller_unittest.cc', | 59 'dom_distiller/core/distiller_unittest.cc', |
| 28 'dom_distiller/core/distiller_url_fetcher_unittest.cc', | 60 'dom_distiller/core/distiller_url_fetcher_unittest.cc', |
| 29 'dom_distiller/core/dom_distiller_database_unittest.cc', | 61 'dom_distiller/core/dom_distiller_database_unittest.cc', |
| 30 'dom_distiller/core/dom_distiller_model_unittest.cc', | 62 'dom_distiller/core/dom_distiller_model_unittest.cc', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 56 ], | 88 ], |
| 57 'include_dirs': [ | 89 'include_dirs': [ |
| 58 '..', | 90 '..', |
| 59 ], | 91 ], |
| 60 'dependencies': [ | 92 'dependencies': [ |
| 61 '../base/base.gyp:test_support_base', | 93 '../base/base.gyp:test_support_base', |
| 62 '../sync/sync.gyp:sync', | 94 '../sync/sync.gyp:sync', |
| 63 '../testing/gmock.gyp:gmock', | 95 '../testing/gmock.gyp:gmock', |
| 64 '../testing/gtest.gyp:gtest', | 96 '../testing/gtest.gyp:gtest', |
| 65 | 97 |
| 98 'components_test_pak', |
| 99 |
| 66 # Dependencies of autofill | 100 # Dependencies of autofill |
| 67 'components.gyp:autofill_core_browser', | 101 'components.gyp:autofill_core_browser', |
| 68 'components.gyp:autofill_core_common', | 102 'components.gyp:autofill_core_common', |
| 69 | 103 |
| 70 # Dependencies of auto_login_parser | 104 # Dependencies of auto_login_parser |
| 71 'components.gyp:auto_login_parser', | 105 'components.gyp:auto_login_parser', |
| 72 | 106 |
| 73 # Dependencies of browser_context_keyed_service | 107 # Dependencies of browser_context_keyed_service |
| 74 'components.gyp:browser_context_keyed_service', | 108 'components.gyp:browser_context_keyed_service', |
| 75 | 109 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 # TODO(asvitkine): Bring up varations/ unittests on iOS. | 159 # TODO(asvitkine): Bring up varations/ unittests on iOS. |
| 126 ['include', '^dom_distiller'], | 160 ['include', '^dom_distiller'], |
| 127 ['include', '^translate'], | 161 ['include', '^translate'], |
| 128 ], | 162 ], |
| 129 'dependencies!': [ | 163 'dependencies!': [ |
| 130 'autofill_core_common', | 164 'autofill_core_common', |
| 131 'navigation_interception', | 165 'navigation_interception', |
| 132 'visitedlink_renderer', | 166 'visitedlink_renderer', |
| 133 ], | 167 ], |
| 134 }], | 168 }], |
| 169 ['OS == "mac"', { |
| 170 'link_settings': { |
| 171 'libraries': [ |
| 172 '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework', |
| 173 ], |
| 174 }, |
| 175 }], |
| 135 ['disable_nacl==0', { | 176 ['disable_nacl==0', { |
| 136 'sources': [ | 177 'sources': [ |
| 137 'nacl/browser/nacl_validation_cache_unittest.cc', | 178 'nacl/browser/nacl_validation_cache_unittest.cc', |
| 138 'nacl/browser/pnacl_translation_cache_unittest.cc', | 179 'nacl/browser/pnacl_translation_cache_unittest.cc', |
| 139 ], | 180 ], |
| 140 'dependencies': [ | 181 'dependencies': [ |
| 141 'nacl.gyp:nacl_browser', | 182 'nacl.gyp:nacl_browser', |
| 142 'nacl_common.gyp:nacl_common', | 183 'nacl_common.gyp:nacl_common', |
| 143 ], | 184 ], |
| 144 }], | 185 }], |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 'dependencies': [ | 338 'dependencies': [ |
| 298 '../base/allocator/allocator.gyp:allocator', | 339 '../base/allocator/allocator.gyp:allocator', |
| 299 ], | 340 ], |
| 300 }], | 341 }], |
| 301 ], | 342 ], |
| 302 }, | 343 }, |
| 303 ], | 344 ], |
| 304 }], | 345 }], |
| 305 ], | 346 ], |
| 306 } | 347 } |
| OLD | NEW |