OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 source_set("toolbar") { | 7 source_set("toolbar") { |
8 sources = [ | 8 sources = [ |
9 "toolbar_model.cc", | 9 "toolbar_model.cc", |
10 "toolbar_model.h", | 10 "toolbar_model.h", |
| 11 "toolbar_model_delegate.h", |
| 12 "toolbar_model_impl.cc", |
| 13 "toolbar_model_impl.h", |
11 ] | 14 ] |
12 | 15 |
13 deps = [ | 16 deps = [ |
14 "//base", | 17 "//base", |
| 18 "//components/google/core/browser", |
| 19 "//components/prefs", |
| 20 "//components/resources", |
15 "//components/security_state", | 21 "//components/security_state", |
| 22 "//components/strings", |
| 23 "//components/url_formatter", |
| 24 "//net", |
| 25 "//ui/base", |
| 26 "//ui/gfx", |
16 "//url", | 27 "//url", |
17 ] | 28 ] |
18 } | 29 } |
19 | 30 |
20 source_set("test_support") { | 31 source_set("test_support") { |
21 testonly = true | 32 testonly = true |
22 | 33 |
23 sources = [ | 34 sources = [ |
24 "test_toolbar_model.cc", | 35 "test_toolbar_model.cc", |
25 "test_toolbar_model.h", | 36 "test_toolbar_model.h", |
26 ] | 37 ] |
27 | 38 |
28 deps = [ | 39 deps = [ |
29 ":toolbar", | 40 ":toolbar", |
30 "//base", | 41 "//base", |
31 "//components/resources", | 42 "//components/resources", |
32 "//ui/gfx", | 43 "//ui/gfx", |
33 ] | 44 ] |
34 | 45 |
35 if (toolkit_views) { | 46 if (toolkit_views) { |
36 # Needed to get the TOOLKIT_VIEWS define. | 47 # Needed to get the TOOLKIT_VIEWS define. |
37 deps += [ "//ui/views" ] | 48 deps += [ "//ui/views" ] |
38 } | 49 } |
39 } | 50 } |
OLD | NEW |