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

Side by Side Diff: ios/clean/chrome/browser/ui/overlay_service/internal/BUILD.gn

Issue 2921833002: [iOS Clean] Created OverlayService.
Patch Set: rebase & Mark's comments Created 3 years, 6 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 source_set("web_contents") { 5 source_set("internal") {
marq (ping after 24h) 2017/06/23 10:42:01 I'm not sure that the internal/ subdirectory is us
6 sources = [ 6 sources = [
7 "web_contents_mediator.h", 7 "browser_coordinator+overlay_support.mm",
8 "web_contents_mediator.mm", 8 "browser_overlay_queue.h",
9 "web_coordinator.h", 9 "browser_overlay_queue.mm",
10 "web_coordinator.mm", 10 "overlay_queue.h",
11 "overlay_queue.mm",
12 "overlay_queue_observer.h",
13 "overlay_scheduler.h",
14 "overlay_scheduler.mm",
15 "overlay_service_factory.mm",
16 "overlay_service_impl.h",
17 "overlay_service_impl.mm",
18 "web_state_overlay_queue.h",
19 "web_state_overlay_queue.mm",
11 ] 20 ]
12 21
13 configs += [ "//build/config/compiler:enable_arc" ] 22 configs += [ "//build/config/compiler:enable_arc" ]
14 23
15 deps = [ 24 deps = [
16 ":web_contents_ui", 25 "//base",
17 "//ios/chrome/browser", 26 "//components/keyed_service/core",
27 "//components/keyed_service/ios",
28 "//ios/chrome/browser/browser_state",
18 "//ios/chrome/browser/web_state_list", 29 "//ios/chrome/browser/web_state_list",
19 "//ios/clean/chrome/browser/ui/commands", 30 "//ios/clean/chrome/browser/ui/commands",
20 "//ios/clean/chrome/browser/ui/context_menu", 31 "//ios/clean/chrome/browser/ui/overlay_service:overlay_service_headers",
21 "//ios/shared/chrome/browser/ui/browser_list", 32 "//ios/shared/chrome/browser/ui/browser_list",
22 "//ios/shared/chrome/browser/ui/commands", 33 "//ios/shared/chrome/browser/ui/commands",
23 "//ios/shared/chrome/browser/ui/coordinators", 34 "//ios/shared/chrome/browser/ui/coordinators",
24 "//ios/web", 35 "//ios/web",
25 "//ui/base",
26 "//url",
27 ] 36 ]
28 } 37 }
29 38
30 source_set("web_contents_ui") {
31 sources = [
32 "web_contents_consumer.h",
33 "web_contents_view_controller.h",
34 "web_contents_view_controller.mm",
35 ]
36
37 configs += [ "//build/config/compiler:enable_arc" ]
38 }
39
40 source_set("unit_tests") { 39 source_set("unit_tests") {
41 testonly = true 40 testonly = true
42 sources = [ 41 sources = [
43 "web_contents_mediator_unittest.mm", 42 "overlay_queue_unittest.mm",
44 ] 43 ]
45 44
46 configs += [ "//build/config/compiler:enable_arc" ] 45 configs += [ "//build/config/compiler:enable_arc" ]
47 46
48 deps = [ 47 deps = [
49 ":web_contents", 48 ":internal",
50 ":web_contents_ui",
51 "//base", 49 "//base",
52 "//base/test:test_support", 50 "//base/test:test_support",
53 "//ios/chrome/browser/web_state_list", 51 "//ios/chrome/browser/web_state_list",
54 "//ios/chrome/browser/web_state_list:test_support", 52 "//ios/chrome/browser/web_state_list:test_support",
55 "//ios/chrome/test/base", 53 "//ios/chrome/test/base",
54 "//ios/clean/chrome/browser/ui/commands",
55 "//ios/clean/chrome/browser/ui/overlay_service",
56 "//ios/shared/chrome/browser/ui/coordinators",
56 "//ios/web/public/test/fakes", 57 "//ios/web/public/test/fakes",
57 "//testing/gtest", 58 "//testing/gtest",
58 ] 59 ]
59 } 60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698