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',
22 'dependencies': [ 'keyboard_mojom_bindings', ],
25 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard',
29 'action_name': 'keyboard_resources',
31 'grit_grd_file': 'keyboard_resources.grd',
32 'grit_additional_defines': [
33 '-E', 'keyboard_mojom_gen_js=<(keyboard_mojom_gen_js)',
36 'includes': [ '../../build/grit_action.gypi' ],
39 'includes': [ '../../build/grit_target.gypi' ],
42 'destination': '<(PRODUCT_DIR)',
44 '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/keyboard_resources.pak',
50 # GN version: //ui/keyboard
51 'target_name': 'keyboard',
52 'type': '<(component)',
54 '../../base/base.gyp:base',
55 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
56 '../../content/content.gyp:content_browser',
57 '../../ipc/ipc.gyp:ipc',
58 '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
59 '../../mojo/mojo_base.gyp:mojo_environment_chromium',
60 '../../mojo/mojo_base.gyp:mojo_js_bindings',
61 '../../mojo/mojo_base.gyp:mojo_system_impl',
62 '../../skia/skia.gyp:skia',
63 '../../url/url.gyp:url_lib',
64 '../aura/aura.gyp:aura',
65 '../base/ui_base.gyp:ui_base',
66 '../compositor/compositor.gyp:compositor',
67 '../events/events.gyp:events',
69 '../gfx/gfx.gyp:gfx_geometry',
71 'keyboard_mojom_bindings',
75 'KEYBOARD_IMPLEMENTATION',
80 'keyboard_constants.cc',
81 'keyboard_constants.h',
82 'keyboard_controller.cc',
83 'keyboard_controller.h',
84 'keyboard_controller_observer.h',
85 'keyboard_controller_proxy.cc',
86 'keyboard_controller_proxy.h',
87 'keyboard_layout_manager.h',
88 'keyboard_layout_manager.cc',
90 'keyboard_switches.cc',
91 'keyboard_switches.h',
94 'webui/vk_mojo_handler.cc',
95 'webui/vk_mojo_handler.h',
96 'webui/vk_webui_controller.cc',
97 'webui/vk_webui_controller.h',
98 '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/webui/keyboard.mojom.cc',
102 'target_name': 'keyboard_unittests',
103 'type': '<(gtest_target_type)',
105 '../../base/base.gyp:base',
106 '../../base/base.gyp:test_support_base',
107 '../../content/content.gyp:content',
108 '../../skia/skia.gyp:skia',
109 '../../testing/gtest.gyp:gtest',
110 '../../url/url.gyp:url_lib',
111 '../aura/aura.gyp:aura',
112 '../aura/aura.gyp:aura_test_support',
113 '../base/ui_base.gyp:ui_base',
114 '../compositor/compositor.gyp:compositor',
115 '../compositor/compositor.gyp:compositor_test_support',
116 '../gfx/gfx.gyp:gfx',
117 '../gfx/gfx.gyp:gfx_geometry',
118 '../resources/ui_resources.gyp:ui_test_pak',
123 'test/run_all_unittests.cc',
124 'keyboard_controller_unittest.cc',
127 ['OS=="linux" and use_allocator!="none"', {
129 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
132 'ldflags': ['-rdynamic'],
135 ['OS=="win" and win_use_allocator_shim==1', {
137 '<(DEPTH)/base/allocator/allocator.gyp:allocator',