| 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("browser_list") { | 5 source_set("browser_list") { |
| 6 sources = [ | 6 sources = [ |
| 7 "browser.h", | 7 "browser.h", |
| 8 "browser.mm", | 8 "browser.mm", |
| 9 "browser_list.h", | 9 "browser_list.h", |
| 10 "browser_list.mm", | 10 "browser_list.mm", |
| 11 "browser_web_state_list_delegate.h", | 11 "browser_web_state_list_delegate.h", |
| 12 "browser_web_state_list_delegate.mm", | 12 "browser_web_state_list_delegate.mm", |
| 13 ] | 13 ] |
| 14 deps = [ | 14 deps = [ |
| 15 "//base", | 15 "//base", |
| 16 "//ios/chrome/browser/browser_state", | 16 "//ios/chrome/browser/browser_state", |
| 17 "//ios/shared/chrome/browser/tabs", | 17 "//ios/shared/chrome/browser/tabs", |
| 18 "//ios/shared/chrome/browser/ui/commands", |
| 18 ] | 19 ] |
| 19 configs += [ "//build/config/compiler:enable_arc" ] | 20 configs += [ "//build/config/compiler:enable_arc" ] |
| 20 } | 21 } |
| 21 | 22 |
| 22 source_set("unit_tests") { | 23 source_set("unit_tests") { |
| 23 testonly = true | 24 testonly = true |
| 24 sources = [ | 25 sources = [ |
| 25 "browser_list_unittest.mm", | 26 "browser_list_unittest.mm", |
| 26 ] | 27 ] |
| 27 deps = [ | 28 deps = [ |
| 28 ":browser_list", | 29 ":browser_list", |
| 29 "//base", | 30 "//base", |
| 30 "//ios/chrome/browser/browser_state:test_support", | 31 "//ios/chrome/browser/browser_state:test_support", |
| 31 "//testing/gtest", | 32 "//testing/gtest", |
| 32 ] | 33 ] |
| 33 configs += [ "//build/config/compiler:enable_arc" ] | 34 configs += [ "//build/config/compiler:enable_arc" ] |
| 34 } | 35 } |
| OLD | NEW |