| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//ios/public/provider/chrome/browser/build_config.gni") | 6 import("//ios/public/provider/chrome/browser/build_config.gni") |
| 7 | 7 |
| 8 source_set("browser") { | 8 source_set("browser") { |
| 9 sources = [ | 9 sources = [ |
| 10 "chrome_browser_provider.h", | 10 "chrome_browser_provider.h", |
| 11 "chrome_browser_provider.mm", | 11 "chrome_browser_provider.mm", |
| 12 "geolocation_updater_provider.h", | 12 "geolocation_updater_provider.h", |
| 13 "geolocation_updater_provider.mm", | 13 "geolocation_updater_provider.mm", |
| 14 ] | 14 ] |
| 15 deps = [ | 15 deps = [ |
| 16 "//base", | 16 "//base", |
| 17 "//components/favicon_base", | 17 "//components/favicon_base", |
| 18 "//components/metrics", | 18 "//components/metrics", |
| 19 "//components/sync_sessions", | 19 "//components/sync_sessions", |
| 20 ] | 20 ] |
| 21 libs = [ "CoreLocation.framework" ] | 21 libs = [ "CoreLocation.framework" ] |
| 22 | |
| 23 # TODO(sdefresne): remove once downstream has been converted to depends | |
| 24 # directly on the sub-targets. | |
| 25 public_deps = [ | |
| 26 "//ios/public/provider/chrome/browser/distribution", | |
| 27 "//ios/public/provider/chrome/browser/images", | |
| 28 "//ios/public/provider/chrome/browser/native_app_launcher", | |
| 29 "//ios/public/provider/chrome/browser/omaha", | |
| 30 "//ios/public/provider/chrome/browser/sessions", | |
| 31 "//ios/public/provider/chrome/browser/signin", | |
| 32 "//ios/public/provider/chrome/browser/ui", | |
| 33 "//ios/public/provider/chrome/browser/user_feedback", | |
| 34 "//ios/public/provider/chrome/browser/voice", | |
| 35 ] | |
| 36 } | |
| 37 | |
| 38 buildflag_header("provider_flags") { | |
| 39 header = "provider_flags.h" | |
| 40 flags = [ "USE_DEFAULT_IOS_PROVIDER=$use_default_ios_provider" ] | |
| 41 } | 22 } |
| 42 | 23 |
| 43 source_set("test_support") { | 24 source_set("test_support") { |
| 44 testonly = true | 25 testonly = true |
| 45 sources = [ | 26 sources = [ |
| 46 "test_chrome_browser_provider.h", | 27 "test_chrome_browser_provider.h", |
| 47 "test_chrome_browser_provider.mm", | 28 "test_chrome_browser_provider.mm", |
| 48 "test_chrome_provider_initializer.h", | 29 "test_chrome_provider_initializer.h", |
| 49 "test_chrome_provider_initializer.mm", | 30 "test_chrome_provider_initializer.mm", |
| 50 ] | 31 ] |
| (...skipping 21 matching lines...) Expand all Loading... |
| 72 "//ios/public/provider/chrome/browser/images:test_support", | 53 "//ios/public/provider/chrome/browser/images:test_support", |
| 73 "//ios/public/provider/chrome/browser/native_app_launcher:test_support", | 54 "//ios/public/provider/chrome/browser/native_app_launcher:test_support", |
| 74 "//ios/public/provider/chrome/browser/omaha:test_support", | 55 "//ios/public/provider/chrome/browser/omaha:test_support", |
| 75 "//ios/public/provider/chrome/browser/sessions:test_support", | 56 "//ios/public/provider/chrome/browser/sessions:test_support", |
| 76 "//ios/public/provider/chrome/browser/signin:test_support", | 57 "//ios/public/provider/chrome/browser/signin:test_support", |
| 77 "//ios/public/provider/chrome/browser/ui:test_support", | 58 "//ios/public/provider/chrome/browser/ui:test_support", |
| 78 "//ios/public/provider/chrome/browser/user_feedback:test_support", | 59 "//ios/public/provider/chrome/browser/user_feedback:test_support", |
| 79 "//ios/public/provider/chrome/browser/voice:test_support", | 60 "//ios/public/provider/chrome/browser/voice:test_support", |
| 80 ] | 61 ] |
| 81 } | 62 } |
| OLD | NEW |