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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 component("ui_chromeos") { | 7 component("ui_chromeos") { |
8 sources = [ | 8 sources = [ |
9 "accessibility_types.h", | 9 "accessibility_types.h", |
10 "ime/candidate_view.cc", | 10 "ime/candidate_view.cc", |
(...skipping 20 matching lines...) Expand all Loading... |
31 "network/network_list.cc", | 31 "network/network_list.cc", |
32 "network/network_list.h", | 32 "network/network_list.h", |
33 "network/network_list_delegate.h", | 33 "network/network_list_delegate.h", |
34 "network/network_state_notifier.cc", | 34 "network/network_state_notifier.cc", |
35 "network/network_state_notifier.h", | 35 "network/network_state_notifier.h", |
36 "touch_exploration_controller.cc", | 36 "touch_exploration_controller.cc", |
37 "touch_exploration_controller.h", | 37 "touch_exploration_controller.h", |
38 "user_activity_power_manager_notifier.cc", | 38 "user_activity_power_manager_notifier.cc", |
39 "user_activity_power_manager_notifier.h", | 39 "user_activity_power_manager_notifier.h", |
40 ] | 40 ] |
| 41 defines = [ "UI_CHROMEOS_IMPLEMENTATION" ] |
41 deps = [ | 42 deps = [ |
42 "//base", | 43 "//base", |
43 "//base/third_party/dynamic_annotations", | 44 "//base/third_party/dynamic_annotations", |
44 "//chromeos:chromeos", | 45 "//chromeos:chromeos", |
45 "//chromeos:power_manager_proto", | 46 "//chromeos:power_manager_proto", |
46 "//skia", | 47 "//skia", |
47 "//ui/aura", | 48 "//ui/aura", |
48 "//ui/base", | 49 "//ui/base", |
49 "//ui/chromeos/resources", | 50 "//ui/chromeos/resources", |
50 "//ui/chromeos/strings", | 51 "//ui/chromeos/strings", |
51 "//ui/events", | 52 "//ui/events", |
52 "//ui/events:gesture_detection", | 53 "//ui/events:gesture_detection", |
53 "//ui/gfx", | 54 "//ui/gfx", |
54 "//ui/gfx/geometry", | 55 "//ui/gfx/geometry", |
55 "//ui/message_center", | 56 "//ui/message_center", |
| 57 "//ui/native_theme", |
56 "//ui/views", | 58 "//ui/views", |
57 "//ui/wm", | 59 "//ui/wm", |
58 ] | 60 ] |
59 defines = [ "UI_CHROMEOS_IMPLEMENTATION" ] | |
60 } | 61 } |
61 | 62 |
62 test("ui_chromeos_unittests") { | 63 test("ui_chromeos_unittests") { |
63 sources = [ | 64 sources = [ |
64 "ime/candidate_view_unittest.cc", | 65 "ime/candidate_view_unittest.cc", |
65 "ime/candidate_window_view_unittest.cc", | 66 "ime/candidate_window_view_unittest.cc", |
66 "ime/input_method_menu_item_unittest.cc", | 67 "ime/input_method_menu_item_unittest.cc", |
67 "ime/input_method_menu_manager_unittest.cc", | 68 "ime/input_method_menu_manager_unittest.cc", |
68 "network/network_state_notifier_unittest.cc", | 69 "network/network_state_notifier_unittest.cc", |
69 "run_all_unittests.cc", | 70 "run_all_unittests.cc", |
70 "touch_exploration_controller_unittest.cc", | 71 "touch_exploration_controller_unittest.cc", |
71 ] | 72 ] |
72 deps = [ | 73 deps = [ |
73 ":ui_chromeos", | 74 ":ui_chromeos", |
74 "//base/test:test_support", | 75 "//base/test:test_support", |
75 "//chromeos", | 76 "//chromeos", |
76 "//skia", | 77 "//skia", |
77 "//testing/gtest", | 78 "//testing/gtest", |
78 "//ui/aura:test_support", | 79 "//ui/aura:test_support", |
79 "//ui/compositor", | 80 "//ui/compositor", |
| 81 "//ui/events:test_support", |
| 82 "//ui/gl", |
80 "//ui/message_center", | 83 "//ui/message_center", |
81 "//ui/resources:ui_test_pak", | 84 "//ui/resources:ui_test_pak", |
82 "//ui/views", | 85 "//ui/views", |
83 "//ui/views:test_support", | 86 "//ui/views:test_support", |
84 ] | 87 ] |
85 } | 88 } |
OLD | NEW |