Componentize tests under search_engines

BUG=387985
TEST=components_unittests

Review URL: https://codereview.chromium.org/382663004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282523 0039d316-1c4b-4281-b951-d872f2087c98
parent c8850e6d
include_rules = [ include_rules = [
"-chrome/browser/autocomplete",
"-extensions", "-extensions",
] ]
specific_include_rules = {
"search_host_to_urls_map_unittest\.": [
"-chrome",
"-content",
],
"template_url_unittest\.": [
"-chrome",
"-content",
],
}
\ No newline at end of file
...@@ -1276,19 +1276,13 @@ ...@@ -1276,19 +1276,13 @@
'browser/search/suggestions/suggestions_service_unittest.cc', 'browser/search/suggestions/suggestions_service_unittest.cc',
'browser/search/suggestions/suggestions_store_unittest.cc', 'browser/search/suggestions/suggestions_store_unittest.cc',
'browser/search/suggestions/thumbnail_manager_unittest.cc', 'browser/search/suggestions/thumbnail_manager_unittest.cc',
'browser/search_engines/default_search_manager_unittest.cc',
'browser/search_engines/default_search_pref_migration_unittest.cc', 'browser/search_engines/default_search_pref_migration_unittest.cc',
'browser/search_engines/default_search_policy_handler_unittest.cc',
'browser/search_engines/search_host_to_urls_map_unittest.cc',
'browser/search_engines/search_provider_install_data_unittest.cc', 'browser/search_engines/search_provider_install_data_unittest.cc',
'browser/search_engines/template_url_fetcher_unittest.cc', 'browser/search_engines/template_url_fetcher_unittest.cc',
'browser/search_engines/template_url_service_util_unittest.cc', 'browser/search_engines/template_url_parser_unittest.cc',
'browser/search_engines/template_url_service_sync_unittest.cc', 'browser/search_engines/template_url_service_sync_unittest.cc',
'browser/search_engines/template_url_service_unittest.cc', 'browser/search_engines/template_url_service_unittest.cc',
'browser/search_engines/template_url_parser_unittest.cc',
'browser/search_engines/template_url_prepopulate_data_unittest.cc',
'browser/search_engines/template_url_scraper_unittest.cc', 'browser/search_engines/template_url_scraper_unittest.cc',
'browser/search_engines/template_url_unittest.cc',
'browser/services/gcm/fake_signin_manager.cc', 'browser/services/gcm/fake_signin_manager.cc',
'browser/services/gcm/fake_signin_manager.h', 'browser/services/gcm/fake_signin_manager.h',
'browser/services/gcm/gcm_account_tracker_unittest.cc', 'browser/services/gcm/gcm_account_tracker_unittest.cc',
...@@ -2266,7 +2260,6 @@ ...@@ -2266,7 +2260,6 @@
'browser/net/proxy_policy_handler_unittest.cc', 'browser/net/proxy_policy_handler_unittest.cc',
'browser/prefs/proxy_policy_unittest.cc', 'browser/prefs/proxy_policy_unittest.cc',
'browser/profiles/incognito_mode_policy_handler_unittest.cc', 'browser/profiles/incognito_mode_policy_handler_unittest.cc',
'browser/search_engines/default_search_policy_handler_unittest.cc',
'browser/sessions/restore_on_startup_policy_handler_unittest.cc', 'browser/sessions/restore_on_startup_policy_handler_unittest.cc',
'browser/sync/sync_policy_handler_unittest.cc', 'browser/sync/sync_policy_handler_unittest.cc',
], ],
......
...@@ -156,6 +156,12 @@ ...@@ -156,6 +156,12 @@
'rappor/log_uploader_unittest.cc', 'rappor/log_uploader_unittest.cc',
'rappor/rappor_metric_unittest.cc', 'rappor/rappor_metric_unittest.cc',
'rappor/rappor_service_unittest.cc', 'rappor/rappor_service_unittest.cc',
'search_engines/default_search_manager_unittest.cc',
'search_engines/default_search_policy_handler_unittest.cc',
'search_engines/search_host_to_urls_map_unittest.cc',
'search_engines/template_url_prepopulate_data_unittest.cc',
'search_engines/template_url_service_util_unittest.cc',
'search_engines/template_url_unittest.cc',
'search_provider_logos/logo_cache_unittest.cc', 'search_provider_logos/logo_cache_unittest.cc',
'search_provider_logos/logo_tracker_unittest.cc', 'search_provider_logos/logo_tracker_unittest.cc',
'sessions/serialized_navigation_entry_unittest.cc', 'sessions/serialized_navigation_entry_unittest.cc',
...@@ -337,6 +343,9 @@ ...@@ -337,6 +343,9 @@
# Dependencies of rappor # Dependencies of rappor
'components.gyp:rappor', 'components.gyp:rappor',
# Dependencies of search_engines
'components.gyp:search_engines',
# Dependencies of search_provider_logos # Dependencies of search_provider_logos
'components.gyp:search_provider_logos', 'components.gyp:search_provider_logos',
...@@ -440,6 +449,7 @@ ...@@ -440,6 +449,7 @@
['include', '^network_time/'], ['include', '^network_time/'],
['include', '^password_manager/'], ['include', '^password_manager/'],
['include', '^precache/core/'], ['include', '^precache/core/'],
['include', '^search_engines/'],
['include', '^search_provider_logos/'], ['include', '^search_provider_logos/'],
['include', '^signin/'], ['include', '^signin/'],
['include', '^sync_driver/'], ['include', '^sync_driver/'],
...@@ -632,6 +642,7 @@ ...@@ -632,6 +642,7 @@
'policy/core/common/schema_map_unittest.cc', 'policy/core/common/schema_map_unittest.cc',
'policy/core/common/schema_registry_unittest.cc', 'policy/core/common/schema_registry_unittest.cc',
'policy/core/common/schema_unittest.cc', 'policy/core/common/schema_unittest.cc',
'search_engines/default_search_policy_handler_unittest.cc',
], ],
'conditions': [ 'conditions': [
['OS=="android"', { ['OS=="android"', {
......
// Copyright 2013 The Chromium Authors. All rights reserved. // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
......
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
......
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -14,9 +14,7 @@ ...@@ -14,9 +14,7 @@
#include "components/search_engines/template_url.h" #include "components/search_engines/template_url.h"
#include "components/search_engines/template_url_prepopulate_data.h" #include "components/search_engines/template_url_prepopulate_data.h"
#include "components/search_engines/template_url_service.h" #include "components/search_engines/template_url_service.h"
#include "grit/generated_resources.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
using base::ASCIIToUTF16; using base::ASCIIToUTF16;
......
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
......
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment