OLD | NEW |
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("context_menu") { | 5 source_set("context_menu") { |
6 sources = [ | 6 sources = [ |
| 7 "context_menu_context_impl.h", |
| 8 "context_menu_context_impl.mm", |
7 "context_menu_mediator.h", | 9 "context_menu_mediator.h", |
8 "context_menu_mediator.mm", | 10 "context_menu_mediator.mm", |
9 "web_context_menu_coordinator.h", | 11 "web_context_menu_coordinator.h", |
10 "web_context_menu_coordinator.mm", | 12 "web_context_menu_coordinator.mm", |
11 ] | 13 ] |
12 | 14 |
13 configs += [ "//build/config/compiler:enable_arc" ] | 15 configs += [ "//build/config/compiler:enable_arc" ] |
14 | 16 |
15 deps = [ | 17 deps = [ |
16 ":context_menu_ui", | 18 ":context_menu_ui", |
| 19 "//ios/chrome/browser/web_state_list:web_state_list", |
| 20 "//ios/clean/chrome/browser/ui/commands:commands", |
17 "//ios/shared/chrome/browser/ui/browser_list", | 21 "//ios/shared/chrome/browser/ui/browser_list", |
18 "//ios/shared/chrome/browser/ui/commands", | 22 "//ios/shared/chrome/browser/ui/commands", |
19 "//ios/shared/chrome/browser/ui/coordinators", | 23 "//ios/shared/chrome/browser/ui/coordinators", |
20 "//ios/web", | 24 "//ios/web", |
21 "//ui/base", | 25 "//ui/base", |
22 "//url", | 26 "//url", |
23 ] | 27 ] |
24 } | 28 } |
25 | 29 |
26 source_set("context_menu_ui") { | 30 source_set("context_menu_ui") { |
27 sources = [ | 31 sources = [ |
28 "context_menu_consumer.h", | 32 "context_menu_consumer.h", |
29 "context_menu_consumer.mm", | 33 "context_menu_context.h", |
| 34 "context_menu_context.mm", |
| 35 "context_menu_item.h", |
| 36 "context_menu_item.mm", |
30 "context_menu_view_controller.h", | 37 "context_menu_view_controller.h", |
31 "context_menu_view_controller.mm", | 38 "context_menu_view_controller.mm", |
32 ] | 39 ] |
33 | 40 |
| 41 deps = [ |
| 42 "//base:base", |
| 43 ] |
| 44 |
34 configs += [ "//build/config/compiler:enable_arc" ] | 45 configs += [ "//build/config/compiler:enable_arc" ] |
35 } | 46 } |
36 | 47 |
37 source_set("unit_tests") { | 48 source_set("unit_tests") { |
38 testonly = true | 49 testonly = true |
39 sources = [ | 50 sources = [ |
40 "context_menu_mediator_unittest.mm", | 51 "context_menu_mediator_unittest.mm", |
41 ] | 52 ] |
42 | 53 |
43 configs += [ "//build/config/compiler:enable_arc" ] | 54 configs += [ "//build/config/compiler:enable_arc" ] |
44 | 55 |
45 deps = [ | 56 deps = [ |
46 ":context_menu", | 57 ":context_menu", |
47 ":context_menu_ui", | 58 ":context_menu_ui", |
48 "//base", | 59 "//base", |
49 "//base/test:test_support", | 60 "//base/test:test_support", |
50 "//ios/chrome/test/base", | 61 "//ios/chrome/test/base", |
51 "//ios/web:test_support", | 62 "//ios/web:test_support", |
52 "//testing/gtest", | 63 "//testing/gtest", |
53 ] | 64 ] |
54 } | 65 } |
OLD | NEW |