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

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

Issue 2923843002: Use desktop toolbar icons in VR. (Closed)
Patch Set: Created 3 years, 6 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 | « chrome/browser/ui/BUILD.gn ('k') | no next file » | 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") 5 import("//build/config/ui.gni")
6 import("//ui/vector_icons/vector_icons.gni") 6 import("//ui/vector_icons/vector_icons.gni")
7 7
8 aggregate_vector_icons("toolbar_vector_icons") { 8 aggregate_vector_icons("toolbar_vector_icons") {
9 icon_directory = "vector_icons" 9 icon_directory = "vector_icons"
10 10
11 icons = [ 11 icons = [
12 "http.1x.icon", 12 "http.1x.icon",
13 "http.icon", 13 "http.icon",
14 "https_invalid.1x.icon", 14 "https_invalid.1x.icon",
15 "https_invalid.icon", 15 "https_invalid.icon",
16 "https_valid.1x.icon", 16 "https_valid.1x.icon",
17 "https_valid.icon", 17 "https_valid.icon",
18 "https_valid_in_chip.1x.icon", 18 "https_valid_in_chip.1x.icon",
19 "https_valid_in_chip.icon", 19 "https_valid_in_chip.icon",
20 "product.1x.icon", 20 "product.1x.icon",
21 "product.icon", 21 "product.icon",
22 "star_active.icon", 22 "star_active.icon",
23 "star.icon", 23 "star.icon",
24 ] 24 ]
25 } 25 }
26 26
27 static_library("vector_icons") {
28 sources = get_target_outputs(":toolbar_vector_icons")
29 deps = [
30 ":toolbar_vector_icons",
31 "//skia",
32 "//ui/gfx",
33 "//ui/vector_icons",
34 ]
35 }
36
27 static_library("toolbar") { 37 static_library("toolbar") {
28 sources = [ 38 sources = [
29 "toolbar_model.h", 39 "toolbar_model.h",
30 "toolbar_model_delegate.h", 40 "toolbar_model_delegate.h",
31 "toolbar_model_impl.cc", 41 "toolbar_model_impl.cc",
32 "toolbar_model_impl.h", 42 "toolbar_model_impl.h",
33 ] 43 ]
34 44
35 public_deps = [ 45 public_deps = [
36 "//base", 46 "//base",
37 "//components/security_state/core", 47 "//components/security_state/core",
38 "//url", 48 "//url",
39 ] 49 ]
40 50
41 deps = [ 51 deps = [
42 "//components/google/core/browser", 52 "//components/google/core/browser",
43 "//components/prefs", 53 "//components/prefs",
44 "//components/resources", 54 "//components/resources",
45 "//components/strings", 55 "//components/strings",
46 "//components/url_formatter", 56 "//components/url_formatter",
47 "//net", 57 "//net",
48 "//ui/base", 58 "//ui/base",
49 "//ui/gfx", 59 "//ui/gfx",
50 ] 60 ]
51 61
52 if (!is_android && !is_ios) { 62 if (!is_android && !is_ios) {
53 sources += get_target_outputs(":toolbar_vector_icons") 63 deps += [ ":vector_icons" ]
54 deps += [
55 ":toolbar_vector_icons",
56 "//ui/vector_icons",
57 ]
58 } 64 }
59 } 65 }
60 66
61 static_library("test_support") { 67 static_library("test_support") {
62 testonly = true 68 testonly = true
63 69
64 sources = [ 70 sources = [
65 "test_toolbar_model.cc", 71 "test_toolbar_model.cc",
66 "test_toolbar_model.h", 72 "test_toolbar_model.h",
67 ] 73 ]
68 74
69 public_deps = [ 75 public_deps = [
70 ":toolbar", 76 ":toolbar",
71 "//base", 77 "//base",
72 ] 78 ]
73 79
74 deps = [ 80 deps = [
75 "//components/resources", 81 "//components/resources",
76 "//ui/gfx", 82 "//ui/gfx",
77 ] 83 ]
78 84
79 if (toolkit_views) { 85 if (toolkit_views) {
80 # Needed to get the TOOLKIT_VIEWS define. 86 # Needed to get the TOOLKIT_VIEWS define.
81 deps += [ "//ui/views" ] 87 deps += [ "//ui/views" ]
82 } 88 }
83 } 89 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698