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