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',
12 'target_name': 'keyboard_mojom_bindings',
15 'webui/keyboard.mojom',
17 'includes': [ '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
20 # GN version: //ui/keyboard:resources
21 'target_name': 'keyboard_resources',
23 'keyboard_mojom_bindings',
24 '../../third_party/google_input_tools/inputview.gyp:inputview',
28 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard',
32 'action_name': 'keyboard_resources',
34 'grit_grd_file': 'keyboard_resources.grd',
35 'grit_additional_defines': [
36 '-E', 'keyboard_mojom_gen_js=<(keyboard_mojom_gen_js)',
39 'includes': [ '../../build/grit_action.gypi' ],
42 'includes': [ '../../build/grit_target.gypi' ],
45 'destination': '<(PRODUCT_DIR)',
47 '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/keyboard_resources.pak',
53 # GN version: //ui/keyboard
54 'target_name': 'keyboard',
55 'type': '<(component)',
57 '../../base/base.gyp:base',
58 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
59 '../../content/content.gyp:content_browser',
60 '../../ipc/ipc.gyp:ipc',
61 '../../mojo/edk/mojo_edk.gyp:mojo_system_impl',
62 '../../mojo/mojo_base.gyp:mojo_environment_chromium',
63 '../../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
64 '../../mojo/public/mojo_public.gyp:mojo_js_bindings',
65 '../../skia/skia.gyp:skia',
66 '../../url/url.gyp:url_lib',
67 '../aura/aura.gyp:aura',
68 '../base/ui_base.gyp:ui_base',
69 '../compositor/compositor.gyp:compositor',
70 '../events/events.gyp:events',
72 '../gfx/gfx.gyp:gfx_geometry',
74 'keyboard_mojom_bindings',
78 'KEYBOARD_IMPLEMENTATION',
83 'keyboard_constants.cc',
84 'keyboard_constants.h',
85 'keyboard_controller.cc',
86 'keyboard_controller.h',
87 'keyboard_controller_observer.h',
88 'keyboard_controller_proxy.cc',
89 'keyboard_controller_proxy.h',
90 'keyboard_layout_manager.h',
91 'keyboard_layout_manager.cc',
93 'keyboard_switches.cc',
94 'keyboard_switches.h',
97 'webui/vk_mojo_handler.cc',
98 'webui/vk_mojo_handler.h',
99 'webui/vk_webui_controller.cc',
100 'webui/vk_webui_controller.h',
101 '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/webui/keyboard.mojom.cc',
105 'target_name': 'keyboard_unittests',
106 'type': '<(gtest_target_type)',
108 '../../base/base.gyp:base',
109 '../../base/base.gyp:test_support_base',
110 '../../content/content.gyp:content',
111 '../../skia/skia.gyp:skia',
112 '../../testing/gtest.gyp:gtest',
113 '../../url/url.gyp:url_lib',
114 '../aura/aura.gyp:aura',
115 '../aura/aura.gyp:aura_test_support',
116 '../base/ui_base.gyp:ui_base',
117 '../compositor/compositor.gyp:compositor',
118 '../compositor/compositor.gyp:compositor_test_support',
119 '../gfx/gfx.gyp:gfx',
120 '../gfx/gfx.gyp:gfx_geometry',
121 '../resources/ui_resources.gyp:ui_test_pak',
126 'test/run_all_unittests.cc',
127 'keyboard_controller_unittest.cc',
130 ['OS=="linux" and use_allocator!="none"', {
132 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
135 'ldflags': ['-rdynamic'],
138 ['OS=="win" and win_use_allocator_shim==1', {
140 '<(DEPTH)/base/allocator/allocator.gyp:allocator',