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