Roll src/third_party/WebKit 33ba8ad:8d0ce3d (svn 202514:202517)
[chromium-blink-merge.git] / ui / chromeos / ui_chromeos.gyp
blob2aeec8c0c37b4da48c21ce18869dfe69a76eeb4b
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'ui_chromeos_resources',
12       'type': 'none',
13       'variables': {
14         'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/chromeos/resources',
15       },
16       'actions': [
17         {
18           'action_name': 'ui_chromeos_resources',
19           'variables': {
20             'grit_grd_file': 'resources/ui_chromeos_resources.grd',
21           },
22           'includes': [ '../../build/grit_action.gypi' ],
23         },
24       ],
25       'includes': [ '../../build/grit_target.gypi' ],
26     },  # target_name: ui_chromeos_resources
27     {
28       'target_name': 'ui_chromeos_strings',
29       'type': 'none',
30       'variables': {
31         'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/chromeos/strings',
32       },
33       'actions': [
34         {
35           'action_name': 'generate_ui_chromeos_strings',
36           'variables': {
37             'grit_grd_file': 'ui_chromeos_strings.grd',
38           },
39           'includes': [ '../../build/grit_action.gypi' ],
40         },
41       ],
42       'includes': [ '../../build/grit_target.gypi' ],
43     },  # target_name: ui_chromeos_strings
44     {
45       'target_name': 'ui_chromeos',
46       'type': '<(component)',
47       'dependencies': [
48         '../../base/base.gyp:base',
49         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
50         '../../chromeos/chromeos.gyp:chromeos',
51         '../../chromeos/chromeos.gyp:power_manager_proto',
52         '../../components/components.gyp:device_event_log_component',
53         '../../skia/skia.gyp:skia',
54         '../aura/aura.gyp:aura',
55         '../base/ime/ui_base_ime.gyp:ui_base_ime',
56         '../base/ui_base.gyp:ui_base',
57         '../events/events.gyp:events',
58         '../events/events.gyp:gesture_detection',
59         '../gfx/gfx.gyp:gfx',
60         '../gfx/gfx.gyp:gfx_geometry',
61         '../message_center/message_center.gyp:message_center',
62         '../views/views.gyp:views',
63         '../wm/wm.gyp:wm',
64         'ui_chromeos_resources',
65         'ui_chromeos_strings',
66       ],
67       'defines': [
68         'UI_CHROMEOS_IMPLEMENTATION',
69       ],
70       'sources': [
71         'accelerometer/accelerometer_util.cc',
72         'accelerometer/accelerometer_util.h',
73         'accessibility_types.h',
74         'ime/candidate_view.cc',
75         'ime/candidate_view.h',
76         'ime/candidate_window_view.cc',
77         'ime/candidate_window_view.h',
78         'ime/infolist_window.cc',
79         'ime/infolist_window.h',
80         'ime/input_method_menu_item.cc',
81         'ime/input_method_menu_item.h',
82         'ime/input_method_menu_manager.cc',
83         'ime/input_method_menu_manager.h',
84         'ime/mode_indicator_view.cc',
85         'ime/mode_indicator_view.h',
86         'network/network_connect.cc',
87         'network/network_connect.h',
88         'network/network_icon.cc',
89         'network/network_icon.h',
90         'network/network_icon_animation.cc',
91         'network/network_icon_animation.h',
92         'network/network_icon_animation_observer.h',
93         'network/network_info.cc',
94         'network/network_info.h',
95         'network/network_list.cc',
96         'network/network_list.h',
97         'network/network_list_delegate.h',
98         'network/network_list_view_base.cc',
99         'network/network_list_view_base.h',
100         'network/network_state_notifier.cc',
101         'network/network_state_notifier.h',
102         'touch_exploration_controller.cc',
103         'touch_exploration_controller.h',
104         'user_activity_power_manager_notifier.cc',
105         'user_activity_power_manager_notifier.h',
106       ],
107     },  # target_name: ui_chromeos
108     {
109       'target_name': 'ui_chromeos_unittests',
110       'type': '<(gtest_target_type)',
111       'dependencies': [
112         '../../base/base.gyp:test_support_base',
113         '../../chromeos/chromeos.gyp:chromeos',
114         '../../skia/skia.gyp:skia',
115         '../../testing/gtest.gyp:gtest',
116         '../aura/aura.gyp:aura_test_support',
117         '../compositor/compositor.gyp:compositor',
118         '../message_center/message_center.gyp:message_center',
119         '../resources/ui_resources.gyp:ui_test_pak',
120         '../views/views.gyp:views',
121         '../views/views.gyp:views_test_support',
122         'ui_chromeos',
123       ],
124       'sources': [
125         '../chromeos/ime/candidate_view_unittest.cc',
126         '../chromeos/ime/candidate_window_view_unittest.cc',
127         '../chromeos/ime/input_method_menu_item_unittest.cc',
128         '../chromeos/ime/input_method_menu_manager_unittest.cc',
129         '../chromeos/network/network_state_notifier_unittest.cc',
130         '../chromeos/touch_exploration_controller_unittest.cc',
131         'run_all_unittests.cc',
132       ],
133     },  # target_name: ui_chromeos_unittests
134   ],