OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'shell_dialogs.gypi', | 10 'shell_dialogs.gypi', |
(...skipping 10 matching lines...) Expand all Loading... |
21 '../base/base.gyp:base_static', | 21 '../base/base.gyp:base_static', |
22 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 22 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
23 '../net/net.gyp:net', | 23 '../net/net.gyp:net', |
24 '../skia/skia.gyp:skia', | 24 '../skia/skia.gyp:skia', |
25 '../third_party/icu/icu.gyp:icui18n', | 25 '../third_party/icu/icu.gyp:icui18n', |
26 '../third_party/icu/icu.gyp:icuuc', | 26 '../third_party/icu/icu.gyp:icuuc', |
27 '../third_party/libpng/libpng.gyp:libpng', | 27 '../third_party/libpng/libpng.gyp:libpng', |
28 '../third_party/zlib/zlib.gyp:zlib', | 28 '../third_party/zlib/zlib.gyp:zlib', |
29 '../url/url.gyp:url_lib', | 29 '../url/url.gyp:url_lib', |
30 'base/strings/ui_strings.gyp:ui_strings', | 30 'base/strings/ui_strings.gyp:ui_strings', |
| 31 'gfx/gfx.gyp:gfx', |
31 'ui_resources', | 32 'ui_resources', |
32 ], | 33 ], |
33 'defines': [ | 34 'defines': [ |
34 # TODO(sky): remove once gfx dependencies are corrected. | |
35 'GFX_IMPLEMENTATION', | |
36 'UI_IMPLEMENTATION', | 35 'UI_IMPLEMENTATION', |
37 ], | 36 ], |
38 # Export these dependencies since text_elider.h includes ICU headers. | 37 # Export these dependencies since text_elider.h includes ICU headers. |
39 'export_dependent_settings': [ | 38 'export_dependent_settings': [ |
40 '../net/net.gyp:net', | 39 '../net/net.gyp:net', |
41 '../third_party/icu/icu.gyp:icui18n', | 40 '../third_party/icu/icu.gyp:icui18n', |
42 '../third_party/icu/icu.gyp:icuuc', | 41 '../third_party/icu/icu.gyp:icuuc', |
| 42 'gfx/gfx.gyp:gfx', |
43 ], | 43 ], |
44 'sources' : [ | 44 'sources' : [ |
45 'android/ui_jni_registrar.cc', | 45 'android/ui_jni_registrar.cc', |
46 'android/ui_jni_registrar.h', | 46 'android/ui_jni_registrar.h', |
47 'android/view_android.cc', | 47 'android/view_android.cc', |
48 'android/view_android.h', | 48 'android/view_android.h', |
49 'android/window_android.cc', | 49 'android/window_android.cc', |
50 'android/window_android.h', | 50 'android/window_android.h', |
51 'base/accelerators/accelerator.cc', | 51 'base/accelerators/accelerator.cc', |
52 'base/accelerators/accelerator.h', | 52 'base/accelerators/accelerator.h', |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 'events/win/events_win.cc', | 373 'events/win/events_win.cc', |
374 'events/x/device_data_manager.cc', | 374 'events/x/device_data_manager.cc', |
375 'events/x/device_data_manager.h', | 375 'events/x/device_data_manager.h', |
376 'events/x/device_list_cache_x.cc', | 376 'events/x/device_list_cache_x.cc', |
377 'events/x/device_list_cache_x.h', | 377 'events/x/device_list_cache_x.h', |
378 'events/x/events_x.cc', | 378 'events/x/events_x.cc', |
379 'events/x/events_x_utils.cc', | 379 'events/x/events_x_utils.cc', |
380 'events/x/events_x_utils.h', | 380 'events/x/events_x_utils.h', |
381 'events/x/touch_factory_x11.cc', | 381 'events/x/touch_factory_x11.cc', |
382 'events/x/touch_factory_x11.h', | 382 'events/x/touch_factory_x11.h', |
383 'gfx/android/device_display_info.cc', | |
384 'gfx/android/device_display_info.h', | |
385 'gfx/android/java_bitmap.cc', | |
386 'gfx/android/java_bitmap.h', | |
387 'gfx/animation/animation.cc', | |
388 'gfx/animation/animation.h', | |
389 'gfx/animation/animation_container.cc', | |
390 'gfx/animation/animation_container.h', | |
391 'gfx/animation/animation_container_element.h', | |
392 'gfx/animation/animation_container_observer.h', | |
393 'gfx/animation/animation_delegate.h', | |
394 'gfx/animation/linear_animation.cc', | |
395 'gfx/animation/linear_animation.h', | |
396 'gfx/animation/multi_animation.cc', | |
397 'gfx/animation/multi_animation.h', | |
398 'gfx/animation/slide_animation.cc', | |
399 'gfx/animation/slide_animation.h', | |
400 'gfx/animation/throb_animation.cc', | |
401 'gfx/animation/throb_animation.h', | |
402 'gfx/animation/tween.cc', | |
403 'gfx/animation/tween.h', | |
404 'gfx/blit.cc', | |
405 'gfx/blit.h', | |
406 'gfx/box_f.cc', | |
407 'gfx/box_f.h', | |
408 'gfx/break_list.h', | |
409 'gfx/canvas.cc', | |
410 'gfx/canvas.h', | |
411 'gfx/canvas_android.cc', | |
412 'gfx/canvas_paint_gtk.cc', | |
413 'gfx/canvas_paint_gtk.h', | |
414 'gfx/canvas_paint_mac.h', | |
415 'gfx/canvas_paint_mac.mm', | |
416 'gfx/canvas_paint_win.cc', | |
417 'gfx/canvas_paint_win.h', | |
418 'gfx/canvas_skia.cc', | |
419 'gfx/canvas_skia_paint.h', | |
420 'gfx/codec/jpeg_codec.cc', | |
421 'gfx/codec/jpeg_codec.h', | |
422 'gfx/codec/png_codec.cc', | |
423 'gfx/codec/png_codec.h', | |
424 'gfx/color_analysis.cc', | |
425 'gfx/color_analysis.h', | |
426 'gfx/color_profile.cc', | |
427 'gfx/color_profile.h', | |
428 'gfx/color_profile_mac.cc', | |
429 'gfx/color_profile_win.cc', | |
430 'gfx/color_utils.cc', | |
431 'gfx/color_utils.h', | |
432 'gfx/display.cc', | |
433 'gfx/display.h', | |
434 'gfx/display_observer.cc', | |
435 'gfx/display_observer.h', | |
436 'gfx/favicon_size.cc', | |
437 'gfx/favicon_size.h', | |
438 'gfx/font.cc', | |
439 'gfx/font.h', | |
440 'gfx/font_fallback_win.cc', | |
441 'gfx/font_fallback_win.h', | |
442 'gfx/font_list.cc', | |
443 'gfx/font_list.h', | |
444 'gfx/font_render_params_android.cc', | |
445 'gfx/font_render_params_linux.cc', | |
446 'gfx/font_render_params_linux.h', | |
447 'gfx/font_smoothing_win.cc', | |
448 'gfx/font_smoothing_win.h', | |
449 'gfx/gfx_export.h', | |
450 'gfx/gfx_paths.cc', | |
451 'gfx/gfx_paths.h', | |
452 'gfx/gpu_memory_buffer.cc', | |
453 'gfx/gpu_memory_buffer.h', | |
454 'gfx/image/canvas_image_source.cc', | |
455 'gfx/image/canvas_image_source.h', | |
456 'gfx/image/image.cc', | |
457 'gfx/image/image.h', | |
458 'gfx/image/image_family.cc', | |
459 'gfx/image/image_family.h', | |
460 'gfx/image/image_ios.mm', | |
461 'gfx/image/image_mac.mm', | |
462 'gfx/image/image_png_rep.cc', | |
463 'gfx/image/image_png_rep.h', | |
464 'gfx/image/image_skia.cc', | |
465 'gfx/image/image_skia.h', | |
466 'gfx/image/image_skia_operations.cc', | |
467 'gfx/image/image_skia_operations.h', | |
468 'gfx/image/image_skia_rep.cc', | |
469 'gfx/image/image_skia_rep.h', | |
470 'gfx/image/image_skia_source.h', | |
471 'gfx/image/image_skia_util_ios.h', | |
472 'gfx/image/image_skia_util_ios.mm', | |
473 'gfx/image/image_skia_util_mac.h', | |
474 'gfx/image/image_skia_util_mac.mm', | |
475 'gfx/image/image_util.cc', | |
476 'gfx/image/image_util.h', | |
477 'gfx/image/image_util_ios.mm', | |
478 'gfx/insets.cc', | |
479 'gfx/insets.h', | |
480 'gfx/insets_base.h', | |
481 'gfx/insets_f.cc', | |
482 'gfx/insets_f.h', | |
483 'gfx/interpolated_transform.cc', | |
484 'gfx/interpolated_transform.h', | |
485 'gfx/mac/scoped_ns_disable_screen_updates.h', | |
486 'gfx/matrix3_f.cc', | |
487 'gfx/matrix3_f.h', | |
488 'gfx/native_widget_types.h', | |
489 'gfx/ozone/surface_factory_ozone.cc', | |
490 'gfx/ozone/surface_factory_ozone.h', | |
491 'gfx/pango_util.cc', | |
492 'gfx/pango_util.h', | |
493 'gfx/path.cc', | |
494 'gfx/path.h', | |
495 'gfx/path_aura.cc', | |
496 'gfx/path_gtk.cc', | |
497 'gfx/path_win.cc', | |
498 'gfx/path_win.h', | |
499 'gfx/path_x11.cc', | |
500 'gfx/path_x11.h', | |
501 'gfx/platform_font.h', | |
502 'gfx/platform_font_android.cc', | |
503 'gfx/platform_font_ios.h', | |
504 'gfx/platform_font_ios.mm', | |
505 'gfx/platform_font_mac.h', | |
506 'gfx/platform_font_mac.mm', | |
507 'gfx/platform_font_pango.cc', | |
508 'gfx/platform_font_pango.h', | |
509 'gfx/platform_font_win.cc', | |
510 'gfx/platform_font_win.h', | |
511 'gfx/point.cc', | |
512 'gfx/point.h', | |
513 'gfx/point3_f.cc', | |
514 'gfx/point3_f.h', | |
515 'gfx/point_base.h', | |
516 'gfx/point_conversions.cc', | |
517 'gfx/point_conversions.h', | |
518 'gfx/point_f.cc', | |
519 'gfx/point_f.h', | |
520 'gfx/quad_f.cc', | |
521 'gfx/quad_f.h', | |
522 'gfx/range/range.cc', | |
523 'gfx/range/range.h', | |
524 'gfx/range/range_mac.mm', | |
525 'gfx/range/range_win.cc', | |
526 'gfx/rect.cc', | |
527 'gfx/rect.h', | |
528 'gfx/rect_base.h', | |
529 'gfx/rect_base_impl.h', | |
530 'gfx/rect_conversions.cc', | |
531 'gfx/rect_conversions.h', | |
532 'gfx/rect_f.cc', | |
533 'gfx/rect_f.h', | |
534 'gfx/render_text.cc', | |
535 'gfx/render_text.h', | |
536 'gfx/render_text_linux.cc', | |
537 'gfx/render_text_linux.h', | |
538 'gfx/render_text_mac.cc', | |
539 'gfx/render_text_mac.h', | |
540 'gfx/render_text_win.cc', | |
541 'gfx/render_text_win.h', | |
542 'gfx/safe_integer_conversions.h', | |
543 'gfx/scoped_cg_context_save_gstate_mac.h', | |
544 'gfx/scoped_ns_graphics_context_save_gstate_mac.h', | |
545 'gfx/scoped_ns_graphics_context_save_gstate_mac.mm', | |
546 'gfx/scoped_ui_graphics_push_context_ios.h', | |
547 'gfx/scoped_ui_graphics_push_context_ios.mm', | |
548 'gfx/screen.cc', | |
549 'gfx/screen.h', | |
550 'gfx/screen_android.cc', | |
551 'gfx/screen_aura.cc', | |
552 'gfx/screen_gtk.cc', | |
553 'gfx/screen_ios.mm', | |
554 'gfx/screen_mac.mm', | |
555 'gfx/screen_win.cc', | |
556 'gfx/screen_win.h', | |
557 'gfx/scrollbar_size.cc', | |
558 'gfx/scrollbar_size.h', | |
559 'gfx/selection_model.cc', | |
560 'gfx/selection_model.h', | |
561 'gfx/sequential_id_generator.cc', | |
562 'gfx/sequential_id_generator.h', | |
563 'gfx/shadow_value.cc', | |
564 'gfx/shadow_value.h', | |
565 'gfx/size.cc', | |
566 'gfx/size.h', | |
567 'gfx/size_base.h', | |
568 'gfx/size_conversions.cc', | |
569 'gfx/size_conversions.h', | |
570 'gfx/size_f.cc', | |
571 'gfx/size_f.h', | |
572 'gfx/skbitmap_operations.cc', | |
573 'gfx/skbitmap_operations.h', | |
574 'gfx/skia_util.cc', | |
575 'gfx/skia_util.h', | |
576 'gfx/skia_utils_gtk.cc', | |
577 'gfx/skia_utils_gtk.h', | |
578 'gfx/switches.cc', | |
579 'gfx/switches.h', | |
580 'gfx/sys_color_change_listener.cc', | |
581 'gfx/sys_color_change_listener.h', | |
582 'gfx/text_constants.h', | |
583 'gfx/text_elider.cc', | |
584 'gfx/text_elider.h', | |
585 'gfx/text_utils.cc', | |
586 'gfx/text_utils.h', | |
587 'gfx/text_utils_android.cc', | |
588 'gfx/text_utils_ios.mm', | |
589 'gfx/text_utils_skia.cc', | |
590 'gfx/transform.cc', | |
591 'gfx/transform.h', | |
592 'gfx/transform_util.cc', | |
593 'gfx/transform_util.h', | |
594 'gfx/utf16_indexing.cc', | |
595 'gfx/utf16_indexing.h', | |
596 'gfx/vector2d.cc', | |
597 'gfx/vector2d.h', | |
598 'gfx/vector2d_conversions.cc', | |
599 'gfx/vector2d_conversions.h', | |
600 'gfx/vector2d_f.cc', | |
601 'gfx/vector2d_f.h', | |
602 'gfx/vector3d_f.cc', | |
603 'gfx/vector3d_f.h', | |
604 'gfx/win/dpi.cc', | |
605 'gfx/win/dpi.h', | |
606 'gfx/win/hwnd_util.cc', | |
607 'gfx/win/hwnd_util.h', | |
608 'gfx/win/scoped_set_map_mode.h', | |
609 'gfx/win/singleton_hwnd.cc', | |
610 'gfx/win/singleton_hwnd.h', | |
611 'gfx/win/window_impl.cc', | |
612 'gfx/win/window_impl.h', | |
613 'gfx/x/x11_atom_cache.cc', | |
614 'gfx/x/x11_atom_cache.h', | |
615 'gfx/x/x11_types.cc', | |
616 'gfx/x/x11_types.h', | |
617 'webui/jstemplate_builder.cc', | 383 'webui/jstemplate_builder.cc', |
618 'webui/jstemplate_builder.h', | 384 'webui/jstemplate_builder.h', |
619 'webui/web_ui_util.cc', | 385 'webui/web_ui_util.cc', |
620 'webui/web_ui_util.h', | 386 'webui/web_ui_util.h', |
621 ], | 387 ], |
622 'target_conditions': [ | 388 'target_conditions': [ |
623 ['OS == "ios"', { | 389 ['OS == "ios"', { |
624 'sources/': [ | 390 'sources/': [ |
625 ['include', '^base/l10n/l10n_util_mac\\.mm$'], | 391 ['include', '^base/l10n/l10n_util_mac\\.mm$'], |
626 ], | 392 ], |
627 }], | 393 }], |
628 ], | 394 ], |
629 'conditions': [ | 395 'conditions': [ |
630 ['OS!="ios"', { | 396 ['OS!="ios"', { |
631 'includes': [ | 397 'includes': [ |
632 'base/ime/ime.gypi', | 398 'base/ime/ime.gypi', |
633 ], | 399 ], |
634 'dependencies': [ | |
635 '<(libjpeg_gyp_path):libjpeg', | |
636 ], | |
637 }, { # OS=="ios" | 400 }, { # OS=="ios" |
638 # iOS only uses a subset of UI. | 401 # iOS only uses a subset of UI. |
639 'sources/': [ | 402 'sources/': [ |
640 ['exclude', '\\.(cc|mm)$'], | 403 ['exclude', '\\.(cc|mm)$'], |
641 ['include', '_ios\\.(cc|mm)$'], | 404 ['include', '_ios\\.(cc|mm)$'], |
642 ['include', '(^|/)ios/'], | 405 ['include', '(^|/)ios/'], |
643 ['include', '^gfx/'], | |
644 ['include', '^gfx/animation/'], | |
645 ['exclude', '^gfx/codec/jpeg_codec\\.cc$'], | |
646 ['include', '^gfx/range/'], | |
647 ['include', '^base/l10n/'], | 406 ['include', '^base/l10n/'], |
648 ['include', '^base/layout'], | 407 ['include', '^base/layout'], |
649 ['include', '^base/resource/'], | 408 ['include', '^base/resource/'], |
650 ['include', '^base/ui_base_'], | 409 ['include', '^base/ui_base_'], |
651 ], | 410 ], |
652 'link_settings': { | 411 'link_settings': { |
653 'libraries': [ | 412 'libraries': [ |
654 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', | 413 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
655 ], | 414 ], |
656 }, | 415 }, |
657 }], | 416 }], |
658 # TODO(asvitkine): Switch all platforms to use canvas_skia.cc. | |
659 # http://crbug.com/105550 | |
660 ['use_canvas_skia==1', { | |
661 'sources!': [ | |
662 'gfx/canvas_android.cc', | |
663 ], | |
664 }, { # use_canvas_skia!=1 | |
665 'sources!': [ | |
666 'gfx/canvas_skia.cc', | |
667 ], | |
668 }], | |
669 ['use_aura==1', { | 417 ['use_aura==1', { |
670 'sources/': [ | 418 'sources/': [ |
671 ['exclude', 'gfx/gtk_'], | |
672 ['exclude', 'gfx/gtk_util.cc'], | |
673 ['exclude', 'gfx/gtk_util.h'], | |
674 ['exclude', 'gfx/screen_gtk.cc'], | |
675 ['exclude', 'base/work_area_watcher_observer.h'], | 419 ['exclude', 'base/work_area_watcher_observer.h'], |
676 ['exclude', 'base/x/active_window_watcher_x.cc'], | 420 ['exclude', 'base/x/active_window_watcher_x.cc'], |
677 ['exclude', 'base/x/active_window_watcher_x.h'], | 421 ['exclude', 'base/x/active_window_watcher_x.h'], |
678 ['exclude', 'base/x/active_window_watcher_x_observer.h'], | 422 ['exclude', 'base/x/active_window_watcher_x_observer.h'], |
679 ['exclude', 'base/x/root_window_property_watcher_x.cc'], | 423 ['exclude', 'base/x/root_window_property_watcher_x.cc'], |
680 ['exclude', 'base/x/root_window_property_watcher_x.h'], | 424 ['exclude', 'base/x/root_window_property_watcher_x.h'], |
681 ['exclude', 'base/x/work_area_watcher_x.cc'], | 425 ['exclude', 'base/x/work_area_watcher_x.cc'], |
682 ['exclude', 'base/x/work_area_watcher_x.h'], | 426 ['exclude', 'base/x/work_area_watcher_x.h'], |
683 ], | 427 ], |
684 }, { # use_aura!=1 | 428 }, { # use_aura!=1 |
685 'sources!': [ | 429 'sources!': [ |
686 'base/cursor/cursor.cc', | 430 'base/cursor/cursor.cc', |
687 'base/cursor/cursor.h', | 431 'base/cursor/cursor.h', |
688 'base/cursor/cursor_loader_x11.cc', | 432 'base/cursor/cursor_loader_x11.cc', |
689 'base/cursor/cursor_loader_x11.h', | 433 'base/cursor/cursor_loader_x11.h', |
690 'base/cursor/cursor_win.cc', | 434 'base/cursor/cursor_win.cc', |
691 'base/cursor/cursor_x11.cc', | 435 'base/cursor/cursor_x11.cc', |
692 'base/x/selection_owner.cc', | 436 'base/x/selection_owner.cc', |
693 'base/x/selection_owner.h', | 437 'base/x/selection_owner.h', |
694 'base/x/selection_requestor.cc', | 438 'base/x/selection_requestor.cc', |
695 'base/x/selection_requestor.h', | 439 'base/x/selection_requestor.h', |
696 'base/x/selection_utils.cc', | 440 'base/x/selection_utils.cc', |
697 'base/x/selection_utils.h', | 441 'base/x/selection_utils.h', |
698 ] | 442 ] |
699 }], | 443 }], |
700 ['use_pango==0', { | |
701 'sources/': [ | |
702 ['exclude', '^gfx/pango_util\\.'], | |
703 ['exclude', '^gfx/platform_font_pango\\.'], | |
704 ], | |
705 }], | |
706 ['use_aura==0 or OS!="linux"', { | 444 ['use_aura==0 or OS!="linux"', { |
707 'sources!': [ | 445 'sources!': [ |
708 'base/resource/resource_bundle_auralinux.cc', | 446 'base/resource/resource_bundle_auralinux.cc', |
709 ], | 447 ], |
710 }], | 448 }], |
711 ['use_aura==1 and OS=="win"', { | 449 ['use_aura==1 and OS=="win"', { |
712 'sources/': [ | 450 'sources/': [ |
713 ['exclude', 'base/dragdrop/drag_utils_aura.cc'], | 451 ['exclude', 'base/dragdrop/drag_utils_aura.cc'], |
714 ], | 452 ], |
715 }], | 453 }], |
(...skipping 25 matching lines...) Expand all Loading... |
741 ['include', '^base/dragdrop/os_exchange_data.cc'], | 479 ['include', '^base/dragdrop/os_exchange_data.cc'], |
742 ], | 480 ], |
743 }], | 481 }], |
744 ['use_pango==1', { | 482 ['use_pango==1', { |
745 'dependencies': [ | 483 'dependencies': [ |
746 '../build/linux/system.gyp:pangocairo', | 484 '../build/linux/system.gyp:pangocairo', |
747 ], | 485 ], |
748 }], | 486 }], |
749 ], | 487 ], |
750 }], | 488 }], |
751 ['toolkit_uses_gtk == 1', { | |
752 'dependencies': [ | |
753 '../build/linux/system.gyp:gtk', | |
754 ], | |
755 'sources': [ | |
756 'gfx/gtk_native_view_id_manager.cc', | |
757 'gfx/gtk_native_view_id_manager.h', | |
758 'gfx/gtk_preserve_window.cc', | |
759 'gfx/gtk_preserve_window.h', | |
760 'gfx/gdk_compat.h', | |
761 'gfx/gtk_compat.h', | |
762 'gfx/gtk_util.cc', | |
763 'gfx/gtk_util.h', | |
764 'gfx/image/cairo_cached_surface.cc', | |
765 'gfx/image/cairo_cached_surface.h', | |
766 'gfx/scoped_gobject.h', | |
767 ], | |
768 }], | |
769 ['chromeos==1 or (use_aura==1 and OS=="linux" and use_x11==0)', { | 489 ['chromeos==1 or (use_aura==1 and OS=="linux" and use_x11==0)', { |
770 'sources!': [ | 490 'sources!': [ |
771 'base/clipboard/clipboard_aurax11.cc', | 491 'base/clipboard/clipboard_aurax11.cc', |
772 'base/dragdrop/os_exchange_data_provider_aurax11.cc', | 492 'base/dragdrop/os_exchange_data_provider_aurax11.cc', |
773 'base/touch/touch_device.cc', | 493 'base/touch/touch_device.cc', |
774 ], | 494 ], |
775 }, { | 495 }, { |
776 'sources!': [ | 496 'sources!': [ |
777 'base/clipboard/clipboard_aura.cc', | 497 'base/clipboard/clipboard_aura.cc', |
778 'base/dragdrop/os_exchange_data_provider_aura.cc', | 498 'base/dragdrop/os_exchange_data_provider_aura.cc', |
779 'base/dragdrop/os_exchange_data_provider_aura.h', | 499 'base/dragdrop/os_exchange_data_provider_aura.h', |
780 'base/touch/touch_device_aurax11.cc', | 500 'base/touch/touch_device_aurax11.cc', |
781 ], | 501 ], |
782 }], | 502 }], |
783 ['OS=="win"', { | 503 ['OS=="win"', { |
784 'sources': [ | |
785 'gfx/gdi_util.cc', | |
786 'gfx/gdi_util.h', | |
787 'gfx/icon_util.cc', | |
788 'gfx/icon_util.h', | |
789 ], | |
790 'sources!': [ | 504 'sources!': [ |
791 'base/touch/touch_device.cc', | 505 'base/touch/touch_device.cc', |
792 ], | 506 ], |
793 'include_dirs': [ | 507 'include_dirs': [ |
794 '../', | 508 '../', |
795 '../third_party/wtl/include', | 509 '../third_party/wtl/include', |
796 ], | 510 ], |
797 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int | 511 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int |
798 # C4324 is structure was padded due to __declspec(align()), which is | 512 # C4324 is structure was padded due to __declspec(align()), which is |
799 # uninteresting. | 513 # uninteresting. |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 'base/dragdrop/drag_utils.h', | 627 'base/dragdrop/drag_utils.h', |
914 'events/event_utils.cc', | 628 'events/event_utils.cc', |
915 'events/keycodes/keyboard_code_conversion.cc', | 629 'events/keycodes/keyboard_code_conversion.cc', |
916 'base/l10n/l10n_font_util.cc', | 630 'base/l10n/l10n_font_util.cc', |
917 'base/models/button_menu_item_model.cc', | 631 'base/models/button_menu_item_model.cc', |
918 'base/models/dialog_model.cc', | 632 'base/models/dialog_model.cc', |
919 'base/theme_provider.cc', | 633 'base/theme_provider.cc', |
920 'base/touch/touch_device.cc', | 634 'base/touch/touch_device.cc', |
921 'base/touch/touch_editing_controller.cc', | 635 'base/touch/touch_editing_controller.cc', |
922 'base/ui_base_types.cc', | 636 'base/ui_base_types.cc', |
923 'gfx/animation/throb_animation.cc', | |
924 'gfx/display_observer.cc', | |
925 'gfx/path.cc', | |
926 'gfx/selection_model.cc', | |
927 ], | 637 ], |
928 'dependencies': [ | 638 'dependencies': [ |
929 'ui_jni_headers', | 639 'ui_jni_headers', |
930 ], | 640 ], |
931 'include_dirs': [ | 641 'include_dirs': [ |
932 '<(SHARED_INTERMEDIATE_DIR)/ui', | 642 '<(SHARED_INTERMEDIATE_DIR)/ui', |
933 ], | 643 ], |
934 'link_settings': { | 644 'link_settings': { |
935 'libraries': [ | 645 'libraries': [ |
936 '-ljnigraphics', | 646 '-ljnigraphics', |
937 ], | 647 ], |
938 }, | 648 }, |
939 }], | 649 }], |
940 ['OS=="android" and android_webview_build==0', { | 650 ['OS=="android" and android_webview_build==0', { |
941 'dependencies': [ | 651 'dependencies': [ |
942 'ui_java', | 652 'ui_java', |
943 ], | 653 ], |
944 }], | 654 }], |
945 ['OS=="android" or OS=="ios"', { | |
946 'sources!': [ | |
947 'gfx/render_text.cc', | |
948 'gfx/render_text.h', | |
949 'gfx/text_utils_skia.cc', | |
950 ], | |
951 }], | |
952 ['OS=="linux"', { | 655 ['OS=="linux"', { |
953 'libraries': [ | 656 'libraries': [ |
954 '-ldl', | 657 '-ldl', |
955 ], | 658 ], |
956 }], | 659 }], |
957 ['use_system_icu==1', { | 660 ['use_system_icu==1', { |
958 # When using the system icu, the icu targets generate shim headers | 661 # When using the system icu, the icu targets generate shim headers |
959 # which are included by public headers in the ui target, so we need | 662 # which are included by public headers in the ui target, so we need |
960 # ui to be a hard dependency for all its users. | 663 # ui to be a hard dependency for all its users. |
961 'hard_dependency': 1, | 664 'hard_dependency': 1, |
(...skipping 28 matching lines...) Expand all Loading... |
990 { | 693 { |
991 'target_name': 'ui_jni_headers', | 694 'target_name': 'ui_jni_headers', |
992 'type': 'none', | 695 'type': 'none', |
993 'direct_dependent_settings': { | 696 'direct_dependent_settings': { |
994 'include_dirs': [ | 697 'include_dirs': [ |
995 '<(SHARED_INTERMEDIATE_DIR)/ui', | 698 '<(SHARED_INTERMEDIATE_DIR)/ui', |
996 ], | 699 ], |
997 }, | 700 }, |
998 'sources': [ | 701 'sources': [ |
999 'android/java/src/org/chromium/ui/Clipboard.java', | 702 'android/java/src/org/chromium/ui/Clipboard.java', |
1000 'android/java/src/org/chromium/ui/gfx/BitmapHelper.java', | |
1001 'android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java', | |
1002 'android/java/src/org/chromium/ui/LocalizationUtils.java', | 703 'android/java/src/org/chromium/ui/LocalizationUtils.java', |
1003 'android/java/src/org/chromium/ui/SelectFileDialog.java', | 704 'android/java/src/org/chromium/ui/SelectFileDialog.java', |
1004 'android/java/src/org/chromium/ui/ViewAndroid.java', | 705 'android/java/src/org/chromium/ui/ViewAndroid.java', |
1005 'android/java/src/org/chromium/ui/WindowAndroid.java', | 706 'android/java/src/org/chromium/ui/WindowAndroid.java', |
1006 ], | 707 ], |
1007 'variables': { | 708 'variables': { |
1008 'jni_gen_package': 'ui', | 709 'jni_gen_package': 'ui', |
1009 }, | 710 }, |
1010 'includes': [ '../build/jni_generator.gypi' ], | 711 'includes': [ '../build/jni_generator.gypi' ], |
1011 }, | 712 }, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 'xcode_settings': { | 805 'xcode_settings': { |
1105 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', | 806 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', |
1106 }, | 807 }, |
1107 }], | 808 }], |
1108 ], | 809 ], |
1109 }, | 810 }, |
1110 ], | 811 ], |
1111 }], | 812 }], |
1112 ], | 813 ], |
1113 } | 814 } |
OLD | NEW |