OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("tabs") { | 5 source_set("tabs") { |
6 sources = [ | 6 sources = [ |
7 "web_state_list.h", | 7 "web_state_list.h", |
8 "web_state_list.mm", | 8 "web_state_list.mm", |
9 "web_state_list_fast_enumeration_helper.h", | 9 "web_state_list_fast_enumeration_helper.h", |
10 "web_state_list_fast_enumeration_helper.mm", | 10 "web_state_list_fast_enumeration_helper.mm", |
11 "web_state_list_metrics_observer.h", | 11 "web_state_list_metrics_observer.h", |
12 "web_state_list_metrics_observer.mm", | 12 "web_state_list_metrics_observer.mm", |
13 "web_state_list_observer.h", | 13 "web_state_list_observer.h", |
14 "web_state_list_observer_bridge.h", | 14 "web_state_list_observer_bridge.h", |
15 "web_state_list_observer_bridge.mm", | 15 "web_state_list_observer_bridge.mm", |
| 16 "web_state_list_order_controller.h", |
| 17 "web_state_list_order_controller.mm", |
16 ] | 18 ] |
17 deps = [ | 19 deps = [ |
18 "//base", | 20 "//base", |
19 "//ios/web", | 21 "//ios/web", |
| 22 "//ui/base", |
20 ] | 23 ] |
21 libs = [ "Foundation.framework" ] | 24 libs = [ "Foundation.framework" ] |
22 configs += [ "//build/config/compiler:enable_arc" ] | 25 configs += [ "//build/config/compiler:enable_arc" ] |
23 } | 26 } |
24 | 27 |
25 source_set("unit_tests") { | 28 source_set("unit_tests") { |
26 testonly = true | 29 testonly = true |
27 sources = [ | 30 sources = [ |
28 "web_state_list_fast_enumeration_helper_unittest.mm", | 31 "web_state_list_fast_enumeration_helper_unittest.mm", |
| 32 "web_state_list_order_controller_unittest.mm", |
29 "web_state_list_unittest.mm", | 33 "web_state_list_unittest.mm", |
30 ] | 34 ] |
31 deps = [ | 35 deps = [ |
32 ":tabs", | 36 ":tabs", |
33 "//base", | 37 "//base", |
34 "//ios/web:test_support", | 38 "//ios/web:test_support", |
35 "//net", | 39 "//net", |
36 "//testing/gtest", | 40 "//testing/gtest", |
| 41 "//ui/base", |
37 "//url", | 42 "//url", |
38 ] | 43 ] |
39 configs += [ "//build/config/compiler:enable_arc" ] | 44 configs += [ "//build/config/compiler:enable_arc" ] |
40 } | 45 } |
OLD | NEW |