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