| # 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. |
| |
| source_set("signin") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "chrome_identity.h", |
| "chrome_identity.mm", |
| "chrome_identity_browser_opener.h", |
| "chrome_identity_interaction_manager.h", |
| "chrome_identity_interaction_manager.mm", |
| "chrome_identity_service.h", |
| "chrome_identity_service.mm", |
| "signin_error_provider.h", |
| "signin_error_provider.mm", |
| "signin_resources_provider.h", |
| "signin_resources_provider.mm", |
| ] |
| deps = [ |
| "//base", |
| ] |
| } |
| |
| source_set("test_support") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ |
| "fake_chrome_identity.h", |
| "fake_chrome_identity.mm", |
| "fake_chrome_identity_interaction_manager.h", |
| "fake_chrome_identity_interaction_manager.mm", |
| "fake_chrome_identity_service.h", |
| "fake_chrome_identity_service.mm", |
| "test_signin_resources_provider.h", |
| "test_signin_resources_provider.mm", |
| ] |
| deps = [ |
| ":signin", |
| "//base", |
| "//google_apis", |
| "//ios/public/provider/chrome/browser", |
| ] |
| public_deps = [ |
| "//testing/gmock", |
| ] |
| } |