summaryrefslogtreecommitdiffstats
path: root/ui/chromeos/ui_chromeos.gyp
blob: ea0c3dc4f6fe9949f971506d327bb27bf6736218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [
    {
      'target_name': 'ui_chromeos_resources',
      'type': 'none',
      'variables': {
        'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/chromeos/resources',
      },
      'actions': [
        {
          'action_name': 'ui_chromeos_resources',
          'variables': {
            'grit_grd_file': 'resources/ui_chromeos_resources.grd',
          },
          'includes': [ '../../build/grit_action.gypi' ],
        },
      ],
      'includes': [ '../../build/grit_target.gypi' ],
    },  # target_name: ui_chromeos_resources
    {
      'target_name': 'ui_chromeos_strings',
      'type': 'none',
      'variables': {
        'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/chromeos/strings',
      },
      'actions': [
        {
          'action_name': 'generate_ui_chromeos_strings',
          'variables': {
            'grit_grd_file': 'ui_chromeos_strings.grd',
          },
          'includes': [ '../../build/grit_action.gypi' ],
        },
      ],
      'includes': [ '../../build/grit_target.gypi' ],
    },  # target_name: ui_chromeos_strings
    {
      'target_name': 'ui_chromeos',
      'type': '<(component)',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '../../chromeos/chromeos.gyp:chromeos',
        '../../chromeos/chromeos.gyp:power_manager_proto',
        '../../components/components.gyp:device_event_log_component',
        '../../components/components.gyp:onc_component',
        '../../skia/skia.gyp:skia',
        '../aura/aura.gyp:aura',
        '../base/ime/ui_base_ime.gyp:ui_base_ime',
        '../base/ui_base.gyp:ui_base',
        '../events/events.gyp:events',
        '../events/events.gyp:gesture_detection',
        '../gfx/gfx.gyp:gfx',
        '../gfx/gfx.gyp:gfx_geometry',
        '../message_center/message_center.gyp:message_center',
        '../views/views.gyp:views',
        '../wm/wm.gyp:wm',
        'ui_chromeos_resources',
        'ui_chromeos_strings',
      ],
      'defines': [
        'UI_CHROMEOS_IMPLEMENTATION',
      ],
      'sources': [
        'accelerometer/accelerometer_util.cc',
        'accelerometer/accelerometer_util.h',
        'accessibility_types.h',
        'ime/candidate_view.cc',
        'ime/candidate_view.h',
        'ime/candidate_window_view.cc',
        'ime/candidate_window_view.h',
        'ime/infolist_window.cc',
        'ime/infolist_window.h',
        'ime/input_method_menu_item.cc',
        'ime/input_method_menu_item.h',
        'ime/input_method_menu_manager.cc',
        'ime/input_method_menu_manager.h',
        'ime/mode_indicator_view.cc',
        'ime/mode_indicator_view.h',
        'network/network_connect.cc',
        'network/network_connect.h',
        'network/network_icon.cc',
        'network/network_icon.h',
        'network/network_icon_animation.cc',
        'network/network_icon_animation.h',
        'network/network_icon_animation_observer.h',
        'network/network_info.cc',
        'network/network_info.h',
        'network/network_list.cc',
        'network/network_list.h',
        'network/network_list_delegate.h',
        'network/network_list_view_base.cc',
        'network/network_list_view_base.h',
        'network/network_state_notifier.cc',
        'network/network_state_notifier.h',
        'touch_exploration_controller.cc',
        'touch_exploration_controller.h',
        'user_activity_power_manager_notifier.cc',
        'user_activity_power_manager_notifier.h',
      ],
    },  # target_name: ui_chromeos
    {
      'target_name': 'ui_chromeos_unittests',
      'type': '<(gtest_target_type)',
      'dependencies': [
        '../../base/base.gyp:test_support_base',
        '../../chromeos/chromeos.gyp:chromeos',
        '../../skia/skia.gyp:skia',
        '../../testing/gtest.gyp:gtest',
        '../aura/aura.gyp:aura_test_support',
        '../compositor/compositor.gyp:compositor',
        '../message_center/message_center.gyp:message_center',
        '../resources/ui_resources.gyp:ui_test_pak',
        '../views/views.gyp:views',
        '../views/views.gyp:views_test_support',
        'ui_chromeos',
      ],
      'sources': [
        '../chromeos/ime/candidate_view_unittest.cc',
        '../chromeos/ime/candidate_window_view_unittest.cc',
        '../chromeos/ime/input_method_menu_item_unittest.cc',
        '../chromeos/ime/input_method_menu_manager_unittest.cc',
        '../chromeos/network/network_state_notifier_unittest.cc',
        '../chromeos/touch_exploration_controller_unittest.cc',
        'run_all_unittests.cc',
      ],
    },  # target_name: ui_chromeos_unittests
  ],
}