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

Side by Side Diff: ios/chrome/app/BUILD.gn

Issue 2610863002: Fix deps in all BUILD.gn files in ios. (Closed)
Patch Set: Created 3 years, 11 months 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/config/ios/rules.gni") 5 import("//build/config/ios/rules.gni")
6 import("//build/config/mac/base_rules.gni") 6 import("//build/config/mac/base_rules.gni")
7 import("//build/mac/tweak_info_plist.gni") 7 import("//build/mac/tweak_info_plist.gni")
8 import("//ios/build/chrome_build.gni") 8 import("//ios/build/chrome_build.gni")
9 import("//ios/public/provider/chrome/browser/build_config.gni") 9 import("//ios/public/provider/chrome/browser/build_config.gni")
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 "main_controller.h", 125 "main_controller.h",
126 "main_controller.mm", 126 "main_controller.mm",
127 "main_controller_private.h", 127 "main_controller_private.h",
128 "memory_monitor.h", 128 "memory_monitor.h",
129 "memory_monitor.mm", 129 "memory_monitor.mm",
130 "startup_tasks.h", 130 "startup_tasks.h",
131 "startup_tasks.mm", 131 "startup_tasks.mm",
132 ] 132 ]
133 133
134 deps = [ 134 deps = [
135 ":app",
136 ":tests_hook",
135 "//base", 137 "//base",
136 "//components/bookmarks/browser", 138 "//components/bookmarks/browser",
137 "//components/browser_sync", 139 "//components/browser_sync",
138 "//components/browsing_data/core", 140 "//components/browsing_data/core",
139 "//components/component_updater", 141 "//components/component_updater",
140 "//components/content_settings/core/browser", 142 "//components/content_settings/core/browser",
141 "//components/crash/core/common", 143 "//components/crash/core/common",
142 "//components/favicon/core", 144 "//components/favicon/core",
143 "//components/favicon_base", 145 "//components/favicon_base",
144 "//components/handoff", 146 "//components/handoff",
145 "//components/history/core/browser", 147 "//components/history/core/browser",
146 "//components/infobars/core", 148 "//components/infobars/core",
147 "//components/keyed_service/core", 149 "//components/keyed_service/core",
148 "//components/keyed_service/ios", 150 "//components/keyed_service/ios",
149 "//components/metrics", 151 "//components/metrics",
150 "//components/prefs", 152 "//components/prefs",
151 "//components/proxy_config", 153 "//components/proxy_config",
152 "//components/reading_list/core", 154 "//components/reading_list/core",
153 "//components/signin/core/browser", 155 "//components/signin/core/browser",
154 "//components/suggestions", 156 "//components/suggestions",
155 "//components/sync", 157 "//components/sync",
156 "//components/url_formatter", 158 "//components/url_formatter",
157 "//components/web_resource", 159 "//components/web_resource",
158 "//ios/chrome/app",
159 "//ios/chrome/app:tests_hook",
160 "//ios/chrome/app/application_delegate", 160 "//ios/chrome/app/application_delegate",
161 "//ios/chrome/app/application_delegate:application_delegate_internal", 161 "//ios/chrome/app/application_delegate:application_delegate_internal",
162 "//ios/chrome/app/safe_mode", 162 "//ios/chrome/app/safe_mode",
163 "//ios/chrome/app/spotlight", 163 "//ios/chrome/app/spotlight",
164 "//ios/chrome/app/startup", 164 "//ios/chrome/app/startup",
165 "//ios/chrome/app/strings", 165 "//ios/chrome/app/strings",
166 "//ios/chrome/browser", 166 "//ios/chrome/browser",
167 "//ios/chrome/browser:browser_internal", 167 "//ios/chrome/browser:browser_internal",
168 "//ios/chrome/browser/bookmarks", 168 "//ios/chrome/browser/bookmarks",
169 "//ios/chrome/browser/browser_state", 169 "//ios/chrome/browser/browser_state",
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 } 261 }
262 262
263 ios_app_bundle("chrome") { 263 ios_app_bundle("chrome") {
264 output_name = chromium_short_name 264 output_name = chromium_short_name
265 265
266 entitlements_target = ":entitlements" 266 entitlements_target = ":entitlements"
267 info_plist_target = ":info_plist" 267 info_plist_target = ":info_plist"
268 268
269 deps = [ 269 deps = [
270 ":main", 270 ":main",
271 "//ios/chrome/app:tests_fake_hook", 271 ":tests_fake_hook",
272 ] 272 ]
273 273
274 bundle_deps = [ "//ios/chrome/app/resources" ] 274 bundle_deps = [ "//ios/chrome/app/resources" ]
275 275
276 if (ios_enable_today_extension && current_toolchain == default_toolchain) { 276 if (ios_enable_today_extension && current_toolchain == default_toolchain) {
277 deps += [ ":today_extension_bundle" ] 277 deps += [ ":today_extension_bundle" ]
278 } 278 }
279 279
280 if (ios_enable_share_extension && current_toolchain == default_toolchain) { 280 if (ios_enable_share_extension && current_toolchain == default_toolchain) {
281 deps += [ ":share_extension_bundle" ] 281 deps += [ ":share_extension_bundle" ]
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 328
329 # Clean Skeleton targets. 329 # Clean Skeleton targets.
330 ios_app_bundle("chrome_clean_skeleton") { 330 ios_app_bundle("chrome_clean_skeleton") {
331 output_name = "CSChromium" 331 output_name = "CSChromium"
332 332
333 entitlements_path = "//ios/chrome/app/resources/Chrome.entitlements" 333 entitlements_path = "//ios/chrome/app/resources/Chrome.entitlements"
334 info_plist_target = ":info_plist" 334 info_plist_target = ":info_plist"
335 335
336 deps = [ 336 deps = [
337 ":main_clean_skeleton", 337 ":main_clean_skeleton",
338 "//ios/chrome/app:tests_fake_hook", 338 ":tests_fake_hook",
339 ] 339 ]
340 340
341 bundle_deps = [ "//ios/chrome/app/resources" ] 341 bundle_deps = [ "//ios/chrome/app/resources" ]
342 342
343 extra_substitutions = [ 343 extra_substitutions = [
344 "CHROMIUM_BUNDLE_ID=$chromium_bundle_id", 344 "CHROMIUM_BUNDLE_ID=$chromium_bundle_id",
345 "CHROMIUM_SHORT_NAME=$chromium_short_name", 345 "CHROMIUM_SHORT_NAME=$chromium_short_name",
346 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme", 346 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme",
347 "CHROMIUM_URL_SCHEME_2=$url_secure_scheme", 347 "CHROMIUM_URL_SCHEME_2=$url_secure_scheme",
348 "CHROMIUM_URL_SCHEME_3=$url_x_callback_scheme", 348 "CHROMIUM_URL_SCHEME_3=$url_x_callback_scheme",
349 "CHROMIUM_URL_SCHEME_4=$url_channel_scheme", 349 "CHROMIUM_URL_SCHEME_4=$url_channel_scheme",
350 ] 350 ]
351 351
352 if (ios_encryption_export_compliance_code != "") { 352 if (ios_encryption_export_compliance_code != "") {
353 extra_substitutions += [ "ENCRYPTION_EXPORT_COMPLIANCE_CODE=" + 353 extra_substitutions += [ "ENCRYPTION_EXPORT_COMPLIANCE_CODE=" +
354 ios_encryption_export_compliance_code ] 354 ios_encryption_export_compliance_code ]
355 } 355 }
356 } 356 }
357 357
358 source_set("main_clean_skeleton") { 358 source_set("main_clean_skeleton") {
359 sources = [ 359 sources = [
360 "main.mm", 360 "main.mm",
361 ] 361 ]
362 362
363 deps = [ 363 deps = [
364 ":app_clean_skeleton", 364 ":app_clean_skeleton",
365 ":app_internal",
365 "//base", 366 "//base",
366 "//components/crash/core/common", 367 "//components/crash/core/common",
367 "//ios/chrome/app:app_internal",
368 "//ios/chrome/app/startup", 368 "//ios/chrome/app/startup",
369 "//ios/chrome/browser", 369 "//ios/chrome/browser",
370 "//ios/chrome/browser:browser_internal", 370 "//ios/chrome/browser:browser_internal",
371 "//ios/chrome/browser/crash_report", 371 "//ios/chrome/browser/crash_report",
372 "//ios/chrome/common", 372 "//ios/chrome/common",
373 "//third_party/google_toolbox_for_mac", 373 "//third_party/google_toolbox_for_mac",
374 ] 374 ]
375 375
376 configs += [ "//build/config/compiler:enable_arc" ] 376 configs += [ "//build/config/compiler:enable_arc" ]
377 } 377 }
(...skipping 20 matching lines...) Expand all
398 "app_delegate.mm", 398 "app_delegate.mm",
399 ] 399 ]
400 400
401 configs += [ "//build/config/compiler:enable_arc" ] 401 configs += [ "//build/config/compiler:enable_arc" ]
402 402
403 deps = [ 403 deps = [
404 ":application_state_clean_skeleton", 404 ":application_state_clean_skeleton",
405 "//ios/chrome/app/steps", 405 "//ios/chrome/app/steps",
406 ] 406 ]
407 } 407 }
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/app/application_delegate/BUILD.gn » ('j') | ios/chrome/app/application_delegate/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698