blob: 2759ec0f540ec842a3f59e26828b4ec7be5dcd63 [file] [log] [blame]
# 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") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"sync_error_infobar_delegate.h",
"sync_error_infobar_delegate.mm",
"sync_util.h",
"sync_util.mm",
]
deps = [
"//base",
"//components/browser_sync",
"//components/infobars/core",
"//components/strings",
"//components/sync",
"//google_apis",
"//ios/chrome/app/strings",
"//ios/chrome/browser/browser_state",
"//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",
"//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/settings",
"//ios/chrome/browser/ui/tools_menu",
"//ios/chrome/test/app:test_support",
"//ios/chrome/test/earl_grey:test_support",
"//ios/public/provider/chrome/browser/signin:test_support",
"//ios/testing:ios_test_support",
"//ios/third_party/earl_grey",
"//ios/web/public/test/http_server",
"//net",
"//ui/base",
"//url",
]
libs = [ "XCTest.framework" ]
}