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_android_initialization.h',
79 'base/clipboard/clipboard_aurax11.cc',
80 'base/clipboard/clipboard_chromeos.cc',
81 'base/clipboard/clipboard_gtk.cc',
82 'base/clipboard/clipboard_mac.mm',
83 'base/clipboard/clipboard_util_win.cc',
84 'base/clipboard/clipboard_util_win.h',
85 'base/clipboard/clipboard_win.cc',
86 'base/clipboard/custom_data_helper.cc',
87 'base/clipboard/custom_data_helper.h',
88 'base/clipboard/custom_data_helper_mac.mm',
89 'base/clipboard/custom_data_helper_x.cc',
90 'base/clipboard/scoped_clipboard_writer.cc',
91 'base/clipboard/scoped_clipboard_writer.h',
92 'base/cocoa/base_view.h',
93 'base/cocoa/base_view.mm',
94 'base/cocoa/events_mac.mm',
95 'base/cocoa/find_pasteboard.h',
96 'base/cocoa/find_pasteboard.mm',
97 'base/cocoa/focus_tracker.h',
98 'base/cocoa/focus_tracker.mm',
99 'base/cocoa/focus_window_set.h',
100 'base/cocoa/focus_window_set.mm',
101 'base/cocoa/fullscreen_window_manager.h',
102 'base/cocoa/fullscreen_window_manager.mm',
103 'base/cocoa/hover_button.h',
104 'base/cocoa/hover_button.mm',
105 'base/cocoa/hover_image_button.h',
106 'base/cocoa/hover_image_button.mm',
107 'base/cocoa/nib_loading.h',
108 'base/cocoa/nib_loading.mm',
109 'base/cocoa/tracking_area.h',
110 'base/cocoa/tracking_area.mm',
111 'base/cocoa/underlay_opengl_hosting_window.h',
112 'base/cocoa/underlay_opengl_hosting_window.mm',
113 'base/cocoa/window_size_constants.h',
114 'base/cocoa/window_size_constants.mm',
115 'base/cursor/cursor.cc',
116 'base/cursor/cursor.h',
117 'base/cursor/cursor_loader.h',
118 'base/cursor/cursor_loader_win.cc',
119 'base/cursor/cursor_loader_win.h',
120 'base/cursor/cursor_loader_x11.cc',
121 'base/cursor/cursor_loader_x11.h',
122 'base/cursor/cursor_win.cc',
123 'base/cursor/cursor_x11.cc',
124 'base/cursor/cursors_aura.cc',
125 'base/cursor/cursors_aura.h',
126 'base/dragdrop/cocoa_dnd_util.h',
127 'base/dragdrop/cocoa_dnd_util.mm',
128 'base/dragdrop/drag_drop_types.h',
129 'base/dragdrop/drag_drop_types_win.cc',
130 'base/dragdrop/drag_source_win.cc',
131 'base/dragdrop/drag_source_win.h',
132 'base/dragdrop/drag_utils.cc',
133 'base/dragdrop/drag_utils.h',
134 'base/dragdrop/drag_utils_aura.cc',
135 'base/dragdrop/drag_utils_win.cc',
136 'base/dragdrop/drop_target_win.cc',
137 'base/dragdrop/drop_target_win.h',
138 'base/dragdrop/gtk_dnd_util.cc',
139 'base/dragdrop/gtk_dnd_util.h',
140 'base/dragdrop/os_exchange_data.cc',
141 'base/dragdrop/os_exchange_data.h',
142 'base/dragdrop/os_exchange_data_provider_aura.cc',
143 'base/dragdrop/os_exchange_data_provider_aura.h',
144 'base/dragdrop/os_exchange_data_provider_win.cc',
145 'base/dragdrop/os_exchange_data_provider_win.h',
146 'base/events/event.cc',
147 'base/events/event.h',
148 'base/events/event_constants.h',
149 'base/events/event_conversion_gtk.cc',
150 'base/events/event_conversion_gtk.h',
151 'base/events/event_dispatcher.cc',
152 'base/events/event_dispatcher.h',
153 'base/events/event_handler.cc',
154 'base/events/event_handler.h',
155 'base/events/event_target.cc',
156 'base/events/event_target.h',
157 'base/events/event_utils.cc',
158 'base/events/event_utils.h',
159 'base/gestures/gesture_configuration.cc',
160 'base/gestures/gesture_configuration.h',
161 'base/gestures/gesture_point.cc',
162 'base/gestures/gesture_point.h',
163 'base/gestures/gesture_recognizer.h',
164 'base/gestures/gesture_recognizer_impl.cc',
165 'base/gestures/gesture_recognizer_impl.h',
166 'base/gestures/gesture_sequence.cc',
167 'base/gestures/gesture_sequence.h',
168 'base/gestures/gesture_types.cc',
169 'base/gestures/gesture_types.h',
170 'base/gestures/gesture_util.cc',
171 'base/gestures/gesture_util.h',
172 'base/gestures/velocity_calculator.cc',
173 'base/gestures/velocity_calculator.h',
174 'base/gtk/event_synthesis_gtk.cc',
175 'base/gtk/event_synthesis_gtk.h',
176 'base/gtk/focus_store_gtk.cc',
177 'base/gtk/focus_store_gtk.h',
178 'base/gtk/g_object_destructor_filo.cc',
179 'base/gtk/g_object_destructor_filo.h',
180 'base/gtk/gtk_expanded_container.cc',
181 'base/gtk/gtk_expanded_container.h',
182 'base/gtk/gtk_floating_container.cc',
183 'base/gtk/gtk_floating_container.h',
184 'base/gtk/gtk_hig_constants.h',
185 'base/gtk/gtk_im_context_util.cc',
186 'base/gtk/gtk_im_context_util.h',
187 'base/gtk/gtk_screen_util.cc',
188 'base/gtk/gtk_screen_util.h',
189 'base/gtk/gtk_signal.h',
190 'base/gtk/gtk_signal_registrar.cc',
191 'base/gtk/gtk_signal_registrar.h',
192 'base/gtk/gtk_windowing.cc',
193 'base/gtk/gtk_windowing.h',
194 'base/gtk/menu_label_accelerator_util.cc',
195 'base/gtk/menu_label_accelerator_util.h',
196 'base/gtk/owned_widget_gtk.cc',
197 'base/gtk/owned_widget_gtk.h',
198 'base/gtk/scoped_gobject.h',
199 'base/gtk/scoped_region.cc',
200 'base/gtk/scoped_region.h',
202 'base/keycodes/keyboard_code_conversion.cc',
203 'base/keycodes/keyboard_code_conversion.h',
204 'base/keycodes/keyboard_code_conversion_gtk.cc',
205 'base/keycodes/keyboard_code_conversion_gtk.h',
206 'base/keycodes/keyboard_code_conversion_mac.h',
207 'base/keycodes/keyboard_code_conversion_mac.mm',
208 'base/keycodes/keyboard_code_conversion_win.cc',
209 'base/keycodes/keyboard_code_conversion_win.h',
210 'base/keycodes/keyboard_code_conversion_x.cc',
211 'base/keycodes/keyboard_code_conversion_x.h',
212 'base/keycodes/keyboard_codes.h',
213 'base/keycodes/usb_keycode_map.h',
214 'base/l10n/l10n_font_util.cc',
215 'base/l10n/l10n_font_util.h',
216 'base/l10n/l10n_util.cc',
217 'base/l10n/l10n_util.h',
218 'base/l10n/l10n_util_collator.h',
219 'base/l10n/l10n_util_mac.h',
220 'base/l10n/l10n_util_mac.mm',
221 'base/l10n/l10n_util_posix.cc',
222 'base/l10n/l10n_util_win.cc',
223 'base/l10n/l10n_util_win.h',
226 'base/layout_mac.mm',
227 'base/models/button_menu_item_model.cc',
228 'base/models/button_menu_item_model.h',
229 'base/models/combobox_model.cc',
230 'base/models/combobox_model.h',
231 'base/models/list_model.h',
232 'base/models/list_model_observer.h',
233 'base/models/list_selection_model.cc',
234 'base/models/list_selection_model.h',
235 'base/models/menu_model.cc',
236 'base/models/menu_model.h',
237 'base/models/menu_model_delegate.h',
238 'base/models/menu_separator_types.h',
239 'base/models/simple_menu_model.cc',
240 'base/models/simple_menu_model.h',
241 'base/models/table_model.cc',
242 'base/models/table_model.h',
243 'base/models/table_model_observer.h',
244 'base/models/tree_model.cc',
245 'base/models/tree_model.h',
246 'base/models/tree_node_iterator.h',
247 'base/models/tree_node_model.h',
248 'base/range/range.cc',
249 'base/range/range.h',
250 'base/range/range_mac.mm',
251 'base/range/range_win.cc',
252 'base/resource/data_pack.cc',
253 'base/resource/data_pack.h',
254 'base/resource/resource_bundle.cc',
255 'base/resource/resource_bundle.h',
256 'base/resource/resource_bundle_android.cc',
257 'base/resource/resource_bundle_aurax11.cc',
258 'base/resource/resource_bundle_gtk.cc',
259 'base/resource/resource_bundle_ios.mm',
260 'base/resource/resource_bundle_mac.mm',
261 'base/resource/resource_bundle_win.cc',
262 'base/resource/resource_bundle_win.h',
263 'base/resource/resource_data_dll_win.cc',
264 'base/resource/resource_data_dll_win.h',
265 'base/resource/resource_handle.h',
266 'base/text/bytes_formatting.cc',
267 'base/text/bytes_formatting.h',
268 'base/text/text_elider.cc',
269 'base/text/text_elider.h',
270 'base/text/utf16_indexing.cc',
271 'base/text/utf16_indexing.h',
272 'base/theme_provider.cc',
273 'base/theme_provider.h',
274 'base/touch/touch_device.cc',
275 'base/touch/touch_device.h',
276 'base/touch/touch_device_android.cc',
277 'base/touch/touch_device_win.cc',
278 'base/touch/touch_editing_controller.cc',
279 'base/touch/touch_editing_controller.h',
280 'base/touch/touch_factory.cc',
281 'base/touch/touch_factory.h',
282 'base/ui_base_exports.cc',
283 'base/ui_base_paths.cc',
284 'base/ui_base_paths.h',
285 'base/ui_base_switches.cc',
286 'base/ui_base_switches.h',
287 'base/ui_base_types.h',
291 'base/win/accessibility_misc_utils.cc',
292 'base/win/accessibility_misc_utils.h',
293 'base/win/atl_module.h',
296 'base/win/events_win.cc',
297 'base/win/extra_sdk_defines.h',
298 'base/win/foreground_helper.cc',
299 'base/win/foreground_helper.h',
300 'base/win/hidden_window.cc',
301 'base/win/hidden_window.h',
302 'base/win/hwnd_subclass.cc',
303 'base/win/hwnd_subclass.h',
304 'base/win/hwnd_util.cc',
305 'base/win/hwnd_util.h',
306 'base/win/ime_input.cc',
307 'base/win/ime_input.h',
308 'base/win/message_box_win.cc',
309 'base/win/message_box_win.h',
310 'base/win/mouse_wheel_util.cc',
311 'base/win/mouse_wheel_util.h',
312 'base/win/scoped_ole_initializer.cc',
313 'base/win/scoped_ole_initializer.h',
314 'base/win/scoped_set_map_mode.h',
317 'base/win/singleton_hwnd.cc',
318 'base/win/singleton_hwnd.h',
319 'base/win/touch_input.cc',
320 'base/win/touch_input.h',
321 'base/win/window_impl.cc',
322 'base/win/window_impl.h',
323 'base/window_open_disposition.cc',
324 'base/window_open_disposition.h',
325 'base/work_area_watcher_observer.h',
326 'base/x/active_window_watcher_x.cc',
327 'base/x/active_window_watcher_x.h',
328 'base/x/active_window_watcher_x_observer.h',
329 'base/x/device_list_cache_x.cc',
330 'base/x/device_list_cache_x.h',
331 'base/x/events_x.cc',
332 'base/x/root_window_property_watcher_x.cc',
333 'base/x/root_window_property_watcher_x.h',
334 'base/x/valuators.cc',
335 'base/x/valuators.h',
336 'base/x/work_area_watcher_x.cc',
337 'base/x/work_area_watcher_x.h',
338 'base/x/x11_atom_cache.cc',
339 'base/x/x11_atom_cache.h',
340 'base/x/x11_util.cc',
342 'base/x/x11_util_internal.h',
343 'gfx/android/device_display_info.cc',
344 'gfx/android/device_display_info.h',
345 'gfx/android/java_bitmap.cc',
346 'gfx/android/java_bitmap.h',
347 'gfx/android/window_android.cc',
348 'gfx/android/window_android.h',
354 'gfx/canvas_android.cc',
356 'gfx/canvas_paint.h',
357 'gfx/canvas_paint_gtk.h',
358 'gfx/canvas_paint_mac.h',
359 'gfx/canvas_paint_win.h',
360 'gfx/canvas_paint_gtk.cc',
361 'gfx/canvas_paint_mac.mm',
362 'gfx/canvas_paint_win.cc',
363 'gfx/canvas_skia.cc',
364 'gfx/canvas_skia_paint.h',
365 'gfx/codec/jpeg_codec.cc',
366 'gfx/codec/jpeg_codec.h',
367 'gfx/codec/png_codec.cc',
368 'gfx/codec/png_codec.h',
369 'gfx/color_analysis.cc',
370 'gfx/color_analysis.h',
371 'gfx/color_profile.cc',
372 'gfx/color_profile.h',
373 'gfx/color_profile_mac.cc',
374 'gfx/color_profile_win.cc',
375 'gfx/color_utils.cc',
379 'gfx/display_observer.cc',
380 'gfx/display_observer.h',
381 'gfx/favicon_size.cc',
382 'gfx/favicon_size.h',
385 'gfx/font_fallback_win.cc',
386 'gfx/font_fallback_win.h',
389 'gfx/font_render_params_android.cc',
390 'gfx/font_render_params_linux.cc',
391 'gfx/font_render_params_linux.h',
392 'gfx/font_smoothing_win.cc',
393 'gfx/font_smoothing_win.h',
396 'gfx/image/canvas_image_source.cc',
397 'gfx/image/canvas_image_source.h',
398 'gfx/image/image.cc',
400 'gfx/image/image_ios.mm',
401 'gfx/image/image_mac.mm',
402 'gfx/image/image_png_rep.cc',
403 'gfx/image/image_png_rep.h',
404 'gfx/image/image_skia.cc',
405 'gfx/image/image_skia.h',
406 'gfx/image/image_skia_operations.cc',
407 'gfx/image/image_skia_operations.h',
408 'gfx/image/image_skia_rep.cc',
409 'gfx/image/image_skia_rep.h',
410 'gfx/image/image_skia_source.h',
411 'gfx/image/image_skia_util_ios.h',
412 'gfx/image/image_skia_util_ios.mm',
413 'gfx/image/image_skia_util_mac.h',
414 'gfx/image/image_skia_util_mac.mm',
415 'gfx/image/image_util.cc',
416 'gfx/image/image_util.h',
417 'gfx/image/image_util_ios.mm',
423 'gfx/interpolated_transform.cc',
424 'gfx/interpolated_transform.h',
425 'gfx/mac/scoped_ns_disable_screen_updates.h',
428 'gfx/native_widget_types.h',
437 'gfx/platform_font.h',
438 'gfx/platform_font_android.cc',
439 'gfx/platform_font_ios.h',
440 'gfx/platform_font_ios.mm',
441 'gfx/platform_font_mac.h',
442 'gfx/platform_font_mac.mm',
443 'gfx/platform_font_pango.cc',
444 'gfx/platform_font_pango.h',
445 'gfx/platform_font_win.cc',
446 'gfx/platform_font_win.h',
452 'gfx/point_conversions.cc',
453 'gfx/point_conversions.h',
461 'gfx/rect_base_impl.h',
462 'gfx/rect_conversions.cc',
463 'gfx/rect_conversions.h',
466 'gfx/render_text.cc',
468 'gfx/render_text_linux.cc',
469 'gfx/render_text_linux.h',
470 'gfx/render_text_mac.cc',
471 'gfx/render_text_mac.h',
472 'gfx/render_text_win.cc',
473 'gfx/render_text_win.h',
474 'gfx/safe_integer_conversions.h',
475 'gfx/scoped_cg_context_save_gstate_mac.h',
476 'gfx/scoped_ns_graphics_context_save_gstate_mac.h',
477 'gfx/scoped_ns_graphics_context_save_gstate_mac.mm',
478 'gfx/scoped_ui_graphics_push_context_ios.h',
479 'gfx/scoped_ui_graphics_push_context_ios.mm',
482 'gfx/screen_android.cc',
483 'gfx/screen_aura.cc',
489 'gfx/scrollbar_size.cc',
490 'gfx/scrollbar_size.h',
491 'gfx/selection_model.cc',
492 'gfx/selection_model.h',
493 'gfx/shadow_value.cc',
494 'gfx/shadow_value.h',
498 'gfx/size_conversions.cc',
499 'gfx/size_conversions.h',
502 'gfx/skbitmap_operations.cc',
503 'gfx/skbitmap_operations.h',
506 'gfx/skia_utils_gtk.cc',
507 'gfx/skia_utils_gtk.h',
510 'gfx/sys_color_change_listener.cc',
511 'gfx/sys_color_change_listener.h',
512 'gfx/text_constants.h',
517 'gfx/transform_util.cc',
518 'gfx/transform_util.h',
521 'gfx/vector2d_conversions.cc',
522 'gfx/vector2d_conversions.h',
527 'gfx/video_decode_acceleration_support_mac.h',
528 'gfx/video_decode_acceleration_support_mac.mm',
529 'webui/jstemplate_builder.cc',
530 'webui/jstemplate_builder.h',
531 'webui/web_ui_util.cc',
532 'webui/web_ui_util.h',
534 'target_conditions': [
537 ['include', '^base/l10n/l10n_util_mac\\.mm$'],
547 '<(libjpeg_gyp_path):libjpeg',
550 # iOS only uses a subset of UI.
552 ['exclude', '\\.(cc|mm)$'],
553 ['include', '_ios\\.(cc|mm)$'],
554 ['include', '(^|/)ios/'],
555 ['include', '^gfx/'],
556 ['exclude', '^gfx/codec/jpeg_codec\\.cc$'],
557 ['exclude', '^gfx/pango_util\\.'],
558 ['exclude', '^gfx/platform_font_pango\\.'],
559 ['include', '^base/animation/'],
560 ['include', '^base/l10n/'],
561 ['include', '^base/layout'],
562 ['include', '^base/range/'],
563 ['include', '^base/resource/'],
564 ['include', '^base/text/text_elider\\.'],
565 ['include', '^base/ui_base_'],
569 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
573 # TODO(asvitkine): Switch all platforms to use canvas_skia.cc.
574 # http://crbug.com/105550
575 ['use_canvas_skia==1', {
577 'gfx/canvas_android.cc',
580 }, { # use_canvas_skia!=1
582 'gfx/canvas_skia.cc',
587 ['exclude', 'gfx/gtk_'],
588 ['exclude', 'gfx/gtk_util.cc'],
589 ['exclude', 'gfx/gtk_util.h'],
590 ['exclude', 'gfx/screen_gtk.cc'],
591 ['exclude', 'base/work_area_watcher_observer.h'],
592 ['exclude', 'base/x/active_window_watcher_x.cc'],
593 ['exclude', 'base/x/active_window_watcher_x.h'],
594 ['exclude', 'base/x/active_window_watcher_x_observer.h'],
595 ['exclude', 'base/x/root_window_property_watcher_x.cc'],
596 ['exclude', 'base/x/root_window_property_watcher_x.h'],
597 ['exclude', 'base/x/work_area_watcher_x.cc'],
598 ['exclude', 'base/x/work_area_watcher_x.h'],
602 'base/cursor/cursor.cc',
603 'base/cursor/cursor.h',
604 'base/cursor/cursor_loader_x11.cc',
605 'base/cursor/cursor_loader_x11.h',
606 'base/cursor/cursor_win.cc',
607 'base/cursor/cursor_x11.cc',
610 ['use_aura==1 and OS=="win"', {
612 ['exclude', 'base/dragdrop/os_exchange_data_provider_aura.cc'],
613 ['exclude', 'base/dragdrop/drag_utils_aura.cc'],
616 ['use_aura==0 and toolkit_views==0', {
618 ['exclude', '^base/gestures/*'],
623 # font_gtk.cc uses fontconfig.
624 '../build/linux/system.gyp:fontconfig',
625 '../build/linux/system.gyp:glib',
626 '../build/linux/system.gyp:pangocairo',
629 ['toolkit_views==0', {
630 # Note: because of gyp predence rules this has to be defined as
631 # 'sources/' rather than 'sources!'.
633 ['exclude', '^base/dragdrop/drag_utils.cc'],
634 ['exclude', '^base/dragdrop/drag_utils.h'],
635 ['exclude', '^base/dragdrop/os_exchange_data.cc'],
636 ['exclude', '^base/dragdrop/os_exchange_data.h'],
639 # Note: because of gyp predence rules this has to be defined as
640 # 'sources/' rather than 'sources!'.
642 ['include', '^base/dragdrop/os_exchange_data.cc'],
647 ['toolkit_uses_gtk == 1', {
649 '../build/linux/system.gyp:gtk',
652 'gfx/gtk_native_view_id_manager.cc',
653 'gfx/gtk_native_view_id_manager.h',
654 'gfx/gtk_preserve_window.cc',
655 'gfx/gtk_preserve_window.h',
658 'gfx/image/cairo_cached_surface.cc',
659 'gfx/image/cairo_cached_surface.h',
664 'base/touch/touch_device_aurax11.cc',
667 'base/clipboard/clipboard_aurax11.cc',
668 'base/touch/touch_device.cc',
679 'base/touch/touch_device.cc',
680 'base/touch/touch_factory.cc',
681 'base/touch/touch_factory.h',
684 'gfx/platform_font_pango.cc',
685 'gfx/platform_font_pango.h',
689 '../third_party/wtl/include',
691 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int
692 # C4324 is structure was padded due to __declspec(align()), which is
694 'msvs_disabled_warnings': [ 4267, 4324 ],
702 'AdditionalDependencies': [
727 'base/dragdrop/drag_drop_types.h',
728 'base/dragdrop/os_exchange_data.cc',
731 ['exclude', '^base/win/'],
736 'base/dragdrop/drag_utils.cc',
737 'base/dragdrop/drag_utils.h',
738 'base/touch/touch_factory.cc',
739 'base/touch/touch_factory.h',
742 'gfx/platform_font_pango.h',
743 'gfx/platform_font_pango.cc',
747 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
748 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
749 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
754 'all_dependent_settings': {
762 '-lXrandr', # For XRR* function calls in x11_util.cc.
763 '-lXrender', # For XRender* function calls in x11_util.cc.
771 '-lXrandr', # For XRR* function calls in x11_util.cc.
772 '-lXrender', # For XRender* function calls in x11_util.cc.
776 '../build/linux/system.gyp:x11',
777 '../build/linux/system.gyp:xext',
778 '../build/linux/system.gyp:xfixes',
782 ['exclude', 'base/keycodes/keyboard_code_conversion_x.*'],
783 ['exclude', 'base/x/*'],
786 ['toolkit_views==0', {
788 'base/events/event.cc',
789 'base/events/event.h',
790 'base/events/event_dispatcher.cc',
791 'base/events/event_dispatcher.h',
792 'base/events/event_handler.cc',
793 'base/events/event_handler.h',
794 'base/events/event_target.cc',
795 'base/events/event_target.h',
796 'base/x/events_x.cc',
801 'base/dragdrop/drag_utils.cc',
802 'base/dragdrop/drag_utils.h',
803 'base/touch/touch_device.cc',
804 'base/touch/touch_factory.cc',
805 'base/touch/touch_factory.h',
808 'gfx/platform_font_pango.cc',
809 'gfx/platform_font_pango.h',
815 '<(SHARED_INTERMEDIATE_DIR)/ui',
823 ['OS=="android" and android_webview_build==0', {
828 ['OS=="android" or OS=="ios"', {
830 'gfx/render_text.cc',
839 ['inside_chromium_build==0', {
841 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers',
848 ['inside_chromium_build == 1', {
856 'target_name': 'ui_jni_headers',
859 'android/java/src/org/chromium/ui/gfx/BitmapHelper.java',
860 'android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java',
861 'android/java/src/org/chromium/ui/gfx/NativeWindow.java',
862 'android/java/src/org/chromium/ui/SelectFileDialog.java',
863 'android/java/src/org/chromium/ui/Clipboard.java',
866 'jni_gen_package': 'ui',
868 'includes': [ '../build/jni_generator.gypi' ],
871 'target_name': 'ui_java',
874 'java_in_dir': '../ui/android/java',
875 'has_java_resources': 1,
876 'R_package': 'org.chromium.ui',
877 'R_package_relpath': 'org/chromium/ui',
878 'java_strings_grd': 'android_ui_strings.grd',
881 '../base/base.gyp:base_java',
883 'includes': [ '../build/java.gypi' ],
890 'target_name': 'ui_cocoa_third_party_toolkits',
891 'type': '<(component)',
893 # Build Apple sample code
894 '../third_party/apple_sample_code/ImageAndTextCell.h',
895 '../third_party/apple_sample_code/ImageAndTextCell.m',
896 # Build the necessary GTM sources
897 '../third_party/GTM/AppKit/GTMFadeTruncatingTextFieldCell.h',
898 '../third_party/GTM/AppKit/GTMFadeTruncatingTextFieldCell.m',
899 '../third_party/GTM/AppKit/GTMIBArray.h',
900 '../third_party/GTM/AppKit/GTMIBArray.m',
901 '../third_party/GTM/AppKit/GTMKeyValueAnimation.h',
902 '../third_party/GTM/AppKit/GTMKeyValueAnimation.m',
903 '../third_party/GTM/AppKit/GTMNSAnimation+Duration.h',
904 '../third_party/GTM/AppKit/GTMNSAnimation+Duration.m',
905 '../third_party/GTM/AppKit/GTMNSBezierPath+CGPath.h',
906 '../third_party/GTM/AppKit/GTMNSBezierPath+CGPath.m',
907 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h',
908 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.m',
909 '../third_party/GTM/AppKit/GTMNSColor+Luminance.m',
910 '../third_party/GTM/AppKit/GTMUILocalizer.h',
911 '../third_party/GTM/AppKit/GTMUILocalizer.m',
912 '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h',
913 '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.m',
914 '../third_party/GTM/Foundation/GTMNSNumber+64Bit.h',
915 '../third_party/GTM/Foundation/GTMNSNumber+64Bit.m',
916 '../third_party/GTM/Foundation/GTMNSObject+KeyValueObserving.h',
917 '../third_party/GTM/Foundation/GTMNSObject+KeyValueObserving.m',
918 # MolokoCacao additions
919 '../third_party/molokocacao/NSBezierPath+MCAdditions.h',
920 '../third_party/molokocacao/NSBezierPath+MCAdditions.m',
921 # Build necessary Mozilla sources
922 '../third_party/mozilla/NSScreen+Utils.h',
923 '../third_party/mozilla/NSScreen+Utils.m',
924 '../third_party/mozilla/NSWorkspace+Utils.h',
925 '../third_party/mozilla/NSWorkspace+Utils.m',
929 '../third_party/apple',
930 '../third_party/GTM',
931 '../third_party/GTM/AppKit',
932 '../third_party/GTM/DebugUtils',
933 '../third_party/GTM/Foundation',
937 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',