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

Side by Side Diff: ui/ui_base.gypi

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
« ui/ui.gyp ('K') | « ui/ui_api.h ('k') | ui/ui_gfx.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2011 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.
4
5 {
6 'targets': [
7 {
8 'target_name': 'ui_base',
9 'type': 'static_library',
10 'dependencies': [
11 '../base/base.gyp:base',
12 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
13 '../build/temp_gyp/googleurl.gyp:googleurl',
14 '../net/net.gyp:net',
15 '../skia/skia.gyp:skia',
16 '../third_party/icu/icu.gyp:icui18n',
17 '../third_party/icu/icu.gyp:icuuc',
18 'base/strings/ui_strings.gyp:ui_strings',
19 'ui_gfx',
20 ],
21 # Export these dependencies since text_elider.h includes ICU headers.
22 'export_dependent_settings': [
23 '../net/net.gyp:net',
24 '../third_party/icu/icu.gyp:icui18n',
25 '../third_party/icu/icu.gyp:icuuc',
26 ],
27 'sources': [
28 'base/accessibility/accessibility_types.h',
29 'base/accessibility/accessible_view_state.cc',
30 'base/accessibility/accessible_view_state.h',
31 'base/animation/animation.cc',
32 'base/animation/animation.h',
33 'base/animation/animation_container.cc',
34 'base/animation/animation_container.h',
35 'base/animation/animation_container_element.h',
36 'base/animation/animation_container_observer.h',
37 'base/animation/animation_delegate.h',
38 'base/animation/linear_animation.cc',
39 'base/animation/linear_animation.h',
40 'base/animation/multi_animation.cc',
41 'base/animation/multi_animation.h',
42 'base/animation/slide_animation.cc',
43 'base/animation/slide_animation.h',
44 'base/animation/throb_animation.cc',
45 'base/animation/throb_animation.h',
46 'base/animation/tween.cc',
47 'base/animation/tween.h',
48 'base/clipboard/clipboard.cc',
49 'base/clipboard/clipboard.h',
50 'base/clipboard/clipboard_linux.cc',
51 'base/clipboard/clipboard_mac.mm',
52 'base/clipboard/clipboard_util_win.cc',
53 'base/clipboard/clipboard_util_win.h',
54 'base/clipboard/clipboard_win.cc',
55 'base/clipboard/scoped_clipboard_writer.cc',
56 'base/clipboard/scoped_clipboard_writer.h',
57 'base/dragdrop/drag_drop_types_gtk.cc',
58 'base/dragdrop/drag_drop_types.h',
59 'base/dragdrop/drag_drop_types_win.cc',
60 'base/dragdrop/drag_source.cc',
61 'base/dragdrop/drag_source.h',
62 'base/dragdrop/drop_target.cc',
63 'base/dragdrop/drop_target.h',
64 'base/dragdrop/gtk_dnd_util.cc',
65 'base/dragdrop/gtk_dnd_util.h',
66 'base/dragdrop/os_exchange_data.cc',
67 'base/dragdrop/os_exchange_data.h',
68 'base/dragdrop/os_exchange_data_provider_gtk.cc',
69 'base/dragdrop/os_exchange_data_provider_gtk.h',
70 'base/dragdrop/os_exchange_data_provider_win.cc',
71 'base/dragdrop/os_exchange_data_provider_win.h',
72 'base/events.h',
73 'base/gtk/event_synthesis_gtk.cc',
74 'base/gtk/event_synthesis_gtk.h',
75 'base/gtk/g_object_destructor_filo.cc',
76 'base/gtk/g_object_destructor_filo.h',
77 'base/gtk/gtk_im_context_util.cc',
78 'base/gtk/gtk_im_context_util.h',
79 'base/gtk/gtk_signal.h',
80 'base/gtk/gtk_signal_registrar.cc',
81 'base/gtk/gtk_signal_registrar.h',
82 'base/gtk/gtk_windowing.cc',
83 'base/gtk/gtk_windowing.h',
84 'base/ime/composition_text.cc',
85 'base/ime/composition_text.h',
86 'base/ime/composition_underline.h',
87 'base/ime/text_input_type.h',
88 'base/keycodes/keyboard_code_conversion_gtk.cc',
89 'base/keycodes/keyboard_code_conversion_gtk.h',
90 'base/keycodes/keyboard_code_conversion_mac.h',
91 'base/keycodes/keyboard_code_conversion_mac.mm',
92 'base/keycodes/keyboard_code_conversion_win.cc',
93 'base/keycodes/keyboard_code_conversion_win.h',
94 'base/keycodes/keyboard_code_conversion_x.cc',
95 'base/keycodes/keyboard_code_conversion_x.h',
96 'base/keycodes/keyboard_codes.h',
97 'base/l10n/l10n_font_util.cc',
98 'base/l10n/l10n_font_util.h',
99 'base/l10n/l10n_util.cc',
100 'base/l10n/l10n_util.h',
101 'base/l10n/l10n_util_collator.h',
102 'base/l10n/l10n_util_mac.h',
103 'base/l10n/l10n_util_mac.mm',
104 'base/l10n/l10n_util_posix.cc',
105 'base/l10n/l10n_util_win.cc',
106 'base/l10n/l10n_util_win.h',
107 'base/message_box_flags.h',
108 'base/message_box_win.cc',
109 'base/message_box_win.h',
110 'base/models/accelerator_cocoa.h',
111 'base/models/accelerator_cocoa.mm',
112 'base/models/accelerator_gtk.h',
113 'base/models/accelerator.h',
114 'base/models/button_menu_item_model.cc',
115 'base/models/button_menu_item_model.h',
116 'base/models/combobox_model.h',
117 'base/models/menu_model.cc',
118 'base/models/menu_model.h',
119 'base/models/menu_model_delegate.h',
120 'base/models/simple_menu_model.cc',
121 'base/models/simple_menu_model.h',
122 'base/models/table_model.cc',
123 'base/models/table_model.h',
124 'base/models/table_model_observer.h',
125 'base/models/tree_model.cc',
126 'base/models/tree_model.h',
127 'base/models/tree_node_iterator.h',
128 'base/models/tree_node_model.h',
129 'base/range/range.cc',
130 'base/range/range.h',
131 'base/range/range_mac.mm',
132 'base/range/range_win.cc',
133 'base/resource/data_pack.cc',
134 'base/resource/data_pack.h',
135 'base/resource/resource_bundle.cc',
136 'base/resource/resource_bundle.h',
137 'base/resource/resource_bundle_linux.cc',
138 'base/resource/resource_bundle_mac.mm',
139 'base/resource/resource_bundle_posix.cc',
140 'base/resource/resource_bundle_win.cc',
141 'base/text/bytes_formatting.cc',
142 'base/text/bytes_formatting.h',
143 'base/text/text_elider.cc',
144 'base/text/text_elider.h',
145 'base/theme_provider.cc',
146 'base/theme_provider.h',
147 'base/ui_base_paths.cc',
148 'base/ui_base_paths.h',
149 'base/ui_base_switches.cc',
150 'base/ui_base_switches.h',
151 'base/view_prop.cc',
152 'base/view_prop.h',
153 'base/win/hwnd_util.cc',
154 'base/win/hwnd_util.h',
155 'base/win/ime_input.cc',
156 'base/win/ime_input.h',
157 'base/win/shell.cc',
158 'base/win/shell.h',
159 'base/win/window_impl.cc',
160 'base/win/window_impl.h',
161 'base/x/active_window_watcher_x.cc',
162 'base/x/active_window_watcher_x.h',
163 'base/x/x11_util.cc',
164 'base/x/x11_util.h',
165 'base/x/x11_util_internal.h',
166 ],
167 'conditions': [
168 ['toolkit_uses_gtk == 1', {
169 'dependencies': [
170 '../build/linux/system.gyp:fontconfig',
171 '../build/linux/system.gyp:gtk',
172 '../build/linux/system.gyp:x11',
173 '../build/linux/system.gyp:xext',
174 ],
175 'link_settings': {
176 'libraries': [
177 '-lXrender', # For XRender* function calls in x11_util.cc.
178 ],
179 },
180 'conditions': [
181 ['toolkit_views==0', {
182 # Note: because of gyp predence rules this has to be defined as
183 # 'sources/' rather than 'sources!'.
184 'sources/': [
185 ['exclude', '^base/dragdrop/drag_drop_types_gtk.cc'],
186 ['exclude', '^base/dragdrop/os_exchange_data.cc'],
187 ['exclude', '^base/dragdrop/os_exchange_data.h'],
188 ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.cc'],
189 ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.h'],
190 ],
191 }, {
192 # Note: because of gyp predence rules this has to be defined as
193 # 'sources/' rather than 'sources!'.
194 'sources/': [
195 ['include', '^base/dragdrop/os_exchange_data.cc'],
196 ],
197 }],
198 ],
199 }],
200 ['OS!="win"', {
201 'sources!': [
202 'base/dragdrop/drag_source.cc',
203 'base/dragdrop/drag_source.h',
204 'base/dragdrop/drag_drop_types.h',
205 'base/dragdrop/drop_target.cc',
206 'base/dragdrop/drop_target.h',
207 'base/dragdrop/os_exchange_data.cc',
208 'base/view_prop.cc',
209 'base/view_prop.h',
210 ],
211 'sources/': [
212 ['exclude', '^base/win/*'],
213 ],
214 }],
215 ['OS=="mac"', {
216 'link_settings': {
217 'libraries': [
218 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
219 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
220 ],
221 },
222 }],
223 ['use_x11==1', {
224 'all_dependent_settings': {
225 'ldflags': [
226 '-L<(PRODUCT_DIR)',
227 ],
228 'link_settings': {
229 'libraries': [
230 '-lX11',
231 '-ldl',
232 ],
233 },
234 },
235 }, { # use_x11==0
236 'sources!': [
237 'base/keycodes/keyboard_code_conversion_x.cc',
238 'base/keycodes/keyboard_code_conversion_x.h',
239 ],
240 }],
241 ],
242 },
243 ],
244 'conditions': [
245 ['OS=="win"', {
246 'targets': [
247 {
248 'target_name': 'ui_base_nacl_win64',
249 'type': 'static_library',
250 'defines': [
251 '<@(nacl_win64_defines)',
252 ],
253 'sources': [
254 'base/resource/resource_bundle_dummy.cc',
255 'base/ui_base_paths.h',
256 'base/ui_base_paths.cc',
257 'base/ui_base_switches.h',
258 'base/ui_base_switches.cc',
259 ],
260 'include_dirs': [
261 '..',
262 ],
263 'configurations': {
264 'Common_Base': {
265 'msvs_target_platform': 'x64',
266 },
267 },
268 },
269 ],
270 }],
271 ],
272 }
OLDNEW
« ui/ui.gyp ('K') | « ui/ui_api.h ('k') | ui/ui_gfx.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698