Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: components/toolbar/BUILD.gn

Issue 1634743003: Componentize TestToolbarModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp dependency Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/toolbar.gypi ('k') | components/toolbar/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « components/toolbar.gypi ('k') | components/toolbar/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698