Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Side by Side Diff: ui/keyboard/keyboard.gyp

Issue 1392713002: Extract content dependency from keyboard code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 'input_tools_root_dir': '../../third_party/google_input_tools/src/chrome/os' , 8 'input_tools_root_dir': '../../third_party/google_input_tools/src/chrome/os' ,
9 'inputview_gen_js': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/resources/inputv iew.js', 9 'inputview_gen_js': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/resources/inputv iew.js',
10 }, 10 },
(...skipping 27 matching lines...) Expand all
38 'destination': '<(PRODUCT_DIR)', 38 'destination': '<(PRODUCT_DIR)',
39 'files': [ 39 'files': [
40 '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/keyboard_resources.pak', 40 '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/keyboard_resources.pak',
41 ], 41 ],
42 }, 42 },
43 ], 43 ],
44 }, 44 },
45 { 45 {
46 # GN version: //ui/keyboard 46 # GN version: //ui/keyboard
47 'target_name': 'keyboard', 47 'target_name': 'keyboard',
48 'type': '<(component)', 48 'type': 'static_library',
49 'dependencies': [ 49 'dependencies': [
50 '../../base/base.gyp:base', 50 '../../base/base.gyp:base',
51 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations', 51 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
52 '../../content/content.gyp:content_browser',
53 '../../ipc/ipc.gyp:ipc',
54 '../../media/media.gyp:media', 52 '../../media/media.gyp:media',
55 '../../skia/skia.gyp:skia', 53 '../../skia/skia.gyp:skia',
56 '../../url/url.gyp:url_lib',
57 '../aura/aura.gyp:aura', 54 '../aura/aura.gyp:aura',
58 '../base/ime/ui_base_ime.gyp:ui_base_ime', 55 '../base/ime/ui_base_ime.gyp:ui_base_ime',
59 '../base/ui_base.gyp:ui_base', 56 '../base/ui_base.gyp:ui_base',
60 '../compositor/compositor.gyp:compositor', 57 '../compositor/compositor.gyp:compositor',
61 '../events/events.gyp:dom_keycode_converter', 58 '../events/events.gyp:dom_keycode_converter',
62 '../events/events.gyp:events', 59 '../events/events.gyp:events',
63 '../events/events.gyp:events_base', 60 '../events/events.gyp:events_base',
64 '../gfx/gfx.gyp:gfx', 61 '../gfx/gfx.gyp:gfx',
65 '../gfx/gfx.gyp:gfx_geometry', 62 '../gfx/gfx.gyp:gfx_geometry',
66 '../wm/wm.gyp:wm',
67 'keyboard_resources', 63 'keyboard_resources',
68 ], 64 ],
69 'defines': [ 65 'defines': [
70 'KEYBOARD_IMPLEMENTATION', 66 'KEYBOARD_IMPLEMENTATION',
sky 2015/10/09 18:23:29 Because you're changing the type is this still nec
71 ], 67 ],
72 'sources': [ 68 'sources': [
73 'keyboard.cc',
74 'keyboard.h',
75 'keyboard_constants.cc',
76 'keyboard_constants.h',
77 'keyboard_controller.cc', 69 'keyboard_controller.cc',
78 'keyboard_controller.h', 70 'keyboard_controller.h',
79 'keyboard_controller_observer.h', 71 'keyboard_controller_observer.h',
80 'keyboard_controller_proxy.cc',
81 'keyboard_controller_proxy.h',
82 'keyboard_export.h', 72 'keyboard_export.h',
83 'keyboard_layout_manager.cc', 73 'keyboard_layout_manager.cc',
84 'keyboard_layout_manager.h', 74 'keyboard_layout_manager.h',
85 'keyboard_switches.cc', 75 'keyboard_switches.cc',
86 'keyboard_switches.h', 76 'keyboard_switches.h',
77 'keyboard_ui.cc',
78 'keyboard_ui.h',
87 'keyboard_util.cc', 79 'keyboard_util.cc',
88 'keyboard_util.h', 80 'keyboard_util.h',
89 ], 81 ],
90 'conditions': [ 82 'conditions': [
91 ['use_ozone==1', { 83 ['use_ozone==1', {
92 'dependencies': [ 84 'dependencies': [
93 '../ozone/ozone.gyp:ozone', 85 '../ozone/ozone.gyp:ozone',
94 ], 86 ],
95 }], 87 }],
96 ], 88 ],
97 }, 89 },
98 { 90 {
91 # GN version: //ui/keyboard:keyboard_with_content
92 'target_name': 'keyboard_with_content',
93 'type': '<(component)',
94 'dependencies': [
95 'keyboard',
96 '../../base/base.gyp:base',
97 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
98 '../../content/content.gyp:content_browser',
99 '../../ipc/ipc.gyp:ipc',
100 '../../skia/skia.gyp:skia',
101 '../../url/url.gyp:url_lib',
102 '../aura/aura.gyp:aura',
103 '../base/ime/ui_base_ime.gyp:ui_base_ime',
104 '../base/ui_base.gyp:ui_base',
105 '../compositor/compositor.gyp:compositor',
106 '../events/events.gyp:dom_keycode_converter',
107 '../events/events.gyp:events',
108 '../events/events.gyp:events_base',
109 '../gfx/gfx.gyp:gfx',
110 '../gfx/gfx.gyp:gfx_geometry',
111 '../wm/wm.gyp:wm',
112 'keyboard_resources',
113 ],
114 'defines': [
115 'KEYBOARD_IMPLEMENTATION',
116 ],
117 'sources': [
118 'content/keyboard.cc',
119 'content/keyboard.h',
120 'content/keyboard_constants.cc',
121 'content/keyboard_constants.h',
122 'content/keyboard_content_util.cc',
123 'content/keyboard_content_util.h',
124 'content/keyboard_ui_content.cc',
125 'content/keyboard_ui_content.h',
126 ],
127 },
128 {
99 'target_name': 'keyboard_unittests', 129 'target_name': 'keyboard_unittests',
100 'type': '<(gtest_target_type)', 130 'type': '<(gtest_target_type)',
101 'dependencies': [ 131 'dependencies': [
102 '../../base/base.gyp:base', 132 '../../base/base.gyp:base',
103 '../../base/base.gyp:test_support_base', 133 '../../base/base.gyp:test_support_base',
104 '../../content/content.gyp:content', 134 '../../content/content.gyp:content',
105 '../../skia/skia.gyp:skia', 135 '../../skia/skia.gyp:skia',
106 '../../testing/gtest.gyp:gtest', 136 '../../testing/gtest.gyp:gtest',
107 '../../url/url.gyp:url_lib', 137 '../../url/url.gyp:url_lib',
108 '../aura/aura.gyp:aura', 138 '../aura/aura.gyp:aura',
109 '../aura/aura.gyp:aura_test_support', 139 '../aura/aura.gyp:aura_test_support',
110 '../base/ime/ui_base_ime.gyp:ui_base_ime', 140 '../base/ime/ui_base_ime.gyp:ui_base_ime',
111 '../base/ui_base.gyp:ui_base', 141 '../base/ui_base.gyp:ui_base',
112 '../compositor/compositor.gyp:compositor', 142 '../compositor/compositor.gyp:compositor',
113 '../compositor/compositor.gyp:compositor_test_support', 143 '../compositor/compositor.gyp:compositor_test_support',
114 '../gfx/gfx.gyp:gfx', 144 '../gfx/gfx.gyp:gfx',
115 '../gfx/gfx.gyp:gfx_geometry', 145 '../gfx/gfx.gyp:gfx_geometry',
116 '../resources/ui_resources.gyp:ui_test_pak', 146 '../resources/ui_resources.gyp:ui_test_pak',
117 '../wm/wm.gyp:wm', 147 '../wm/wm.gyp:wm',
118 'keyboard', 148 'keyboard_with_content',
119 ], 149 ],
120 'sources': [ 150 'sources': [
121 'keyboard_controller_unittest.cc', 151 'keyboard_controller_unittest.cc',
122 'keyboard_util_unittest.cc', 152 'keyboard_util_unittest.cc',
123 'test/run_all_unittests.cc', 153 'test/run_all_unittests.cc',
124 ], 154 ],
125 'conditions': [ 155 'conditions': [
126 ['OS=="linux" and use_allocator!="none"', { 156 ['OS=="linux" and use_allocator!="none"', {
127 'dependencies': [ 157 'dependencies': [
128 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 158 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
129 ], 159 ],
130 'link_settings': { 160 'link_settings': {
131 'ldflags': ['-rdynamic'], 161 'ldflags': ['-rdynamic'],
132 }, 162 },
133 }], 163 }],
134 ['OS=="win" and win_use_allocator_shim==1', { 164 ['OS=="win" and win_use_allocator_shim==1', {
135 'dependencies': [ 165 'dependencies': [
136 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 166 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
137 ], 167 ],
138 }], 168 }],
139 ], 169 ],
140 }, 170 },
141 ], 171 ],
142 } 172 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698