1 # Copyright (c) 2012 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.
15 'type': '<(component)',
16 'variables': { 'enable_wexit_time_destructors': 1, },
18 '../base/base.gyp:base',
19 '../base/base.gyp:base_i18n',
20 '../base/base.gyp:base_static',
21 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
22 '../build/temp_gyp/googleurl.gyp:googleurl',
24 '../skia/skia.gyp:skia',
25 '../third_party/icu/icu.gyp:icui18n',
26 '../third_party/icu/icu.gyp:icuuc',
27 '../third_party/libpng/libpng.gyp:libpng',
28 '../third_party/zlib/zlib.gyp:zlib',
29 'base/strings/ui_strings.gyp:ui_strings',
35 # Export these dependencies since text_elider.h includes ICU headers.
36 'export_dependent_settings': [
38 '../third_party/icu/icu.gyp:icui18n',
39 '../third_party/icu/icu.gyp:icuuc',
42 'android/ui_jni_registrar.cc',
43 'android/ui_jni_registrar.h',
44 'base/accelerators/accelerator.cc',
45 'base/accelerators/accelerator.h',
46 'base/accelerators/platform_accelerator.h',
47 'base/accelerators/platform_accelerator_cocoa.h',
48 'base/accelerators/platform_accelerator_cocoa.mm',
49 'base/accelerators/platform_accelerator_gtk.cc',
50 'base/accelerators/platform_accelerator_gtk.h',
51 'base/accelerators/accelerator_manager.cc',
52 'base/accelerators/accelerator_manager.h',
53 'base/accessibility/accessibility_types.h',
54 'base/accessibility/accessible_text_utils.cc',
55 'base/accessibility/accessible_text_utils.h',
56 'base/accessibility/accessible_view_state.cc',
57 'base/accessibility/accessible_view_state.h',
58 'base/animation/animation.cc',
59 'base/animation/animation.h',
60 'base/animation/animation_container.cc',
61 'base/animation/animation_container.h',
62 'base/animation/animation_container_element.h',
63 'base/animation/animation_container_observer.h',
64 'base/animation/animation_delegate.h',
65 'base/animation/linear_animation.cc',
66 'base/animation/linear_animation.h',
67 'base/animation/multi_animation.cc',
68 'base/animation/multi_animation.h',
69 'base/animation/slide_animation.cc',
70 'base/animation/slide_animation.h',
71 'base/animation/throb_animation.cc',
72 'base/animation/throb_animation.h',
73 'base/animation/tween.cc',
74 'base/animation/tween.h',
75 'base/clipboard/clipboard.cc',
76 'base/clipboard/clipboard.h',
77 'base/clipboard/clipboard_android.cc',
78 'base/clipboard/clipboard_aurax11.cc',
79 'base/clipboard/clipboard_chromeos.cc',
80 'base/clipboard/clipboard_gtk.cc',
81 'base/clipboard/clipboard_mac.mm',
82 'base/clipboard/clipboard_util_win.cc',
83 'base/clipboard/clipboard_util_win.h',
84 'base/clipboard/clipboard_win.cc',
85 'base/clipboard/custom_data_helper.cc',
86 'base/clipboard/custom_data_helper.h',
87 'base/clipboard/custom_data_helper_mac.mm',
88 'base/clipboard/custom_data_helper_x.cc',
89 'base/clipboard/scoped_clipboard_writer.cc',
90 'base/clipboard/scoped_clipboard_writer.h',
91 'base/cocoa/base_view.h',
92 'base/cocoa/base_view.mm',
93 'base/cocoa/events_mac.mm',
94 'base/cocoa/find_pasteboard.h',
95 'base/cocoa/find_pasteboard.mm',
96 'base/cocoa/focus_tracker.h',
97 'base/cocoa/focus_tracker.mm',
98 'base/cocoa/fullscreen_window_manager.h',
99 'base/cocoa/fullscreen_window_manager.mm',
100 'base/cocoa/nib_loading.h',
101 'base/cocoa/nib_loading.mm',
102 'base/cocoa/underlay_opengl_hosting_window.h',
103 'base/cocoa/underlay_opengl_hosting_window.mm',
104 'base/cocoa/window_size_constants.h',
105 'base/cocoa/window_size_constants.mm',
106 'base/cursor/cursor.cc',
107 'base/cursor/cursor.h',
108 'base/cursor/cursor_loader.h',
109 'base/cursor/cursor_loader_win.cc',
110 'base/cursor/cursor_loader_win.h',
111 'base/cursor/cursor_loader_x11.cc',
112 'base/cursor/cursor_loader_x11.h',
113 'base/cursor/cursor_win.cc',
114 'base/cursor/cursor_x11.cc',
115 'base/dialogs/base_shell_dialog.cc',
116 'base/dialogs/base_shell_dialog.h',
117 'base/dialogs/base_shell_dialog_win.cc',
118 'base/dialogs/base_shell_dialog_win.h',
119 'base/dialogs/gtk/select_file_dialog_impl.cc',
120 'base/dialogs/gtk/select_file_dialog_impl.h',
121 'base/dialogs/gtk/select_file_dialog_impl_gtk.cc',
122 'base/dialogs/gtk/select_file_dialog_impl_kde.cc',
123 'base/dialogs/select_file_dialog.cc',
124 'base/dialogs/select_file_dialog.h',
125 'base/dialogs/select_file_dialog_android.cc',
126 'base/dialogs/select_file_dialog_android.h',
127 'base/dialogs/select_file_dialog_factory.cc',
128 'base/dialogs/select_file_dialog_factory.h',
129 'base/dialogs/select_file_dialog_mac.h',
130 'base/dialogs/select_file_dialog_mac.mm',
131 'base/dialogs/select_file_dialog_win.cc',
132 'base/dialogs/select_file_dialog_win.h',
133 'base/dialogs/select_file_policy.cc',
134 'base/dialogs/select_file_policy.h',
135 'base/dialogs/selected_file_info.cc',
136 'base/dialogs/selected_file_info.h',
137 'base/dragdrop/cocoa_dnd_util.h',
138 'base/dragdrop/cocoa_dnd_util.mm',
139 'base/dragdrop/drag_drop_types.h',
140 'base/dragdrop/drag_drop_types_gtk.cc',
141 'base/dragdrop/drag_drop_types_win.cc',
142 'base/dragdrop/drag_source.cc',
143 'base/dragdrop/drag_source.h',
144 'base/dragdrop/drag_utils.cc',
145 'base/dragdrop/drag_utils.h',
146 'base/dragdrop/drag_utils_aura.cc',
147 'base/dragdrop/drag_utils_gtk.cc',
148 'base/dragdrop/drag_utils_win.cc',
149 'base/dragdrop/drop_target.cc',
150 'base/dragdrop/drop_target.h',
151 'base/dragdrop/gtk_dnd_util.cc',
152 'base/dragdrop/gtk_dnd_util.h',
153 'base/dragdrop/os_exchange_data.cc',
154 'base/dragdrop/os_exchange_data.h',
155 'base/dragdrop/os_exchange_data_provider_aura.cc',
156 'base/dragdrop/os_exchange_data_provider_aura.h',
157 'base/dragdrop/os_exchange_data_provider_gtk.cc',
158 'base/dragdrop/os_exchange_data_provider_gtk.h',
159 'base/dragdrop/os_exchange_data_provider_win.cc',
160 'base/dragdrop/os_exchange_data_provider_win.h',
161 'base/events/event.cc',
162 'base/events/event.h',
163 'base/events/event_constants.h',
164 'base/events/event_conversion_gtk.cc',
165 'base/events/event_conversion_gtk.h',
166 'base/events/event_dispatcher.cc',
167 'base/events/event_dispatcher.h',
168 'base/events/event_handler.cc',
169 'base/events/event_handler.h',
170 'base/events/event_target.cc',
171 'base/events/event_target.h',
172 'base/events/event_utils.cc',
173 'base/events/event_utils.h',
174 'base/gestures/gesture_configuration.cc',
175 'base/gestures/gesture_configuration.h',
176 'base/gestures/gesture_point.cc',
177 'base/gestures/gesture_point.h',
178 'base/gestures/gesture_recognizer.h',
179 'base/gestures/gesture_recognizer_impl.cc',
180 'base/gestures/gesture_recognizer_impl.h',
181 'base/gestures/gesture_sequence.cc',
182 'base/gestures/gesture_sequence.h',
183 'base/gestures/gesture_types.cc',
184 'base/gestures/gesture_types.h',
185 'base/gestures/gesture_util.cc',
186 'base/gestures/gesture_util.h',
187 'base/gestures/velocity_calculator.cc',
188 'base/gestures/velocity_calculator.h',
189 'base/gtk/event_synthesis_gtk.cc',
190 'base/gtk/event_synthesis_gtk.h',
191 'base/gtk/focus_store_gtk.cc',
192 'base/gtk/focus_store_gtk.h',
193 'base/gtk/g_object_destructor_filo.cc',
194 'base/gtk/g_object_destructor_filo.h',
195 'base/gtk/gtk_expanded_container.cc',
196 'base/gtk/gtk_expanded_container.h',
197 'base/gtk/gtk_floating_container.cc',
198 'base/gtk/gtk_floating_container.h',
199 'base/gtk/gtk_hig_constants.h',
200 'base/gtk/gtk_im_context_util.cc',
201 'base/gtk/gtk_im_context_util.h',
202 'base/gtk/gtk_screen_util.cc',
203 'base/gtk/gtk_screen_util.h',
204 'base/gtk/gtk_signal.h',
205 'base/gtk/gtk_signal_registrar.cc',
206 'base/gtk/gtk_signal_registrar.h',
207 'base/gtk/gtk_windowing.cc',
208 'base/gtk/gtk_windowing.h',
209 'base/gtk/menu_label_accelerator_util.cc',
210 'base/gtk/menu_label_accelerator_util.h',
211 'base/gtk/owned_widget_gtk.cc',
212 'base/gtk/owned_widget_gtk.h',
213 'base/gtk/scoped_gobject.h',
214 'base/gtk/scoped_region.cc',
215 'base/gtk/scoped_region.h',
217 'base/keycodes/keyboard_code_conversion.cc',
218 'base/keycodes/keyboard_code_conversion.h',
219 'base/keycodes/keyboard_code_conversion_gtk.cc',
220 'base/keycodes/keyboard_code_conversion_gtk.h',
221 'base/keycodes/keyboard_code_conversion_mac.h',
222 'base/keycodes/keyboard_code_conversion_mac.mm',
223 'base/keycodes/keyboard_code_conversion_win.cc',
224 'base/keycodes/keyboard_code_conversion_win.h',
225 'base/keycodes/keyboard_code_conversion_x.cc',
226 'base/keycodes/keyboard_code_conversion_x.h',
227 'base/keycodes/keyboard_codes.h',
228 'base/keycodes/usb_keycode_map.h',
229 'base/l10n/l10n_font_util.cc',
230 'base/l10n/l10n_font_util.h',
231 'base/l10n/l10n_util.cc',
232 'base/l10n/l10n_util.h',
233 'base/l10n/l10n_util_collator.h',
234 'base/l10n/l10n_util_mac.h',
235 'base/l10n/l10n_util_mac.mm',
236 'base/l10n/l10n_util_posix.cc',
237 'base/l10n/l10n_util_win.cc',
238 'base/l10n/l10n_util_win.h',
241 'base/layout_mac.mm',
242 'base/models/button_menu_item_model.cc',
243 'base/models/button_menu_item_model.h',
244 'base/models/combobox_model.h',
245 'base/models/list_model.h',
246 'base/models/list_model_observer.h',
247 'base/models/menu_model.cc',
248 'base/models/menu_model.h',
249 'base/models/menu_model_delegate.h',
250 'base/models/menu_separator_types.h',
251 'base/models/simple_menu_model.cc',
252 'base/models/simple_menu_model.h',
253 'base/models/table_model.cc',
254 'base/models/table_model.h',
255 'base/models/table_model_observer.h',
256 'base/models/tree_model.cc',
257 'base/models/tree_model.h',
258 'base/models/tree_node_iterator.h',
259 'base/models/tree_node_model.h',
260 'base/range/range.cc',
261 'base/range/range.h',
262 'base/range/range_mac.mm',
263 'base/range/range_win.cc',
264 'base/resource/data_pack.cc',
265 'base/resource/data_pack.h',
266 'base/resource/resource_bundle.cc',
267 'base/resource/resource_bundle.h',
268 'base/resource/resource_bundle_android.cc',
269 'base/resource/resource_bundle_aurax11.cc',
270 'base/resource/resource_bundle_gtk.cc',
271 'base/resource/resource_bundle_ios.mm',
272 'base/resource/resource_bundle_mac.mm',
273 'base/resource/resource_bundle_win.cc',
274 'base/resource/resource_bundle_win.h',
275 'base/resource/resource_data_dll_win.cc',
276 'base/resource/resource_data_dll_win.h',
277 'base/resource/resource_handle.h',
278 'base/text/bytes_formatting.cc',
279 'base/text/bytes_formatting.h',
280 'base/text/text_elider.cc',
281 'base/text/text_elider.h',
282 'base/text/utf16_indexing.cc',
283 'base/text/utf16_indexing.h',
284 'base/theme_provider.cc',
285 'base/theme_provider.h',
286 'base/touch/touch_factory.cc',
287 'base/touch/touch_factory.h',
288 'base/ui_base_exports.cc',
289 'base/ui_base_paths.cc',
290 'base/ui_base_paths.h',
291 'base/ui_base_switches.cc',
292 'base/ui_base_switches.h',
293 'base/ui_base_types.h',
297 'base/win/accessibility_misc_utils.cc',
298 'base/win/accessibility_misc_utils.h',
299 'base/win/atl_module.h',
302 'base/win/events_win.cc',
303 'base/win/extra_sdk_defines.h',
304 'base/win/foreground_helper.cc',
305 'base/win/foreground_helper.h',
306 'base/win/hidden_window.cc',
307 'base/win/hidden_window.h',
308 'base/win/hwnd_subclass.cc',
309 'base/win/hwnd_subclass.h',
310 'base/win/hwnd_util.cc',
311 'base/win/hwnd_util.h',
312 'base/win/ime_input.cc',
313 'base/win/ime_input.h',
314 'base/win/message_box_win.cc',
315 'base/win/message_box_win.h',
316 'base/win/mouse_wheel_util.cc',
317 'base/win/mouse_wheel_util.h',
318 'base/win/scoped_ole_initializer.cc',
319 'base/win/scoped_ole_initializer.h',
320 'base/win/scoped_set_map_mode.h',
323 'base/win/singleton_hwnd.cc',
324 'base/win/singleton_hwnd.h',
325 'base/win/window_impl.cc',
326 'base/win/window_impl.h',
327 'base/work_area_watcher_observer.h',
328 'base/x/active_window_watcher_x.cc',
329 'base/x/active_window_watcher_x.h',
330 'base/x/active_window_watcher_x_observer.h',
331 'base/x/device_list_cache_x.cc',
332 'base/x/device_list_cache_x.h',
333 'base/x/events_x.cc',
334 'base/x/root_window_property_watcher_x.cc',
335 'base/x/root_window_property_watcher_x.h',
336 'base/x/valuators.cc',
337 'base/x/valuators.h',
338 'base/x/work_area_watcher_x.cc',
339 'base/x/work_area_watcher_x.h',
340 'base/x/x11_atom_cache.cc',
341 'base/x/x11_atom_cache.h',
342 'base/x/x11_util.cc',
344 'base/x/x11_util_internal.h',
345 'gfx/android/gfx_jni_registrar.cc',
346 'gfx/android/gfx_jni_registrar.h',
347 'gfx/android/java_bitmap.cc',
348 'gfx/android/java_bitmap.h',
349 'gfx/android/window_android.cc',
350 'gfx/android/window_android.h',
355 'gfx/canvas_android.cc',
357 'gfx/canvas_paint.h',
358 'gfx/canvas_paint_gtk.h',
359 'gfx/canvas_paint_mac.h',
360 'gfx/canvas_paint_win.h',
361 'gfx/canvas_paint_gtk.cc',
362 'gfx/canvas_paint_mac.mm',
363 'gfx/canvas_paint_win.cc',
364 'gfx/canvas_skia.cc',
365 'gfx/canvas_skia_paint.h',
366 'gfx/codec/jpeg_codec.cc',
367 'gfx/codec/jpeg_codec.h',
368 'gfx/codec/png_codec.cc',
369 'gfx/codec/png_codec.h',
370 'gfx/color_analysis.cc',
371 'gfx/color_analysis.h',
372 'gfx/color_profile.cc',
373 'gfx/color_profile.h',
374 'gfx/color_profile_mac.cc',
375 'gfx/color_profile_win.cc',
376 'gfx/color_utils.cc',
380 'gfx/display_observer.cc',
381 'gfx/display_observer.h',
382 'gfx/favicon_size.cc',
383 'gfx/favicon_size.h',
386 'gfx/font_fallback_win.cc',
387 'gfx/font_fallback_win.h',
390 'gfx/font_render_params_android.cc',
391 'gfx/font_render_params_linux.cc',
392 'gfx/font_render_params_linux.h',
393 'gfx/font_smoothing_win.cc',
394 'gfx/font_smoothing_win.h',
397 'gfx/image/canvas_image_source.cc',
398 'gfx/image/canvas_image_source.h',
399 'gfx/image/image.cc',
401 'gfx/image/image_ios.mm',
402 'gfx/image/image_mac.mm',
403 'gfx/image/image_png_rep.cc',
404 'gfx/image/image_png_rep.h',
405 'gfx/image/image_skia.cc',
406 'gfx/image/image_skia.h',
407 'gfx/image/image_skia_operations.cc',
408 'gfx/image/image_skia_operations.h',
409 'gfx/image/image_skia_rep.cc',
410 'gfx/image/image_skia_rep.h',
411 'gfx/image/image_skia_source.h',
412 'gfx/image/image_skia_util_ios.h',
413 'gfx/image/image_skia_util_ios.mm',
414 'gfx/image/image_skia_util_mac.h',
415 'gfx/image/image_skia_util_mac.mm',
416 'gfx/image/image_util.cc',
417 'gfx/image/image_util.h',
418 'gfx/image/image_util_ios.mm',
424 'gfx/interpolated_transform.cc',
425 'gfx/interpolated_transform.h',
426 'gfx/mac/nsimage_cache.h',
427 'gfx/mac/nsimage_cache.mm',
428 'gfx/mac/scoped_ns_disable_screen_updates.h',
429 'gfx/native_widget_types.h',
438 'gfx/platform_font.h',
439 'gfx/platform_font_android.cc',
440 'gfx/platform_font_ios.h',
441 'gfx/platform_font_ios.mm',
442 'gfx/platform_font_mac.h',
443 'gfx/platform_font_mac.mm',
444 'gfx/platform_font_pango.cc',
445 'gfx/platform_font_pango.h',
446 'gfx/platform_font_win.cc',
447 'gfx/platform_font_win.h',
453 'gfx/point_conversions.cc',
454 'gfx/point_conversions.h',
462 'gfx/rect_base_impl.h',
463 'gfx/rect_conversions.cc',
464 'gfx/rect_conversions.h',
467 'gfx/render_text.cc',
469 'gfx/render_text_linux.cc',
470 'gfx/render_text_linux.h',
471 'gfx/render_text_mac.cc',
472 'gfx/render_text_mac.h',
473 'gfx/render_text_win.cc',
474 'gfx/render_text_win.h',
475 'gfx/safe_integer_conversions.h',
476 'gfx/scoped_cg_context_save_gstate_mac.h',
477 'gfx/scoped_ns_graphics_context_save_gstate_mac.h',
478 'gfx/scoped_ns_graphics_context_save_gstate_mac.mm',
479 'gfx/scoped_ui_graphics_push_context_ios.h',
480 'gfx/scoped_ui_graphics_push_context_ios.mm',
483 'gfx/screen_android.cc',
484 'gfx/screen_aura.cc',
490 'gfx/scrollbar_size.cc',
491 'gfx/scrollbar_size.h',
492 'gfx/selection_model.cc',
493 'gfx/selection_model.h',
494 'gfx/shadow_value.cc',
495 'gfx/shadow_value.h',
499 'gfx/size_conversions.cc',
500 'gfx/size_conversions.h',
503 'gfx/skbitmap_operations.cc',
504 'gfx/skbitmap_operations.h',
507 'gfx/skia_utils_gtk.cc',
508 'gfx/skia_utils_gtk.h',
511 'gfx/sys_color_change_listener.cc',
512 'gfx/sys_color_change_listener.h',
513 'gfx/text_constants.h',
518 'gfx/transform_util.cc',
519 'gfx/transform_util.h',
522 'gfx/vector2d_conversions.cc',
523 'gfx/vector2d_conversions.h',
528 'gfx/video_decode_acceleration_support_mac.h',
529 'gfx/video_decode_acceleration_support_mac.mm',
530 'notifications/notification_types.h',
531 'notifications/notification_types.cc',
532 'ui_controls/ui_controls.h',
533 'ui_controls/ui_controls_aura.cc',
534 'ui_controls/ui_controls_gtk.cc',
535 'ui_controls/ui_controls_internal_win.cc',
536 'ui_controls/ui_controls_internal_win.h',
537 'ui_controls/ui_controls_mac.mm',
538 'ui_controls/ui_controls_win.cc',
540 'target_conditions': [
543 ['include', '^base/l10n/l10n_util_mac\\.mm$'],
553 '<(libjpeg_gyp_path):libjpeg',
556 # iOS only uses a subset of UI.
558 ['exclude', '\\.(cc|mm)$'],
559 ['include', '_ios\\.(cc|mm)$'],
560 ['include', '(^|/)ios/'],
561 ['include', '^gfx/'],
562 ['exclude', '^gfx/codec/jpeg_codec\\.cc$'],
563 ['exclude', '^gfx/pango_util\\.'],
564 ['exclude', '^gfx/platform_font_pango\\.'],
565 ['include', '^base/animation/'],
566 ['include', '^base/l10n/'],
567 ['include', '^base/layout'],
568 ['include', '^base/range/'],
569 ['include', '^base/resource/'],
570 ['include', '^base/text/text_elider\\.'],
571 ['include', '^base/ui_base_'],
575 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
579 # TODO(asvitkine): Switch all platforms to use canvas_skia.cc.
580 # http://crbug.com/105550
581 ['use_canvas_skia==1', {
583 'gfx/canvas_android.cc',
586 }, { # use_canvas_skia!=1
588 'gfx/canvas_skia.cc',
593 ['exclude', 'gfx/gtk_'],
594 ['exclude', 'gfx/gtk_util.cc'],
595 ['exclude', 'gfx/gtk_util.h'],
596 ['exclude', 'gfx/screen_gtk.cc'],
597 ['exclude', 'base/dialogs/select_file_dialog_mac.mm'],
598 ['exclude', 'base/dialogs/select_file_dialog_win.cc'],
599 ['exclude', 'base/work_area_watcher_observer.h'],
600 ['exclude', 'base/x/active_window_watcher_x.cc'],
601 ['exclude', 'base/x/active_window_watcher_x.h'],
602 ['exclude', 'base/x/active_window_watcher_x_observer.h'],
603 ['exclude', 'base/x/root_window_property_watcher_x.cc'],
604 ['exclude', 'base/x/root_window_property_watcher_x.h'],
605 ['exclude', 'base/x/work_area_watcher_x.cc'],
606 ['exclude', 'base/x/work_area_watcher_x.h'],
607 ['exclude', 'ui_controls_win.cc'],
611 'base/cursor/cursor.cc',
612 'base/cursor/cursor.h',
613 'base/cursor/cursor_loader_x11.cc',
614 'base/cursor/cursor_loader_x11.h',
615 'base/cursor/cursor_win.cc',
616 'base/cursor/cursor_x11.cc',
619 ['use_aura==1 and OS=="win"', {
621 ['exclude', 'base/dragdrop/os_exchange_data_provider_aura.cc'],
622 ['exclude', 'base/dragdrop/drag_utils_aura.cc'],
625 ['use_aura==0 and toolkit_views==0', {
627 ['exclude', '^base/gestures/*'],
630 ['use_aura==1 and use_ash==0 and OS=="linux"', {
638 '../build/linux/system.gyp:ibus',
643 # font_gtk.cc uses fontconfig.
644 '../build/linux/system.gyp:fontconfig',
645 '../build/linux/system.gyp:glib',
646 '../build/linux/system.gyp:pangocairo',
647 '../build/linux/system.gyp:x11',
648 '../build/linux/system.gyp:xext',
649 '../build/linux/system.gyp:xfixes',
653 '-lXcursor', # For XCursor* function calls in x11_util.cc.
654 '-lXrender', # For XRender* function calls in x11_util.cc.
655 '-lXrandr', # For XRR* function calls in x11_util.cc.
659 ['toolkit_views==0', {
660 # Note: because of gyp predence rules this has to be defined as
661 # 'sources/' rather than 'sources!'.
663 ['exclude', '^base/dragdrop/drag_drop_types_gtk.cc'],
664 ['exclude', '^base/dragdrop/drag_utils_gtk.cc'],
665 ['exclude', '^base/dragdrop/drag_utils.cc'],
666 ['exclude', '^base/dragdrop/drag_utils.h'],
667 ['exclude', '^base/dragdrop/os_exchange_data.cc'],
668 ['exclude', '^base/dragdrop/os_exchange_data.h'],
669 ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.cc'],
670 ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.h'],
673 # Note: because of gyp predence rules this has to be defined as
674 # 'sources/' rather than 'sources!'.
676 ['include', '^base/dragdrop/os_exchange_data.cc'],
681 ['toolkit_uses_gtk == 1', {
683 '../build/linux/system.gyp:gtk',
686 'gfx/gtk_native_view_id_manager.cc',
687 'gfx/gtk_native_view_id_manager.h',
688 'gfx/gtk_preserve_window.cc',
689 'gfx/gtk_preserve_window.h',
692 'gfx/image/cairo_cached_surface.cc',
693 'gfx/image/cairo_cached_surface.h',
698 'base/clipboard/clipboard_aurax11.cc',
707 'base/touch/touch_device_win.cc',
708 'base/touch/touch_device_win.h',
711 'base/touch/touch_factory.cc',
712 'base/touch/touch_factory.h',
715 'gfx/platform_font_pango.cc',
716 'gfx/platform_font_pango.h',
720 '../third_party/wtl/include',
729 'AdditionalDependencies': [
754 'base/dragdrop/drag_source.cc',
755 'base/dragdrop/drag_source.h',
756 'base/dragdrop/drag_drop_types.h',
757 'base/dragdrop/drop_target.cc',
758 'base/dragdrop/drop_target.h',
759 'base/dragdrop/os_exchange_data.cc',
762 ['exclude', '^base/win/*'],
767 'base/dragdrop/drag_utils.cc',
768 'base/dragdrop/drag_utils.h',
769 'base/touch/touch_factory.cc',
770 'base/touch/touch_factory.h',
773 'gfx/platform_font_pango.h',
774 'gfx/platform_font_pango.cc',
778 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
779 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
780 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
785 'all_dependent_settings': {
793 '-lXrandr', # For XRR* function calls in x11_util.cc.
799 ['exclude', 'base/keycodes/keyboard_code_conversion_x.*'],
800 ['exclude', 'base/x/*'],
803 ['toolkit_views==0', {
805 'base/events/event.cc',
806 'base/events/event.h',
807 'base/events/event_dispatcher.cc',
808 'base/events/event_dispatcher.h',
809 'base/events/event_handler.cc',
810 'base/events/event_handler.h',
811 'base/events/event_target.cc',
812 'base/events/event_target.h',
813 'base/x/events_x.cc',
818 'base/dragdrop/drag_utils.cc',
819 'base/dragdrop/drag_utils.h',
820 'base/touch/touch_factory.cc',
821 'base/touch/touch_factory.h',
824 'gfx/platform_font_pango.cc',
825 'gfx/platform_font_pango.h',
831 '<(SHARED_INTERMEDIATE_DIR)/ui',
839 ['OS=="android" and android_build_type==0', {
844 ['OS=="android" or OS=="ios"', {
846 'gfx/render_text.cc',
855 ['inside_chromium_build==0', {
857 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers',
864 ['inside_chromium_build == 1', {
872 'target_name': 'ui_jni_headers',
875 'android/java/src/org/chromium/ui/gfx/BitmapHelper.java',
876 'android/java/src/org/chromium/ui/gfx/NativeWindow.java',
877 'android/java/src/org/chromium/ui/SelectFileDialog.java',
882 'includes': [ '../build/jni_generator.gypi' ],
885 'target_name': 'ui_java',
888 'package_name': 'ui',
889 'java_in_dir': '../ui/android/java',
890 'has_java_resources': 1,
891 'R_package': 'org.chromium.ui',
892 'R_package_relpath': 'org/chromium/ui',
895 '../base/base.gyp:base_java',
897 'includes': [ '../build/java.gypi' ],