OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 30 matching lines...) Expand all Loading... |
41 '../../content/content.gyp:content_browser', | 41 '../../content/content.gyp:content_browser', |
42 '../../ipc/ipc.gyp:ipc', | 42 '../../ipc/ipc.gyp:ipc', |
43 '../../skia/skia.gyp:skia', | 43 '../../skia/skia.gyp:skia', |
44 '../../url/url.gyp:url_lib', | 44 '../../url/url.gyp:url_lib', |
45 '../aura/aura.gyp:aura', | 45 '../aura/aura.gyp:aura', |
46 '../base/ui_base.gyp:ui_base', | 46 '../base/ui_base.gyp:ui_base', |
47 '../compositor/compositor.gyp:compositor', | 47 '../compositor/compositor.gyp:compositor', |
48 '../events/events.gyp:events', | 48 '../events/events.gyp:events', |
49 '../gfx/gfx.gyp:gfx', | 49 '../gfx/gfx.gyp:gfx', |
50 '../gfx/gfx.gyp:gfx_geometry', | 50 '../gfx/gfx.gyp:gfx_geometry', |
51 '../wm/wm.gyp:wm_core', | 51 '../wm/wm.gyp:wm', |
52 'keyboard_resources', | 52 'keyboard_resources', |
53 ], | 53 ], |
54 'defines': [ | 54 'defines': [ |
55 'KEYBOARD_IMPLEMENTATION', | 55 'KEYBOARD_IMPLEMENTATION', |
56 ], | 56 ], |
57 'sources': [ | 57 'sources': [ |
58 'keyboard.cc', | 58 'keyboard.cc', |
59 'keyboard.h', | 59 'keyboard.h', |
60 'keyboard_constants.cc', | 60 'keyboard_constants.cc', |
61 'keyboard_constants.h', | 61 'keyboard_constants.h', |
(...skipping 22 matching lines...) Expand all Loading... |
84 '../../testing/gtest.gyp:gtest', | 84 '../../testing/gtest.gyp:gtest', |
85 '../../url/url.gyp:url_lib', | 85 '../../url/url.gyp:url_lib', |
86 '../aura/aura.gyp:aura', | 86 '../aura/aura.gyp:aura', |
87 '../aura/aura.gyp:aura_test_support', | 87 '../aura/aura.gyp:aura_test_support', |
88 '../base/ui_base.gyp:ui_base', | 88 '../base/ui_base.gyp:ui_base', |
89 '../compositor/compositor.gyp:compositor', | 89 '../compositor/compositor.gyp:compositor', |
90 '../compositor/compositor.gyp:compositor_test_support', | 90 '../compositor/compositor.gyp:compositor_test_support', |
91 '../gfx/gfx.gyp:gfx', | 91 '../gfx/gfx.gyp:gfx', |
92 '../gfx/gfx.gyp:gfx_geometry', | 92 '../gfx/gfx.gyp:gfx_geometry', |
93 '../resources/ui_resources.gyp:ui_test_pak', | 93 '../resources/ui_resources.gyp:ui_test_pak', |
| 94 '../wm/wm.gyp:wm_test_support', |
94 'keyboard', | 95 'keyboard', |
95 ], | 96 ], |
96 'sources': [ | 97 'sources': [ |
97 'test/run_all_unittests.cc', | 98 'test/run_all_unittests.cc', |
98 'keyboard_controller_unittest.cc', | 99 'keyboard_controller_unittest.cc', |
99 ], | 100 ], |
100 'conditions': [ | 101 'conditions': [ |
101 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 102 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
102 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc
malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { | 103 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc
malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { |
103 'dependencies': [ | 104 'dependencies': [ |
104 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 105 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
105 ], | 106 ], |
106 'link_settings': { | 107 'link_settings': { |
107 'ldflags': ['-rdynamic'], | 108 'ldflags': ['-rdynamic'], |
108 }, | 109 }, |
109 }], | 110 }], |
110 ['OS=="win" and win_use_allocator_shim==1', { | 111 ['OS=="win" and win_use_allocator_shim==1', { |
111 'dependencies': [ | 112 'dependencies': [ |
112 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 113 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
113 ], | 114 ], |
114 }], | 115 }], |
115 ], | 116 ], |
116 }, | 117 }, |
117 ], | 118 ], |
118 } | 119 } |
OLD | NEW |