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.
11 'target_name': 'keyboard_resources',
14 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard',
18 'action_name': 'keyboard_resources',
20 'grit_grd_file': 'keyboard_resources.grd',
22 'includes': [ '../../build/grit_action.gypi' ],
25 'includes': [ '../../build/grit_target.gypi' ],
28 'destination': '<(PRODUCT_DIR)',
30 '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/keyboard_resources.pak',
36 'target_name': 'keyboard',
37 'type': '<(component)',
39 '../../base/base.gyp:base',
40 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
41 '../../content/content.gyp:content_browser',
42 '../../ipc/ipc.gyp:ipc',
43 '../../skia/skia.gyp:skia',
44 '../../url/url.gyp:url_lib',
45 '../aura/aura.gyp:aura',
46 '../base/ui_base.gyp:ui_base',
47 '../compositor/compositor.gyp:compositor',
48 '../events/events.gyp:events',
50 '../gfx/gfx.gyp:gfx_geometry',
51 '../wm/wm.gyp:wm_core',
55 'KEYBOARD_IMPLEMENTATION',
60 'keyboard_constants.cc',
61 'keyboard_constants.h',
62 'keyboard_controller.cc',
63 'keyboard_controller.h',
64 'keyboard_controller_observer.h',
65 'keyboard_controller_proxy.cc',
66 'keyboard_controller_proxy.h',
67 'keyboard_layout_manager.h',
68 'keyboard_layout_manager.cc',
70 'keyboard_switches.cc',
71 'keyboard_switches.h',
77 'target_name': 'keyboard_unittests',
78 'type': '<(gtest_target_type)',
80 '../../base/base.gyp:base',
81 '../../base/base.gyp:test_support_base',
82 '../../content/content.gyp:content',
83 '../../skia/skia.gyp:skia',
84 '../../testing/gtest.gyp:gtest',
85 '../../url/url.gyp:url_lib',
86 '../aura/aura.gyp:aura',
87 '../aura/aura.gyp:aura_test_support',
88 '../base/ui_base.gyp:ui_base',
89 '../compositor/compositor.gyp:compositor',
90 '../compositor/compositor.gyp:compositor_test_support',
92 '../gfx/gfx.gyp:gfx_geometry',
93 '../resources/ui_resources.gyp:ui_test_pak',
97 'test/run_all_unittests.cc',
98 'keyboard_controller_unittest.cc',
101 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
102 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
104 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
107 'ldflags': ['-rdynamic'],
110 ['OS=="win" and win_use_allocator_shim==1', {
112 '<(DEPTH)/base/allocator/allocator.gyp:allocator',