Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: components/components_tests.gyp

Issue 82353002: Move more webdata unittests into components_unittests target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ComponentsTestSuite Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/dom_distiller/core/distiller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/components_tests.gyp
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index 2e00f4a99aa36b1792f55deec187181904513c50..a4138885e0727c77f4884b5d921061912e5b158c 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -13,11 +13,43 @@
['android_webview_build == 0', {
'targets': [
{
+ 'target_name': 'components_unittests_strings',
tony 2013/11/24 04:24:07 Nit: I would probably name the file something like
tfarina 2013/11/24 17:19:41 Done.
+ 'type': 'none',
+ 'dependencies': [
+ 'component_strings.gyp:component_strings',
+ ],
+ 'variables': {
+ 'repack_path': '../tools/grit/grit/format/repack.py',
+ },
+ 'actions': [
+ {
+ 'action_name': 'repack_components_unittests_strings',
+ 'variables': {
+ 'pak_inputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/components/strings/component_strings_en-US.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_settings_en-US.pak',
tfarina 2013/11/23 23:20:30 I had to add this line, otherwise ResourceBundle d
tony 2013/11/24 04:24:07 That's fine, but should this target depend on ui/b
tfarina 2013/11/24 17:19:41 I added, thanks for catching this. I think it will
+ ],
+ },
+ 'inputs': [
+ '<(repack_path)',
+ '<@(pak_inputs)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/components/strings/component_strings_en-US.pak',
+ ],
+ 'action': ['python', '<(repack_path)', '<@(_outputs)',
+ '<@(pak_inputs)'],
+ },
+ ],
+ },
+ {
'target_name': 'components_unittests',
'type': '<(gtest_target_type)',
'sources': [
'auto_login_parser/auto_login_parser_unittest.cc',
'autofill/core/browser/webdata/autofill_entry_unittest.cc',
+ 'autofill/core/browser/webdata/autofill_table_unittest.cc',
+ 'autofill/core/browser/webdata/web_data_service_unittest.cc',
'autofill/core/common/form_data_unittest.cc',
'autofill/core/common/form_field_data_unittest.cc',
'autofill/core/common/password_form_fill_data_unittest.cc',
@@ -63,6 +95,8 @@
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
+ 'components_unittests_strings',
+
# Dependencies of autofill
'components.gyp:autofill_core_browser',
'components.gyp:autofill_core_common',
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/dom_distiller/core/distiller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698