| 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_delegate.h", |
| 9 "web_state_list_fast_enumeration_helper.h", | 10 "web_state_list_fast_enumeration_helper.h", |
| 10 "web_state_list_fast_enumeration_helper.mm", | 11 "web_state_list_fast_enumeration_helper.mm", |
| 11 "web_state_list_metrics_observer.h", | 12 "web_state_list_metrics_observer.h", |
| 12 "web_state_list_metrics_observer.mm", | 13 "web_state_list_metrics_observer.mm", |
| 13 "web_state_list_observer.h", | 14 "web_state_list_observer.h", |
| 14 "web_state_list_observer.mm", | 15 "web_state_list_observer.mm", |
| 15 "web_state_list_observer_bridge.h", | 16 "web_state_list_observer_bridge.h", |
| 16 "web_state_list_observer_bridge.mm", | 17 "web_state_list_observer_bridge.mm", |
| 17 "web_state_list_order_controller.h", | 18 "web_state_list_order_controller.h", |
| 18 "web_state_list_order_controller.mm", | 19 "web_state_list_order_controller.mm", |
| 19 ] | 20 ] |
| 20 deps = [ | 21 deps = [ |
| 21 "//base", | 22 "//base", |
| 22 "//ios/web", | 23 "//ios/web", |
| 23 "//ui/base", | 24 "//ui/base", |
| 24 ] | 25 ] |
| 25 libs = [ "Foundation.framework" ] | 26 libs = [ "Foundation.framework" ] |
| 26 configs += [ "//build/config/compiler:enable_arc" ] | 27 configs += [ "//build/config/compiler:enable_arc" ] |
| 27 } | 28 } |
| 28 | 29 |
| 30 source_set("test_support") { |
| 31 testonly = true |
| 32 sources = [ |
| 33 "fake_web_state_list_delegate.h", |
| 34 "fake_web_state_list_delegate.mm", |
| 35 ] |
| 36 deps = [ |
| 37 ":tabs", |
| 38 "//base", |
| 39 ] |
| 40 configs += [ "//build/config/compiler:enable_arc" ] |
| 41 } |
| 42 |
| 29 source_set("unit_tests") { | 43 source_set("unit_tests") { |
| 30 testonly = true | 44 testonly = true |
| 31 sources = [ | 45 sources = [ |
| 32 "web_state_list_fast_enumeration_helper_unittest.mm", | 46 "web_state_list_fast_enumeration_helper_unittest.mm", |
| 33 "web_state_list_order_controller_unittest.mm", | 47 "web_state_list_order_controller_unittest.mm", |
| 34 "web_state_list_unittest.mm", | 48 "web_state_list_unittest.mm", |
| 35 ] | 49 ] |
| 36 deps = [ | 50 deps = [ |
| 37 ":tabs", | 51 ":tabs", |
| 52 ":test_support", |
| 38 "//base", | 53 "//base", |
| 39 "//ios/web:test_support", | 54 "//ios/web:test_support", |
| 40 "//net", | 55 "//net", |
| 41 "//testing/gtest", | 56 "//testing/gtest", |
| 42 "//ui/base", | 57 "//ui/base", |
| 43 "//url", | 58 "//url", |
| 44 ] | 59 ] |
| 45 configs += [ "//build/config/compiler:enable_arc" ] | 60 configs += [ "//build/config/compiler:enable_arc" ] |
| 46 } | 61 } |
| OLD | NEW |