diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-05-09 14:22:11 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-05-09 15:11:45 +0000 |
commit | 2ddb2d3e14eef3de7dbd0cef553d669b9ac2361c (patch) | |
tree | e75f511546c5fd1a173e87c1f9fb11d7ac8d1af3 /chromium/components/suggestions/BUILD.gn | |
parent | a4f3d46271c57e8155ba912df46a05559d14726e (diff) | |
download | qtwebengine-chromium-2ddb2d3e14eef3de7dbd0cef553d669b9ac2361c.tar.gz |
BASELINE: Update Chromium to 51.0.2704.41
Also adds in all smaller components by reversing logic for exclusion.
Change-Id: Ibf90b506e7da088ea2f65dcf23f2b0992c504422
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'chromium/components/suggestions/BUILD.gn')
-rw-r--r-- | chromium/components/suggestions/BUILD.gn | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/chromium/components/suggestions/BUILD.gn b/chromium/components/suggestions/BUILD.gn new file mode 100644 index 00000000000..e33d5f175f6 --- /dev/null +++ b/chromium/components/suggestions/BUILD.gn @@ -0,0 +1,69 @@ +# 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. + +source_set("suggestions") { + sources = [ + "blacklist_store.cc", + "blacklist_store.h", + "image_encoder.h", + "image_fetcher.h", + "image_fetcher_delegate.h", + "image_manager.cc", + "image_manager.h", + "suggestions_pref_names.cc", + "suggestions_pref_names.h", + "suggestions_service.cc", + "suggestions_service.h", + "suggestions_store.cc", + "suggestions_store.h", + ] + + public_deps = [ + "//base", + "//components/prefs", + "//components/suggestions/proto", + "//net", + "//ui/gfx", + "//url", + ] + deps = [ + "//components/data_use_measurement/core", + "//components/google/core/browser", + "//components/keyed_service/core", + "//components/leveldb_proto", + "//components/pref_registry", + "//components/signin/core/browser", + "//components/sync_driver:sync_driver", + "//components/variations", + "//components/variations/net", + "//google_apis", + ] + + if (is_ios) { + sources += [ "image_encoder_ios.mm" ] + } else { + sources += [ "image_encoder.cc" ] + } +} + +source_set("unit_tests") { + testonly = true + sources = [ + "blacklist_store_unittest.cc", + "image_manager_unittest.cc", + "suggestions_service_unittest.cc", + "suggestions_store_unittest.cc", + ] + deps = [ + ":suggestions", + "//base/test:test_support", + "//components/leveldb_proto:test_support", + "//components/pref_registry:test_support", + "//components/signin/core/browser:test_support", + "//components/sync_driver:test_support", + "//net:test_support", + "//testing/gmock", + "//testing/gtest", + ] +} |