Fix 'gn check' errors in //ui/* targets.
[chromium-blink-merge.git] / ui / chromeos / BUILD.gn
blobea2fc20cf58b9d78a24c843eee54de4ee2588ca5
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 import("//testing/test.gni")
7 component("ui_chromeos") {
8   sources = [
9     "accessibility_types.h",
10     "ime/candidate_view.cc",
11     "ime/candidate_view.h",
12     "ime/candidate_window_view.cc",
13     "ime/candidate_window_view.h",
14     "ime/infolist_window.cc",
15     "ime/infolist_window.h",
16     "ime/input_method_menu_item.cc",
17     "ime/input_method_menu_item.h",
18     "ime/input_method_menu_manager.cc",
19     "ime/input_method_menu_manager.h",
20     "ime/mode_indicator_view.cc",
21     "ime/mode_indicator_view.h",
22     "network/network_connect.cc",
23     "network/network_connect.h",
24     "network/network_icon.cc",
25     "network/network_icon.h",
26     "network/network_icon_animation.cc",
27     "network/network_icon_animation.h",
28     "network/network_icon_animation_observer.h",
29     "network/network_info.cc",
30     "network/network_info.h",
31     "network/network_list.cc",
32     "network/network_list.h",
33     "network/network_list_delegate.h",
34     "network/network_state_notifier.cc",
35     "network/network_state_notifier.h",
36     "touch_exploration_controller.cc",
37     "touch_exploration_controller.h",
38     "user_activity_power_manager_notifier.cc",
39     "user_activity_power_manager_notifier.h",
40   ]
41   defines = [ "UI_CHROMEOS_IMPLEMENTATION" ]
42   deps = [
43     "//base",
44     "//base/third_party/dynamic_annotations",
45     "//chromeos:chromeos",
46     "//chromeos:power_manager_proto",
47     "//skia",
48     "//ui/aura",
49     "//ui/base",
50     "//ui/chromeos/resources",
51     "//ui/chromeos/strings",
52     "//ui/events",
53     "//ui/events:gesture_detection",
54     "//ui/gfx",
55     "//ui/gfx/geometry",
56     "//ui/message_center",
57     "//ui/native_theme",
58     "//ui/views",
59     "//ui/wm",
60   ]
63 test("ui_chromeos_unittests") {
64   sources = [
65     "ime/candidate_view_unittest.cc",
66     "ime/candidate_window_view_unittest.cc",
67     "ime/input_method_menu_item_unittest.cc",
68     "ime/input_method_menu_manager_unittest.cc",
69     "network/network_state_notifier_unittest.cc",
70     "run_all_unittests.cc",
71     "touch_exploration_controller_unittest.cc",
72   ]
73   deps = [
74     ":ui_chromeos",
75     "//base/test:test_support",
76     "//chromeos",
77     "//skia",
78     "//testing/gtest",
79     "//ui/aura:test_support",
80     "//ui/compositor",
81     "//ui/events:test_support",
82     "//ui/gl",
83     "//ui/message_center",
84     "//ui/resources:ui_test_pak",
85     "//ui/views",
86     "//ui/views:test_support",
87   ]