From 2ddb2d3e14eef3de7dbd0cef553d669b9ac2361c Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 9 May 2016 14:22:11 +0200 Subject: 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 --- chromium/components/suggestions/BUILD.gn | 69 ++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 chromium/components/suggestions/BUILD.gn (limited to 'chromium/components/suggestions/BUILD.gn') 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", + ] +} -- cgit v1.2.1