# Copyright 2016 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. import("//ios/public/provider/chrome/browser/build_config.gni") source_set("sync_utils") { configs += [ "//build/config/compiler:enable_arc" ] sources = [ "sync_error_infobar_delegate.h", "sync_error_infobar_delegate.mm", "sync_presenter.h", "sync_util.h", "sync_util.mm", ] deps = [ "//base", "//components/browser_sync", "//components/infobars/core", "//components/signin/core/browser", "//components/strings", "//components/sync", "//google_apis", "//ios/chrome/app/strings", "//ios/chrome/browser/browser_state", "//ios/chrome/browser/infobars", "//ios/chrome/browser/signin", "//ios/chrome/browser/sync", "//ios/chrome/browser/tabs", "//ios/chrome/browser/ui/commands", "//ui/base", "//ui/gfx", ] libs = [ "UIKit.framework" ] } source_set("eg_tests") { configs += [ "//build/config/compiler:enable_arc" ] testonly = true sources = [ "sync_fake_server_egtest.mm", ] deps = [ "//base", "//base/test:test_support", "//components/bookmarks/browser", "//components/browser_sync", "//components/strings", "//components/sync", "//ios/chrome/app/strings", "//ios/chrome/browser/bookmarks", "//ios/chrome/browser/bookmarks:bookmarks_utils", "//ios/chrome/browser/signin", "//ios/chrome/browser/sync", "//ios/chrome/browser/ui/authentication:authentication_ui", "//ios/chrome/browser/ui/authentication:eg_test_support", "//ios/chrome/browser/ui/settings", "//ios/chrome/browser/ui/tools_menu", "//ios/chrome/browser/ui/tools_menu/public", "//ios/chrome/test/app:test_support", "//ios/chrome/test/earl_grey:test_support", "//ios/public/provider/chrome/browser/signin:test_support", "//ios/third_party/earl_grey:earl_grey+link", "//ios/web/public/test/http_server", "//net", "//ui/base", "//url", ] libs = [ "XCTest.framework" ] }