1 # Copyright (c) 2013 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.
8 'keyboard_mojom_gen_js': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/webui/keyboard.mojom.js',
9 'inputview_dir': '../../third_party/google_input_tools/src/chrome/os/inputview',
10 'inputview_gen_js': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/resources/inputview.js',
14 'target_name': 'keyboard_mojom_bindings',
17 'webui/keyboard.mojom',
19 'includes': [ '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
22 # GN version: //ui/keyboard:resources
23 'target_name': 'keyboard_resources',
25 'keyboard_mojom_bindings',
26 '../../third_party/google_input_tools/inputview.gyp:inputview',
30 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard',
34 'action_name': 'keyboard_resources',
36 'grit_grd_file': 'keyboard_resources.grd',
37 'grit_additional_defines': [
38 '-E', 'keyboard_mojom_gen_js=<(keyboard_mojom_gen_js)',
39 '-E', 'inputview_dir=<(inputview_dir)',
40 '-E', 'inputview_gen_js=<(inputview_gen_js)',
43 'includes': [ '../../build/grit_action.gypi' ],
46 'includes': [ '../../build/grit_target.gypi' ],
49 'destination': '<(PRODUCT_DIR)',
51 '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/keyboard_resources.pak',
57 # GN version: //ui/keyboard
58 'target_name': 'keyboard',
59 'type': '<(component)',
61 '../../base/base.gyp:base',
62 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
63 '../../content/content.gyp:content_browser',
64 '../../ipc/ipc.gyp:ipc',
65 '../../mojo/edk/mojo_edk.gyp:mojo_system_impl',
66 '../../mojo/mojo_base.gyp:mojo_environment_chromium',
67 '../../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
68 '../../mojo/public/mojo_public.gyp:mojo_js_bindings',
69 '../../skia/skia.gyp:skia',
70 '../../url/url.gyp:url_lib',
71 '../aura/aura.gyp:aura',
72 '../base/ui_base.gyp:ui_base',
73 '../compositor/compositor.gyp:compositor',
74 '../events/events.gyp:dom4_keycode_converter',
75 '../events/events.gyp:events',
77 '../gfx/gfx.gyp:gfx_geometry',
79 'keyboard_mojom_bindings',
83 'KEYBOARD_IMPLEMENTATION',
88 'keyboard_constants.cc',
89 'keyboard_constants.h',
90 'keyboard_controller.cc',
91 'keyboard_controller.h',
92 'keyboard_controller_observer.h',
93 'keyboard_controller_proxy.cc',
94 'keyboard_controller_proxy.h',
95 'keyboard_layout_manager.h',
96 'keyboard_layout_manager.cc',
98 'keyboard_switches.cc',
99 'keyboard_switches.h',
102 'webui/vk_mojo_handler.cc',
103 'webui/vk_mojo_handler.h',
104 'webui/vk_webui_controller.cc',
105 'webui/vk_webui_controller.h',
106 '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/webui/keyboard.mojom.cc',
110 'target_name': 'keyboard_unittests',
111 'type': '<(gtest_target_type)',
113 '../../base/base.gyp:base',
114 '../../base/base.gyp:test_support_base',
115 '../../content/content.gyp:content',
116 '../../skia/skia.gyp:skia',
117 '../../testing/gtest.gyp:gtest',
118 '../../url/url.gyp:url_lib',
119 '../aura/aura.gyp:aura',
120 '../aura/aura.gyp:aura_test_support',
121 '../base/ui_base.gyp:ui_base',
122 '../compositor/compositor.gyp:compositor',
123 '../compositor/compositor.gyp:compositor_test_support',
124 '../gfx/gfx.gyp:gfx',
125 '../gfx/gfx.gyp:gfx_geometry',
126 '../resources/ui_resources.gyp:ui_test_pak',
131 'test/run_all_unittests.cc',
132 'keyboard_controller_unittest.cc',
135 ['OS=="linux" and use_allocator!="none"', {
137 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
140 'ldflags': ['-rdynamic'],
143 ['OS=="win" and win_use_allocator_shim==1', {
145 '<(DEPTH)/base/allocator/allocator.gyp:allocator',