summaryrefslogtreecommitdiffstats
path: root/components/suggestions.gypi
diff options
context:
space:
mode:
authormathp@chromium.org <mathp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 16:47:48 +0000
committermathp@chromium.org <mathp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 16:47:48 +0000
commitbdceb3ba37b22419050d8d75fddd3bf87d1c2a2a (patch)
treef36c5a42e119c6cf3cc8da2b3daee07cff35a032 /components/suggestions.gypi
parentb49ced6688fc7d37c3a96946c43f14ef68f76eb0 (diff)
downloadchromium_src-bdceb3ba37b22419050d8d75fddd3bf87d1c2a2a.zip
chromium_src-bdceb3ba37b22419050d8d75fddd3bf87d1c2a2a.tar.gz
chromium_src-bdceb3ba37b22419050d8d75fddd3bf87d1c2a2a.tar.bz2
[Suggestions] Moving suggestions code to a new component
Adding base::StatisticsRecorder::Initialize() to run_all_unittests to mirror another change we had made to the content test suite in https://codereview.chromium.org/330473003/ BUG=387751 TEST=Suggestions*,Blacklist* Review URL: https://codereview.chromium.org/410673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/suggestions.gypi')
-rw-r--r--components/suggestions.gypi42
1 files changed, 42 insertions, 0 deletions
diff --git a/components/suggestions.gypi b/components/suggestions.gypi
new file mode 100644
index 0000000..0dae348
--- /dev/null
+++ b/components/suggestions.gypi
@@ -0,0 +1,42 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ # GN version: //components/suggestions
+ 'target_name': 'suggestions',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../net/net.gyp:net',
+ '../ui/gfx/gfx.gyp:gfx',
+ '../url/url.gyp:url_lib',
+ 'components.gyp:keyed_service_core',
+ 'components.gyp:pref_registry',
+ 'components.gyp:variations',
+ ],
+ 'sources': [
+ 'suggestions/blacklist_store.cc',
+ 'suggestions/blacklist_store.h',
+ 'suggestions/image_manager.h',
+ 'suggestions/proto/suggestions.proto',
+ 'suggestions/suggestions_pref_names.cc',
+ 'suggestions/suggestions_pref_names.h',
+ 'suggestions/suggestions_service.cc',
+ 'suggestions/suggestions_service.h',
+ 'suggestions/suggestions_store.cc',
+ 'suggestions/suggestions_store.h',
+ ],
+ 'variables': {
+ 'proto_in_dir': 'suggestions/proto',
+ 'proto_out_dir': 'components/suggestions/proto',
+ },
+ 'includes': [ '../build/protoc.gypi' ],
+ },
+ ],
+}