OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
6 import("//ui/vector_icons/vector_icons.gni") | 6 import("//ui/vector_icons/vector_icons.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
11 | 11 |
12 aggregate_vector_icons("omnibox_vector_icons") { | 12 aggregate_vector_icons("omnibox_vector_icons") { |
13 icon_directory = "vector_icons" | 13 icon_directory = "vector_icons" |
14 | 14 |
15 icons = [ | 15 icons = [ |
16 "calculator.1x.icon", | 16 "calculator.1x.icon", |
17 "calculator.icon", | 17 "calculator.icon", |
18 "extension_app.1x.icon", | 18 "extension_app.1x.icon", |
19 "extension_app.icon", | 19 "extension_app.icon", |
20 "http.icon", | 20 "http.icon", |
21 "keyword_search.icon", | 21 "keyword_search.icon", |
22 "search.icon", | |
23 "star.1x.icon", | 22 "star.1x.icon", |
24 "star.icon", | 23 "star.icon", |
25 ] | 24 ] |
26 } | 25 } |
27 | 26 |
28 static_library("browser") { | 27 static_library("browser") { |
29 sources = [ | 28 sources = [ |
30 "answers_cache.cc", | 29 "answers_cache.cc", |
31 "answers_cache.h", | 30 "answers_cache.h", |
32 "autocomplete_classifier.cc", | 31 "autocomplete_classifier.cc", |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 "//skia", | 160 "//skia", |
162 "//sql", | 161 "//sql", |
163 "//third_party/protobuf:protobuf_lite", | 162 "//third_party/protobuf:protobuf_lite", |
164 "//ui/base", | 163 "//ui/base", |
165 "//ui/gfx", | 164 "//ui/gfx", |
166 "//url", | 165 "//url", |
167 ] | 166 ] |
168 | 167 |
169 if (!is_android && !is_ios) { | 168 if (!is_android && !is_ios) { |
170 sources += get_target_outputs(":omnibox_vector_icons") | 169 sources += get_target_outputs(":omnibox_vector_icons") |
171 deps += [ ":omnibox_vector_icons" ] | 170 deps += [ |
| 171 ":omnibox_vector_icons", |
| 172 "//ui/vector_icons", |
| 173 ] |
172 } | 174 } |
173 | 175 |
174 # TODO(brettw) Fix the include cycle and remove this line. | 176 # TODO(brettw) Fix the include cycle and remove this line. |
175 allow_circular_includes_from = [ "//components/search_engines" ] | 177 allow_circular_includes_from = [ "//components/search_engines" ] |
176 } | 178 } |
177 | 179 |
178 if (is_android) { | 180 if (is_android) { |
179 java_cpp_enum("autocomplete_match_javagen") { | 181 java_cpp_enum("autocomplete_match_javagen") { |
180 sources = [ | 182 sources = [ |
181 "autocomplete_match.h", | 183 "autocomplete_match.h", |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 "//components/variations", | 301 "//components/variations", |
300 "//net:test_support", | 302 "//net:test_support", |
301 "//sql", | 303 "//sql", |
302 "//sql:test_support", | 304 "//sql:test_support", |
303 "//testing/gmock", | 305 "//testing/gmock", |
304 "//testing/gtest", | 306 "//testing/gtest", |
305 "//ui/base:base", | 307 "//ui/base:base", |
306 "//url", | 308 "//url", |
307 ] | 309 ] |
308 } | 310 } |
OLD | NEW |