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