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") |
| 6 |
5 source_set("toolbar") { | 7 source_set("toolbar") { |
6 sources = [ | 8 sources = [ |
7 "toolbar_model.cc", | 9 "toolbar_model.cc", |
8 "toolbar_model.h", | 10 "toolbar_model.h", |
9 ] | 11 ] |
10 | 12 |
11 deps = [ | 13 deps = [ |
12 "//base", | 14 "//base", |
13 "//components/security_state", | 15 "//components/security_state", |
14 "//url", | 16 "//url", |
15 ] | 17 ] |
16 } | 18 } |
| 19 |
| 20 source_set("test_support") { |
| 21 testonly = true |
| 22 |
| 23 sources = [ |
| 24 "test_toolbar_model.cc", |
| 25 "test_toolbar_model.h", |
| 26 ] |
| 27 |
| 28 deps = [ |
| 29 ":toolbar", |
| 30 "//base", |
| 31 "//components/resources", |
| 32 "//ui/gfx", |
| 33 ] |
| 34 |
| 35 if (toolkit_views) { |
| 36 # Needed to get the TOOLKIT_VIEWS define. |
| 37 deps += [ "//ui/views" ] |
| 38 } |
| 39 } |
OLD | NEW |