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 { |
| 11 'target_name': 'keyboard_resources', |
| 12 'type': 'none', |
| 13 'variables': { |
| 14 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard', |
| 15 }, |
| 16 'actions': [ |
| 17 { |
| 18 'action_name': 'keyboard_resources', |
| 19 'variables': { |
| 20 'grit_grd_file': 'keyboard_resources.grd', |
| 21 }, |
| 22 'includes': [ '../../build/grit_action.gypi' ], |
| 23 }, |
| 24 ], |
| 25 'includes': [ '../../build/grit_target.gypi' ], |
| 26 }, |
| 27 { |
11 'target_name': 'keyboard', | 28 'target_name': 'keyboard', |
12 'type': '<(component)', | 29 'type': '<(component)', |
13 'dependencies': [ | 30 'dependencies': [ |
14 '../../base/base.gyp:base', | 31 '../../base/base.gyp:base', |
15 '../../skia/skia.gyp:skia', | 32 '../../skia/skia.gyp:skia', |
16 '../aura/aura.gyp:aura', | 33 '../aura/aura.gyp:aura', |
17 '../compositor/compositor.gyp:compositor', | 34 '../compositor/compositor.gyp:compositor', |
18 '../ui.gyp:ui', | 35 '../ui.gyp:ui', |
| 36 'keyboard_resources', |
19 ], | 37 ], |
20 'defines': [ | 38 'defines': [ |
21 'KEYBOARD_IMPLEMENTATION', | 39 'KEYBOARD_IMPLEMENTATION', |
22 ], | 40 ], |
23 'sources': [ | 41 'sources': [ |
| 42 'keyboard_constants.cc', |
| 43 'keyboard_constants.h', |
24 'keyboard_controller.cc', | 44 'keyboard_controller.cc', |
25 'keyboard_controller.h', | 45 'keyboard_controller.h', |
26 'keyboard_controller_proxy.h', | 46 'keyboard_controller_proxy.h', |
27 'keyboard_export.h', | 47 'keyboard_export.h', |
28 'keyboard_switches.cc', | 48 'keyboard_switches.cc', |
29 'keyboard_switches.h', | 49 'keyboard_switches.h', |
| 50 'keyboard_ui_controller.cc', |
| 51 'keyboard_ui_controller.h', |
30 'keyboard_util.cc', | 52 'keyboard_util.cc', |
31 'keyboard_util.h', | 53 'keyboard_util.h', |
32 ] | 54 ] |
33 }, | 55 }, |
34 { | 56 { |
35 'target_name': 'keyboard_unittests', | 57 'target_name': 'keyboard_unittests', |
36 'type': 'executable', | 58 'type': 'executable', |
37 'dependencies': [ | 59 'dependencies': [ |
38 '../../base/base.gyp:base', | 60 '../../base/base.gyp:base', |
39 '../../base/base.gyp:test_support_base', | 61 '../../base/base.gyp:test_support_base', |
40 '../../skia/skia.gyp:skia', | 62 '../../skia/skia.gyp:skia', |
41 '../../testing/gtest.gyp:gtest', | 63 '../../testing/gtest.gyp:gtest', |
42 '../aura/aura.gyp:aura', | 64 '../aura/aura.gyp:aura', |
43 '../aura/aura.gyp:aura_test_support', | 65 '../aura/aura.gyp:aura_test_support', |
44 '../compositor/compositor.gyp:compositor', | 66 '../compositor/compositor.gyp:compositor', |
45 '../ui.gyp:run_ui_unittests', | 67 '../ui.gyp:run_ui_unittests', |
46 '../ui.gyp:ui', | 68 '../ui.gyp:ui', |
47 'keyboard', | 69 'keyboard', |
48 ], | 70 ], |
49 'sources': [ | 71 'sources': [ |
50 'keyboard_controller_unittest.cc', | 72 'keyboard_controller_unittest.cc', |
51 ], | 73 ], |
52 }, | 74 }, |
53 ], | 75 ], |
54 } | 76 } |
OLD | NEW |