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.
16 'type': '<(component)',
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/tracking_area.h',
103 'base/cocoa/tracking_area.mm',
104 'base/cocoa/underlay_opengl_hosting_window.h',
105 'base/cocoa/underlay_opengl_hosting_window.mm',
106 'base/cocoa/window_size_constants.h',
107 'base/cocoa/window_size_constants.mm',
108 'base/cursor/cursor.cc',
109 'base/cursor/cursor.h',
110 'base/cursor/cursor_loader.h',
111 'base/cursor/cursor_loader_win.cc',
112 'base/cursor/cursor_loader_win.h',
113 'base/cursor/cursor_loader_x11.cc',
114 'base/cursor/cursor_loader_x11.h',
115 'base/cursor/cursor_win.cc',
116 'base/cursor/cursor_x11.cc',
117 'base/dragdrop/cocoa_dnd_util.h',
118 'base/dragdrop/cocoa_dnd_util.mm',
119 'base/dragdrop/drag_drop_types.h',
120 'base/dragdrop/drag_drop_types_gtk.cc',
121 'base/dragdrop/drag_drop_types_win.cc',
122 'base/dragdrop/drag_source.cc',
123 'base/dragdrop/drag_source.h',
124 'base/dragdrop/drag_utils.cc',
125 'base/dragdrop/drag_utils.h',
126 'base/dragdrop/drag_utils_aura.cc',
127 'base/dragdrop/drag_utils_gtk.cc',
128 'base/dragdrop/drag_utils_win.cc',
129 'base/dragdrop/drop_target.cc',
130 'base/dragdrop/drop_target.h',
131 'base/dragdrop/gtk_dnd_util.cc',
132 'base/dragdrop/gtk_dnd_util.h',
133 'base/dragdrop/os_exchange_data.cc',
134 'base/dragdrop/os_exchange_data.h',
135 'base/dragdrop/os_exchange_data_provider_aura.cc',
136 'base/dragdrop/os_exchange_data_provider_aura.h',
137 'base/dragdrop/os_exchange_data_provider_gtk.cc',
138 'base/dragdrop/os_exchange_data_provider_gtk.h',
139 'base/dragdrop/os_exchange_data_provider_win.cc',
140 'base/dragdrop/os_exchange_data_provider_win.h',
141 'base/events/event.cc',
142 'base/events/event.h',
143 'base/events/event_constants.h',
144 'base/events/event_conversion_gtk.cc',
145 'base/events/event_conversion_gtk.h',
146 'base/events/event_dispatcher.cc',
147 'base/events/event_dispatcher.h',
148 'base/events/event_handler.cc',
149 'base/events/event_handler.h',
150 'base/events/event_target.cc',
151 'base/events/event_target.h',
152 'base/events/event_utils.cc',
153 'base/events/event_utils.h',
154 'base/gestures/gesture_configuration.cc',
155 'base/gestures/gesture_configuration.h',
156 'base/gestures/gesture_point.cc',
157 'base/gestures/gesture_point.h',
158 'base/gestures/gesture_recognizer.h',
159 'base/gestures/gesture_recognizer_impl.cc',
160 'base/gestures/gesture_recognizer_impl.h',
161 'base/gestures/gesture_sequence.cc',
162 'base/gestures/gesture_sequence.h',
163 'base/gestures/gesture_types.cc',
164 'base/gestures/gesture_types.h',
165 'base/gestures/gesture_util.cc',
166 'base/gestures/gesture_util.h',
167 'base/gestures/velocity_calculator.cc',
168 'base/gestures/velocity_calculator.h',
169 'base/gtk/event_synthesis_gtk.cc',
170 'base/gtk/event_synthesis_gtk.h',
171 'base/gtk/focus_store_gtk.cc',
172 'base/gtk/focus_store_gtk.h',
173 'base/gtk/g_object_destructor_filo.cc',
174 'base/gtk/g_object_destructor_filo.h',
175 'base/gtk/gtk_expanded_container.cc',
176 'base/gtk/gtk_expanded_container.h',
177 'base/gtk/gtk_floating_container.cc',
178 'base/gtk/gtk_floating_container.h',
179 'base/gtk/gtk_hig_constants.h',
180 'base/gtk/gtk_im_context_util.cc',
181 'base/gtk/gtk_im_context_util.h',
182 'base/gtk/gtk_screen_util.cc',
183 'base/gtk/gtk_screen_util.h',
184 'base/gtk/gtk_signal.h',
185 'base/gtk/gtk_signal_registrar.cc',
186 'base/gtk/gtk_signal_registrar.h',
187 'base/gtk/gtk_windowing.cc',
188 'base/gtk/gtk_windowing.h',
189 'base/gtk/menu_label_accelerator_util.cc',
190 'base/gtk/menu_label_accelerator_util.h',
191 'base/gtk/owned_widget_gtk.cc',
192 'base/gtk/owned_widget_gtk.h',
193 'base/gtk/scoped_gobject.h',
194 'base/gtk/scoped_region.cc',
195 'base/gtk/scoped_region.h',
197 'base/keycodes/keyboard_code_conversion.cc',
198 'base/keycodes/keyboard_code_conversion.h',
199 'base/keycodes/keyboard_code_conversion_gtk.cc',
200 'base/keycodes/keyboard_code_conversion_gtk.h',
201 'base/keycodes/keyboard_code_conversion_mac.h',
202 'base/keycodes/keyboard_code_conversion_mac.mm',
203 'base/keycodes/keyboard_code_conversion_win.cc',
204 'base/keycodes/keyboard_code_conversion_win.h',
205 'base/keycodes/keyboard_code_conversion_x.cc',
206 'base/keycodes/keyboard_code_conversion_x.h',
207 'base/keycodes/keyboard_codes.h',
208 'base/keycodes/usb_keycode_map.h',
209 'base/l10n/l10n_font_util.cc',
210 'base/l10n/l10n_font_util.h',
211 'base/l10n/l10n_util.cc',
212 'base/l10n/l10n_util.h',
213 'base/l10n/l10n_util_collator.h',
214 'base/l10n/l10n_util_mac.h',
215 'base/l10n/l10n_util_mac.mm',
216 'base/l10n/l10n_util_posix.cc',
217 'base/l10n/l10n_util_win.cc',
218 'base/l10n/l10n_util_win.h',
221 'base/layout_mac.mm',
222 'base/models/button_menu_item_model.cc',
223 'base/models/button_menu_item_model.h',
224 'base/models/combobox_model.cc',
225 'base/models/combobox_model.h',
226 'base/models/list_model.h',
227 'base/models/list_model_observer.h',
228 'base/models/list_selection_model.cc',
229 'base/models/list_selection_model.h',
230 'base/models/menu_model.cc',
231 'base/models/menu_model.h',
232 'base/models/menu_model_delegate.h',
233 'base/models/menu_separator_types.h',
234 'base/models/simple_menu_model.cc',
235 'base/models/simple_menu_model.h',
236 'base/models/table_model.cc',
237 'base/models/table_model.h',
238 'base/models/table_model_observer.h',
239 'base/models/tree_model.cc',
240 'base/models/tree_model.h',
241 'base/models/tree_node_iterator.h',
242 'base/models/tree_node_model.h',
243 'base/range/range.cc',
244 'base/range/range.h',
245 'base/range/range_mac.mm',
246 'base/range/range_win.cc',
247 'base/resource/data_pack.cc',
248 'base/resource/data_pack.h',
249 'base/resource/resource_bundle.cc',
250 'base/resource/resource_bundle.h',
251 'base/resource/resource_bundle_android.cc',
252 'base/resource/resource_bundle_aurax11.cc',
253 'base/resource/resource_bundle_gtk.cc',
254 'base/resource/resource_bundle_ios.mm',
255 'base/resource/resource_bundle_mac.mm',
256 'base/resource/resource_bundle_win.cc',
257 'base/resource/resource_bundle_win.h',
258 'base/resource/resource_data_dll_win.cc',
259 'base/resource/resource_data_dll_win.h',
260 'base/resource/resource_handle.h',
261 'base/text/bytes_formatting.cc',
262 'base/text/bytes_formatting.h',
263 'base/text/text_elider.cc',
264 'base/text/text_elider.h',
265 'base/text/utf16_indexing.cc',
266 'base/text/utf16_indexing.h',
267 'base/theme_provider.cc',
268 'base/theme_provider.h',
269 'base/touch/touch_device.cc',
270 'base/touch/touch_device.h',
271 'base/touch/touch_device_android.cc',
272 'base/touch/touch_device_win.cc',
273 'base/touch/touch_editing_controller.cc',
274 'base/touch/touch_editing_controller.h',
275 'base/touch/touch_factory.cc',
276 'base/touch/touch_factory.h',
277 'base/ui_base_exports.cc',
278 'base/ui_base_paths.cc',
279 'base/ui_base_paths.h',
280 'base/ui_base_switches.cc',
281 'base/ui_base_switches.h',
282 'base/ui_base_types.h',
286 'base/win/accessibility_misc_utils.cc',
287 'base/win/accessibility_misc_utils.h',
288 'base/win/atl_module.h',
291 'base/win/events_win.cc',
292 'base/win/extra_sdk_defines.h',
293 'base/win/foreground_helper.cc',
294 'base/win/foreground_helper.h',
295 'base/win/hidden_window.cc',
296 'base/win/hidden_window.h',
297 'base/win/hwnd_subclass.cc',
298 'base/win/hwnd_subclass.h',
299 'base/win/hwnd_util.cc',
300 'base/win/hwnd_util.h',
301 'base/win/ime_input.cc',
302 'base/win/ime_input.h',
303 'base/win/message_box_win.cc',
304 'base/win/message_box_win.h',
305 'base/win/mouse_wheel_util.cc',
306 'base/win/mouse_wheel_util.h',
307 'base/win/scoped_ole_initializer.cc',
308 'base/win/scoped_ole_initializer.h',
309 'base/win/scoped_set_map_mode.h',
312 'base/win/singleton_hwnd.cc',
313 'base/win/singleton_hwnd.h',
314 'base/win/touch_input.cc',
315 'base/win/touch_input.h',
316 'base/win/window_impl.cc',
317 'base/win/window_impl.h',
318 'base/window_open_disposition.cc',
319 'base/window_open_disposition.h',
320 'base/work_area_watcher_observer.h',
321 'base/x/active_window_watcher_x.cc',
322 'base/x/active_window_watcher_x.h',
323 'base/x/active_window_watcher_x_observer.h',
324 'base/x/device_list_cache_x.cc',
325 'base/x/device_list_cache_x.h',
326 'base/x/events_x.cc',
327 'base/x/root_window_property_watcher_x.cc',
328 'base/x/root_window_property_watcher_x.h',
329 'base/x/valuators.cc',
330 'base/x/valuators.h',
331 'base/x/work_area_watcher_x.cc',
332 'base/x/work_area_watcher_x.h',
333 'base/x/x11_atom_cache.cc',
334 'base/x/x11_atom_cache.h',
335 'base/x/x11_util.cc',
337 'base/x/x11_util_internal.h',
338 'gfx/android/device_display_info.cc',
339 'gfx/android/device_display_info.h',
340 'gfx/android/java_bitmap.cc',
341 'gfx/android/java_bitmap.h',
342 'gfx/android/window_android.cc',
343 'gfx/android/window_android.h',
349 'gfx/canvas_android.cc',
351 'gfx/canvas_paint.h',
352 'gfx/canvas_paint_gtk.h',
353 'gfx/canvas_paint_mac.h',
354 'gfx/canvas_paint_win.h',
355 'gfx/canvas_paint_gtk.cc',
356 'gfx/canvas_paint_mac.mm',
357 'gfx/canvas_paint_win.cc',
358 'gfx/canvas_skia.cc',
359 'gfx/canvas_skia_paint.h',
360 'gfx/codec/jpeg_codec.cc',
361 'gfx/codec/jpeg_codec.h',
362 'gfx/codec/png_codec.cc',
363 'gfx/codec/png_codec.h',
364 'gfx/color_analysis.cc',
365 'gfx/color_analysis.h',
366 'gfx/color_profile.cc',
367 'gfx/color_profile.h',
368 'gfx/color_profile_mac.cc',
369 'gfx/color_profile_win.cc',
370 'gfx/color_utils.cc',
374 'gfx/display_observer.cc',
375 'gfx/display_observer.h',
376 'gfx/favicon_size.cc',
377 'gfx/favicon_size.h',
380 'gfx/font_fallback_win.cc',
381 'gfx/font_fallback_win.h',
384 'gfx/font_render_params_android.cc',
385 'gfx/font_render_params_linux.cc',
386 'gfx/font_render_params_linux.h',
387 'gfx/font_smoothing_win.cc',
388 'gfx/font_smoothing_win.h',
391 'gfx/image/canvas_image_source.cc',
392 'gfx/image/canvas_image_source.h',
393 'gfx/image/image.cc',
395 'gfx/image/image_ios.mm',
396 'gfx/image/image_mac.mm',
397 'gfx/image/image_png_rep.cc',
398 'gfx/image/image_png_rep.h',
399 'gfx/image/image_skia.cc',
400 'gfx/image/image_skia.h',
401 'gfx/image/image_skia_operations.cc',
402 'gfx/image/image_skia_operations.h',
403 'gfx/image/image_skia_rep.cc',
404 'gfx/image/image_skia_rep.h',
405 'gfx/image/image_skia_source.h',
406 'gfx/image/image_skia_util_ios.h',
407 'gfx/image/image_skia_util_ios.mm',
408 'gfx/image/image_skia_util_mac.h',
409 'gfx/image/image_skia_util_mac.mm',
410 'gfx/image/image_util.cc',
411 'gfx/image/image_util.h',
412 'gfx/image/image_util_ios.mm',
418 'gfx/interpolated_transform.cc',
419 'gfx/interpolated_transform.h',
420 'gfx/mac/scoped_ns_disable_screen_updates.h',
423 'gfx/native_widget_types.h',
432 'gfx/platform_font.h',
433 'gfx/platform_font_android.cc',
434 'gfx/platform_font_ios.h',
435 'gfx/platform_font_ios.mm',
436 'gfx/platform_font_mac.h',
437 'gfx/platform_font_mac.mm',
438 'gfx/platform_font_pango.cc',
439 'gfx/platform_font_pango.h',
440 'gfx/platform_font_win.cc',
441 'gfx/platform_font_win.h',
447 'gfx/point_conversions.cc',
448 'gfx/point_conversions.h',
456 'gfx/rect_base_impl.h',
457 'gfx/rect_conversions.cc',
458 'gfx/rect_conversions.h',
461 'gfx/render_text.cc',
463 'gfx/render_text_linux.cc',
464 'gfx/render_text_linux.h',
465 'gfx/render_text_mac.cc',
466 'gfx/render_text_mac.h',
467 'gfx/render_text_win.cc',
468 'gfx/render_text_win.h',
469 'gfx/safe_integer_conversions.h',
470 'gfx/scoped_cg_context_save_gstate_mac.h',
471 'gfx/scoped_ns_graphics_context_save_gstate_mac.h',
472 'gfx/scoped_ns_graphics_context_save_gstate_mac.mm',
473 'gfx/scoped_ui_graphics_push_context_ios.h',
474 'gfx/scoped_ui_graphics_push_context_ios.mm',
477 'gfx/screen_android.cc',
478 'gfx/screen_aura.cc',
484 'gfx/scrollbar_size.cc',
485 'gfx/scrollbar_size.h',
486 'gfx/selection_model.cc',
487 'gfx/selection_model.h',
488 'gfx/shadow_value.cc',
489 'gfx/shadow_value.h',
493 'gfx/size_conversions.cc',
494 'gfx/size_conversions.h',
497 'gfx/skbitmap_operations.cc',
498 'gfx/skbitmap_operations.h',
501 'gfx/skia_utils_gtk.cc',
502 'gfx/skia_utils_gtk.h',
505 'gfx/sys_color_change_listener.cc',
506 'gfx/sys_color_change_listener.h',
507 'gfx/text_constants.h',
512 'gfx/transform_util.cc',
513 'gfx/transform_util.h',
516 'gfx/vector2d_conversions.cc',
517 'gfx/vector2d_conversions.h',
522 'gfx/video_decode_acceleration_support_mac.h',
523 'gfx/video_decode_acceleration_support_mac.mm',
524 'webui/jstemplate_builder.cc',
525 'webui/jstemplate_builder.h',
526 'webui/web_ui_util.cc',
527 'webui/web_ui_util.h',
529 'target_conditions': [
532 ['include', '^base/l10n/l10n_util_mac\\.mm$'],
542 '<(libjpeg_gyp_path):libjpeg',
545 # iOS only uses a subset of UI.
547 ['exclude', '\\.(cc|mm)$'],
548 ['include', '_ios\\.(cc|mm)$'],
549 ['include', '(^|/)ios/'],
550 ['include', '^gfx/'],
551 ['exclude', '^gfx/codec/jpeg_codec\\.cc$'],
552 ['exclude', '^gfx/pango_util\\.'],
553 ['exclude', '^gfx/platform_font_pango\\.'],
554 ['include', '^base/animation/'],
555 ['include', '^base/l10n/'],
556 ['include', '^base/layout'],
557 ['include', '^base/range/'],
558 ['include', '^base/resource/'],
559 ['include', '^base/text/text_elider\\.'],
560 ['include', '^base/ui_base_'],
564 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
568 # TODO(asvitkine): Switch all platforms to use canvas_skia.cc.
569 # http://crbug.com/105550
570 ['use_canvas_skia==1', {
572 'gfx/canvas_android.cc',
575 }, { # use_canvas_skia!=1
577 'gfx/canvas_skia.cc',
582 ['exclude', 'gfx/gtk_'],
583 ['exclude', 'gfx/gtk_util.cc'],
584 ['exclude', 'gfx/gtk_util.h'],
585 ['exclude', 'gfx/screen_gtk.cc'],
586 ['exclude', 'base/work_area_watcher_observer.h'],
587 ['exclude', 'base/x/active_window_watcher_x.cc'],
588 ['exclude', 'base/x/active_window_watcher_x.h'],
589 ['exclude', 'base/x/active_window_watcher_x_observer.h'],
590 ['exclude', 'base/x/root_window_property_watcher_x.cc'],
591 ['exclude', 'base/x/root_window_property_watcher_x.h'],
592 ['exclude', 'base/x/work_area_watcher_x.cc'],
593 ['exclude', 'base/x/work_area_watcher_x.h'],
597 'base/cursor/cursor.cc',
598 'base/cursor/cursor.h',
599 'base/cursor/cursor_loader_x11.cc',
600 'base/cursor/cursor_loader_x11.h',
601 'base/cursor/cursor_win.cc',
602 'base/cursor/cursor_x11.cc',
605 ['use_aura==1 and OS=="win"', {
607 ['exclude', 'base/dragdrop/os_exchange_data_provider_aura.cc'],
608 ['exclude', 'base/dragdrop/drag_utils_aura.cc'],
611 ['use_aura==0 and toolkit_views==0', {
613 ['exclude', '^base/gestures/*'],
618 # font_gtk.cc uses fontconfig.
619 '../build/linux/system.gyp:fontconfig',
620 '../build/linux/system.gyp:glib',
621 '../build/linux/system.gyp:pangocairo',
624 ['toolkit_views==0', {
625 # Note: because of gyp predence rules this has to be defined as
626 # 'sources/' rather than 'sources!'.
628 ['exclude', '^base/dragdrop/drag_drop_types_gtk.cc'],
629 ['exclude', '^base/dragdrop/drag_utils_gtk.cc'],
630 ['exclude', '^base/dragdrop/drag_utils.cc'],
631 ['exclude', '^base/dragdrop/drag_utils.h'],
632 ['exclude', '^base/dragdrop/os_exchange_data.cc'],
633 ['exclude', '^base/dragdrop/os_exchange_data.h'],
634 ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.cc'],
635 ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.h'],
638 # Note: because of gyp predence rules this has to be defined as
639 # 'sources/' rather than 'sources!'.
641 ['include', '^base/dragdrop/os_exchange_data.cc'],
646 ['toolkit_uses_gtk == 1', {
648 '../build/linux/system.gyp:gtk',
651 'gfx/gtk_native_view_id_manager.cc',
652 'gfx/gtk_native_view_id_manager.h',
653 'gfx/gtk_preserve_window.cc',
654 'gfx/gtk_preserve_window.h',
657 'gfx/image/cairo_cached_surface.cc',
658 'gfx/image/cairo_cached_surface.h',
663 'base/touch/touch_device_aurax11.cc',
666 'base/clipboard/clipboard_aurax11.cc',
667 'base/touch/touch_device.cc',
678 'base/touch/touch_device.cc',
679 'base/touch/touch_factory.cc',
680 'base/touch/touch_factory.h',
683 'gfx/platform_font_pango.cc',
684 'gfx/platform_font_pango.h',
688 '../third_party/wtl/include',
690 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int
691 # C4324 is structure was padded due to __declspec(align()), which is
693 'msvs_disabled_warnings': [ 4267, 4324 ],
701 'AdditionalDependencies': [
726 'base/dragdrop/drag_source.cc',
727 'base/dragdrop/drag_source.h',
728 'base/dragdrop/drag_drop_types.h',
729 'base/dragdrop/drop_target.cc',
730 'base/dragdrop/drop_target.h',
731 'base/dragdrop/os_exchange_data.cc',
734 ['exclude', '^base/win/'],
739 'base/dragdrop/drag_utils.cc',
740 'base/dragdrop/drag_utils.h',
741 'base/touch/touch_factory.cc',
742 'base/touch/touch_factory.h',
745 'gfx/platform_font_pango.h',
746 'gfx/platform_font_pango.cc',
750 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
751 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
752 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
757 'all_dependent_settings': {
765 '-lXrandr', # For XRR* function calls in x11_util.cc.
766 '-lXrender', # For XRender* function calls in x11_util.cc.
774 '-lXrandr', # For XRR* function calls in x11_util.cc.
775 '-lXrender', # For XRender* function calls in x11_util.cc.
779 '../build/linux/system.gyp:x11',
780 '../build/linux/system.gyp:xext',
781 '../build/linux/system.gyp:xfixes',
785 ['exclude', 'base/keycodes/keyboard_code_conversion_x.*'],
786 ['exclude', 'base/x/*'],
789 ['toolkit_views==0', {
791 'base/events/event.cc',
792 'base/events/event.h',
793 'base/events/event_dispatcher.cc',
794 'base/events/event_dispatcher.h',
795 'base/events/event_handler.cc',
796 'base/events/event_handler.h',
797 'base/events/event_target.cc',
798 'base/events/event_target.h',
799 'base/x/events_x.cc',
804 'base/dragdrop/drag_utils.cc',
805 'base/dragdrop/drag_utils.h',
806 'base/touch/touch_device.cc',
807 'base/touch/touch_factory.cc',
808 'base/touch/touch_factory.h',
811 'gfx/platform_font_pango.cc',
812 'gfx/platform_font_pango.h',
818 '<(SHARED_INTERMEDIATE_DIR)/ui',
826 ['OS=="android" and android_webview_build==0', {
831 ['OS=="android" or OS=="ios"', {
833 'gfx/render_text.cc',
842 ['inside_chromium_build==0', {
844 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers',
851 ['inside_chromium_build == 1', {
859 'target_name': 'ui_jni_headers',
862 'android/java/src/org/chromium/ui/gfx/BitmapHelper.java',
863 'android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java',
864 'android/java/src/org/chromium/ui/gfx/NativeWindow.java',
865 'android/java/src/org/chromium/ui/SelectFileDialog.java',
868 'jni_gen_package': 'ui',
870 'includes': [ '../build/jni_generator.gypi' ],
873 'target_name': 'ui_java',
876 'java_in_dir': '../ui/android/java',
877 'has_java_resources': 1,
878 'R_package': 'org.chromium.ui',
879 'R_package_relpath': 'org/chromium/ui',
880 'java_strings_grd': 'android_ui_strings.grd',
883 '../base/base.gyp:base_java',
885 'includes': [ '../build/java.gypi' ],
892 'target_name': 'ui_cocoa_third_party_toolkits',
893 'type': '<(component)',
895 # Build Apple sample code
896 '../third_party/apple_sample_code/ImageAndTextCell.h',
897 '../third_party/apple_sample_code/ImageAndTextCell.m',
898 # Build the necessary GTM sources
899 '../third_party/GTM/AppKit/GTMFadeTruncatingTextFieldCell.h',
900 '../third_party/GTM/AppKit/GTMFadeTruncatingTextFieldCell.m',
901 '../third_party/GTM/AppKit/GTMIBArray.h',
902 '../third_party/GTM/AppKit/GTMIBArray.m',
903 '../third_party/GTM/AppKit/GTMKeyValueAnimation.h',
904 '../third_party/GTM/AppKit/GTMKeyValueAnimation.m',
905 '../third_party/GTM/AppKit/GTMNSAnimation+Duration.h',
906 '../third_party/GTM/AppKit/GTMNSAnimation+Duration.m',
907 '../third_party/GTM/AppKit/GTMNSBezierPath+CGPath.h',
908 '../third_party/GTM/AppKit/GTMNSBezierPath+CGPath.m',
909 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h',
910 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.m',
911 '../third_party/GTM/AppKit/GTMNSColor+Luminance.m',
912 '../third_party/GTM/AppKit/GTMUILocalizer.h',
913 '../third_party/GTM/AppKit/GTMUILocalizer.m',
914 '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h',
915 '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.m',
916 '../third_party/GTM/Foundation/GTMNSNumber+64Bit.h',
917 '../third_party/GTM/Foundation/GTMNSNumber+64Bit.m',
918 '../third_party/GTM/Foundation/GTMNSObject+KeyValueObserving.h',
919 '../third_party/GTM/Foundation/GTMNSObject+KeyValueObserving.m',
920 # MolokoCacao additions
921 '../third_party/molokocacao/NSBezierPath+MCAdditions.h',
922 '../third_party/molokocacao/NSBezierPath+MCAdditions.m',
923 # Build necessary Mozilla sources
924 '../third_party/mozilla/NSScreen+Utils.h',
925 '../third_party/mozilla/NSScreen+Utils.m',
926 '../third_party/mozilla/NSWorkspace+Utils.h',
927 '../third_party/mozilla/NSWorkspace+Utils.m',
931 '../third_party/apple',
932 '../third_party/GTM',
933 '../third_party/GTM/AppKit',
934 '../third_party/GTM/DebugUtils',
935 '../third_party/GTM/Foundation',
939 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',