Fix -Wswitch warnings in //cloud_print
[chromium-blink-merge.git] / components / favicon_base / BUILD.gn
blob8f92d7a35d4faafbfda113efa16cf074eff7f451
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
3 # found in the LICENSE file.
5 source_set("favicon_base") {
6   sources = [
7     "fallback_icon_style.cc",
8     "fallback_icon_style.h",
9     "fallback_icon_url_parser.cc",
10     "fallback_icon_url_parser.h",
11     "favicon_callback.h",
12     "favicon_types.cc",
13     "favicon_types.h",
14     "favicon_url_parser.cc",
15     "favicon_url_parser.h",
16     "favicon_usage_data.cc",
17     "favicon_usage_data.h",
18     "favicon_util.cc",
19     "favicon_util.h",
20     "large_icon_url_parser.cc",
21     "large_icon_url_parser.h",
22     "select_favicon_frames.cc",
23     "select_favicon_frames.h",
24   ]
26   deps = [
27     "//base",
28     "//net",
29     "//skia",
30     "//ui/base",
31     "//ui/gfx",
32     "//ui/gfx/geometry",
33     "//url",
34   ]
37 source_set("unit_tests") {
38   testonly = true
39   sources = [
40     "fallback_icon_url_parser_unittest.cc",
41     "favicon_url_parser_unittest.cc",
42     "large_icon_url_parser_unittest.cc",
43     "select_favicon_frames_unittest.cc",
44   ]
46   deps = [
47     ":favicon_base",
48     "//testing/gtest",
49     "//ui/base",
50     "//ui/gfx",
51     "//ui/gfx/geometry",
52   ]