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 component("ui_chromeos") { | 5 component("ui_chromeos") { |
6 sources = [ | |
7 "accessibility_types.h", | |
8 "ime/candidate_view.cc", | |
9 "ime/candidate_view.h", | |
10 "ime/candidate_window_view.cc", | |
11 "ime/candidate_window_view.h", | |
12 "ime/infolist_window.cc", | |
13 "ime/infolist_window.h", | |
14 "ime/input_method_menu_item.cc", | |
15 "ime/input_method_menu_item.h", | |
16 "ime/input_method_menu_manager.cc", | |
17 "ime/input_method_menu_manager.h", | |
18 "ime/mode_indicator_view.cc", | |
19 "ime/mode_indicator_view.h", | |
20 "network/network_connect.cc", | |
21 "network/network_connect.h", | |
22 "network/network_icon.cc", | |
23 "network/network_icon.h", | |
24 "network/network_icon_animation.cc", | |
25 "network/network_icon_animation.h", | |
26 "network/network_icon_animation_observer.h", | |
27 "network/network_info.cc", | |
28 "network/network_info.h", | |
29 "network/network_list.cc", | |
30 "network/network_list.h", | |
31 "network/network_list_delegate.h", | |
32 "network/network_state_notifier.cc", | |
33 "network/network_state_notifier.h", | |
34 "touch_exploration_controller.cc", | |
35 "touch_exploration_controller.h", | |
36 "user_activity_power_manager_notifier.cc", | |
37 "user_activity_power_manager_notifier.h", | |
38 ] | |
39 deps = [ | 6 deps = [ |
40 "//base", | 7 "//base", |
41 "//base/third_party/dynamic_annotations", | 8 "//base/third_party/dynamic_annotations", |
| 9 "//chromeos:chromeos", |
42 "//chromeos:power_manager_proto", | 10 "//chromeos:power_manager_proto", |
43 "//skia", | 11 "//skia", |
44 "//ui/aura", | 12 "//ui/aura", |
45 "//ui/chromeos/resources", | 13 "//ui/chromeos/resources", |
46 "//ui/chromeos/strings", | 14 "//ui/chromeos/strings", |
47 "//ui/events", | 15 "//ui/events", |
48 "//ui/events:gesture_detection", | 16 "//ui/events:gesture_detection", |
49 "//ui/message_center", | 17 "//ui/message_center", |
50 "//ui/views", | 18 "//ui/views", |
51 "//ui/wm", | 19 "//ui/wm", |
52 ] | 20 ] |
| 21 sources = gypi_values.ui_chromeos_sources |
53 defines = [ "UI_CHROMEOS_IMPLEMENTATION" ] | 22 defines = [ "UI_CHROMEOS_IMPLEMENTATION" ] |
| 23 if (use_x11) { |
| 24 configs += [ "//build/config/linux:x11" ] |
| 25 deps += [ "//ui/gfx/x" ] |
| 26 sources -= [ |
| 27 "ime/ime_keyboard_ozone.cc", |
| 28 "ime/ime_keyboard_ozone.h", |
| 29 ] |
| 30 } else { |
| 31 sources -= [ |
| 32 "ime/ime_keyboard_x11.cc", |
| 33 "ime/ime_keyboard_x11.h", |
| 34 ] |
| 35 } |
54 } | 36 } |
OLD | NEW |