Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: ios/public/provider/chrome/browser/BUILD.gn

Issue 2521493003: [ios] Adds BrandedImageProvider and its associated image resources. (Closed)
Patch Set: Review Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "distribution/app_distribution_provider.h", 12 "distribution/app_distribution_provider.h",
13 "distribution/app_distribution_provider.mm", 13 "distribution/app_distribution_provider.mm",
14 "geolocation_updater_provider.h", 14 "geolocation_updater_provider.h",
15 "geolocation_updater_provider.mm", 15 "geolocation_updater_provider.mm",
16 "images/branded_image_provider.h",
17 "images/branded_image_provider.mm",
18 "images/whats_new_icon.h",
16 "native_app_launcher/native_app_metadata.h", 19 "native_app_launcher/native_app_metadata.h",
17 "native_app_launcher/native_app_types.h", 20 "native_app_launcher/native_app_types.h",
18 "native_app_launcher/native_app_whitelist_manager.h", 21 "native_app_launcher/native_app_whitelist_manager.h",
19 "omaha/omaha_service_provider.h", 22 "omaha/omaha_service_provider.h",
20 "omaha/omaha_service_provider.mm", 23 "omaha/omaha_service_provider.mm",
21 "sessions/live_tab_context_provider.h", 24 "sessions/live_tab_context_provider.h",
22 "signin/chrome_identity.h", 25 "signin/chrome_identity.h",
23 "signin/chrome_identity.mm", 26 "signin/chrome_identity.mm",
24 "signin/chrome_identity_browser_opener.h", 27 "signin/chrome_identity_browser_opener.h",
25 "signin/chrome_identity_interaction_manager.h", 28 "signin/chrome_identity_interaction_manager.h",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "//components/metrics", 67 "//components/metrics",
65 "//components/sync_sessions", 68 "//components/sync_sessions",
66 "//ios/public/provider/web", 69 "//ios/public/provider/web",
67 "//ios/web", 70 "//ios/web",
68 "//url", 71 "//url",
69 ] 72 ]
70 73
71 libs = [ 74 libs = [
72 "CoreGraphics.framework", 75 "CoreGraphics.framework",
73 "CoreLocation.framework", 76 "CoreLocation.framework",
77 "Foundation.framework",
74 ] 78 ]
75 } 79 }
76 80
77 buildflag_header("provider_flags") { 81 buildflag_header("provider_flags") {
78 header = "provider_flags.h" 82 header = "provider_flags.h"
79 flags = [ "USE_IOS_INTERNAL_PROVIDER=$use_ios_internal_provider" ] 83 flags = [ "USE_IOS_INTERNAL_PROVIDER=$use_ios_internal_provider" ]
80 } 84 }
81 85
82 source_set("test_support") { 86 source_set("test_support") {
83 testonly = true 87 testonly = true
84 88
85 sources = [ 89 sources = [
86 "distribution/test_app_distribution_provider.h", 90 "distribution/test_app_distribution_provider.h",
87 "distribution/test_app_distribution_provider.mm", 91 "distribution/test_app_distribution_provider.mm",
92 "images/test_branded_image_provider.h",
93 "images/test_branded_image_provider.mm",
88 "omaha/test_omaha_service_provider.h", 94 "omaha/test_omaha_service_provider.h",
89 "omaha/test_omaha_service_provider.mm", 95 "omaha/test_omaha_service_provider.mm",
90 "sessions/test_live_tab_context_provider.cc", 96 "sessions/test_live_tab_context_provider.cc",
91 "sessions/test_live_tab_context_provider.h", 97 "sessions/test_live_tab_context_provider.h",
92 "sessions/test_synced_window_delegates_getter.cc", 98 "sessions/test_synced_window_delegates_getter.cc",
93 "sessions/test_synced_window_delegates_getter.h", 99 "sessions/test_synced_window_delegates_getter.h",
94 "signin/fake_chrome_identity.h", 100 "signin/fake_chrome_identity.h",
95 "signin/fake_chrome_identity.mm", 101 "signin/fake_chrome_identity.mm",
96 "signin/fake_chrome_identity_interaction_manager.h", 102 "signin/fake_chrome_identity_interaction_manager.h",
97 "signin/fake_chrome_identity_interaction_manager.mm", 103 "signin/fake_chrome_identity_interaction_manager.mm",
(...skipping 11 matching lines...) Expand all
109 "ui/test_styled_text_field.mm", 115 "ui/test_styled_text_field.mm",
110 "voice/test_voice_search_provider.h", 116 "voice/test_voice_search_provider.h",
111 "voice/test_voice_search_provider.mm", 117 "voice/test_voice_search_provider.mm",
112 ] 118 ]
113 119
114 deps = [ 120 deps = [
115 ":browser", 121 ":browser",
116 "//base", 122 "//base",
117 "//components/signin/ios/browser:test_support", 123 "//components/signin/ios/browser:test_support",
118 "//components/sync_sessions", 124 "//components/sync_sessions",
125 "//ios/chrome/app/theme",
119 "//testing/gtest", 126 "//testing/gtest",
120 ] 127 ]
121 public_deps = [ 128 public_deps = [
122 "//testing/gmock", 129 "//testing/gmock",
123 ] 130 ]
124 } 131 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698