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