| 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", |
| 12 "web_state_list_metrics_observer.mm", |
| 11 "web_state_list_observer.h", | 13 "web_state_list_observer.h", |
| 12 "web_state_list_observer_bridge.h", | 14 "web_state_list_observer_bridge.h", |
| 13 "web_state_list_observer_bridge.mm", | 15 "web_state_list_observer_bridge.mm", |
| 14 ] | 16 ] |
| 15 deps = [ | 17 deps = [ |
| 16 "//base", | 18 "//base", |
| 17 "//ios/web", | 19 "//ios/web", |
| 18 ] | 20 ] |
| 19 libs = [ "Foundation.framework" ] | 21 libs = [ "Foundation.framework" ] |
| 20 configs += [ "//build/config/compiler:enable_arc" ] | 22 configs += [ "//build/config/compiler:enable_arc" ] |
| 21 } | 23 } |
| 22 | 24 |
| 23 source_set("unit_tests") { | 25 source_set("unit_tests") { |
| 24 testonly = true | 26 testonly = true |
| 25 sources = [ | 27 sources = [ |
| 26 "web_state_list_fast_enumeration_helper_unittest.mm", | 28 "web_state_list_fast_enumeration_helper_unittest.mm", |
| 27 "web_state_list_unittest.mm", | 29 "web_state_list_unittest.mm", |
| 28 ] | 30 ] |
| 29 deps = [ | 31 deps = [ |
| 30 ":tabs", | 32 ":tabs", |
| 31 "//base", | 33 "//base", |
| 32 "//ios/web:test_support", | 34 "//ios/web:test_support", |
| 33 "//net", | 35 "//net", |
| 34 "//testing/gtest", | 36 "//testing/gtest", |
| 35 "//url", | 37 "//url", |
| 36 ] | 38 ] |
| 37 configs += [ "//build/config/compiler:enable_arc" ] | 39 configs += [ "//build/config/compiler:enable_arc" ] |
| 38 } | 40 } |
| OLD | NEW |