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', | |
32 'ui_resources', | 31 'ui_resources', |
33 ], | 32 ], |
34 'defines': [ | 33 'defines': [ |
| 34 # TODO(sky): remove once gfx dependencies are corrected. |
| 35 'GFX_IMPLEMENTATION', |
35 'UI_IMPLEMENTATION', | 36 'UI_IMPLEMENTATION', |
36 ], | 37 ], |
37 # Export these dependencies since text_elider.h includes ICU headers. | 38 # Export these dependencies since text_elider.h includes ICU headers. |
38 'export_dependent_settings': [ | 39 'export_dependent_settings': [ |
39 '../net/net.gyp:net', | 40 '../net/net.gyp:net', |
40 '../third_party/icu/icu.gyp:icui18n', | 41 '../third_party/icu/icu.gyp:icui18n', |
41 '../third_party/icu/icu.gyp:icuuc', | 42 '../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', |
383 'webui/jstemplate_builder.cc', | 617 'webui/jstemplate_builder.cc', |
384 'webui/jstemplate_builder.h', | 618 'webui/jstemplate_builder.h', |
385 'webui/web_ui_util.cc', | 619 'webui/web_ui_util.cc', |
386 'webui/web_ui_util.h', | 620 'webui/web_ui_util.h', |
387 ], | 621 ], |
388 'target_conditions': [ | 622 'target_conditions': [ |
389 ['OS == "ios"', { | 623 ['OS == "ios"', { |
390 'sources/': [ | 624 'sources/': [ |
391 ['include', '^base/l10n/l10n_util_mac\\.mm$'], | 625 ['include', '^base/l10n/l10n_util_mac\\.mm$'], |
392 ], | 626 ], |
393 }], | 627 }], |
394 ], | 628 ], |
395 'conditions': [ | 629 'conditions': [ |
396 ['OS!="ios"', { | 630 ['OS!="ios"', { |
397 'includes': [ | 631 'includes': [ |
398 'base/ime/ime.gypi', | 632 'base/ime/ime.gypi', |
399 ], | 633 ], |
| 634 'dependencies': [ |
| 635 '<(libjpeg_gyp_path):libjpeg', |
| 636 ], |
400 }, { # OS=="ios" | 637 }, { # OS=="ios" |
401 # iOS only uses a subset of UI. | 638 # iOS only uses a subset of UI. |
402 'sources/': [ | 639 'sources/': [ |
403 ['exclude', '\\.(cc|mm)$'], | 640 ['exclude', '\\.(cc|mm)$'], |
404 ['include', '_ios\\.(cc|mm)$'], | 641 ['include', '_ios\\.(cc|mm)$'], |
405 ['include', '(^|/)ios/'], | 642 ['include', '(^|/)ios/'], |
| 643 ['include', '^gfx/'], |
| 644 ['include', '^gfx/animation/'], |
| 645 ['exclude', '^gfx/codec/jpeg_codec\\.cc$'], |
| 646 ['include', '^gfx/range/'], |
406 ['include', '^base/l10n/'], | 647 ['include', '^base/l10n/'], |
407 ['include', '^base/layout'], | 648 ['include', '^base/layout'], |
408 ['include', '^base/resource/'], | 649 ['include', '^base/resource/'], |
409 ['include', '^base/ui_base_'], | 650 ['include', '^base/ui_base_'], |
410 ], | 651 ], |
411 'link_settings': { | 652 'link_settings': { |
412 'libraries': [ | 653 'libraries': [ |
413 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', | 654 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
414 ], | 655 ], |
415 }, | 656 }, |
416 }], | 657 }], |
| 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 }], |
417 ['use_aura==1', { | 669 ['use_aura==1', { |
418 'sources/': [ | 670 'sources/': [ |
| 671 ['exclude', 'gfx/gtk_'], |
| 672 ['exclude', 'gfx/gtk_util.cc'], |
| 673 ['exclude', 'gfx/gtk_util.h'], |
| 674 ['exclude', 'gfx/screen_gtk.cc'], |
419 ['exclude', 'base/work_area_watcher_observer.h'], | 675 ['exclude', 'base/work_area_watcher_observer.h'], |
420 ['exclude', 'base/x/active_window_watcher_x.cc'], | 676 ['exclude', 'base/x/active_window_watcher_x.cc'], |
421 ['exclude', 'base/x/active_window_watcher_x.h'], | 677 ['exclude', 'base/x/active_window_watcher_x.h'], |
422 ['exclude', 'base/x/active_window_watcher_x_observer.h'], | 678 ['exclude', 'base/x/active_window_watcher_x_observer.h'], |
423 ['exclude', 'base/x/root_window_property_watcher_x.cc'], | 679 ['exclude', 'base/x/root_window_property_watcher_x.cc'], |
424 ['exclude', 'base/x/root_window_property_watcher_x.h'], | 680 ['exclude', 'base/x/root_window_property_watcher_x.h'], |
425 ['exclude', 'base/x/work_area_watcher_x.cc'], | 681 ['exclude', 'base/x/work_area_watcher_x.cc'], |
426 ['exclude', 'base/x/work_area_watcher_x.h'], | 682 ['exclude', 'base/x/work_area_watcher_x.h'], |
427 ], | 683 ], |
428 }, { # use_aura!=1 | 684 }, { # use_aura!=1 |
429 'sources!': [ | 685 'sources!': [ |
430 'base/cursor/cursor.cc', | 686 'base/cursor/cursor.cc', |
431 'base/cursor/cursor.h', | 687 'base/cursor/cursor.h', |
432 'base/cursor/cursor_loader_x11.cc', | 688 'base/cursor/cursor_loader_x11.cc', |
433 'base/cursor/cursor_loader_x11.h', | 689 'base/cursor/cursor_loader_x11.h', |
434 'base/cursor/cursor_win.cc', | 690 'base/cursor/cursor_win.cc', |
435 'base/cursor/cursor_x11.cc', | 691 'base/cursor/cursor_x11.cc', |
436 'base/x/selection_owner.cc', | 692 'base/x/selection_owner.cc', |
437 'base/x/selection_owner.h', | 693 'base/x/selection_owner.h', |
438 'base/x/selection_requestor.cc', | 694 'base/x/selection_requestor.cc', |
439 'base/x/selection_requestor.h', | 695 'base/x/selection_requestor.h', |
440 'base/x/selection_utils.cc', | 696 'base/x/selection_utils.cc', |
441 'base/x/selection_utils.h', | 697 'base/x/selection_utils.h', |
442 ] | 698 ] |
443 }], | 699 }], |
| 700 ['use_pango==0', { |
| 701 'sources/': [ |
| 702 ['exclude', '^gfx/pango_util\\.'], |
| 703 ['exclude', '^gfx/platform_font_pango\\.'], |
| 704 ], |
| 705 }], |
444 ['use_aura==0 or OS!="linux"', { | 706 ['use_aura==0 or OS!="linux"', { |
445 'sources!': [ | 707 'sources!': [ |
446 'base/resource/resource_bundle_auralinux.cc', | 708 'base/resource/resource_bundle_auralinux.cc', |
447 ], | 709 ], |
448 }], | 710 }], |
449 ['use_aura==1 and OS=="win"', { | 711 ['use_aura==1 and OS=="win"', { |
450 'sources/': [ | 712 'sources/': [ |
451 ['exclude', 'base/dragdrop/drag_utils_aura.cc'], | 713 ['exclude', 'base/dragdrop/drag_utils_aura.cc'], |
452 ], | 714 ], |
453 }], | 715 }], |
(...skipping 25 matching lines...) Expand all Loading... |
479 ['include', '^base/dragdrop/os_exchange_data.cc'], | 741 ['include', '^base/dragdrop/os_exchange_data.cc'], |
480 ], | 742 ], |
481 }], | 743 }], |
482 ['use_pango==1', { | 744 ['use_pango==1', { |
483 'dependencies': [ | 745 'dependencies': [ |
484 '../build/linux/system.gyp:pangocairo', | 746 '../build/linux/system.gyp:pangocairo', |
485 ], | 747 ], |
486 }], | 748 }], |
487 ], | 749 ], |
488 }], | 750 }], |
| 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 }], |
489 ['chromeos==1 or (use_aura==1 and OS=="linux" and use_x11==0)', { | 769 ['chromeos==1 or (use_aura==1 and OS=="linux" and use_x11==0)', { |
490 'sources!': [ | 770 'sources!': [ |
491 'base/clipboard/clipboard_aurax11.cc', | 771 'base/clipboard/clipboard_aurax11.cc', |
492 'base/dragdrop/os_exchange_data_provider_aurax11.cc', | 772 'base/dragdrop/os_exchange_data_provider_aurax11.cc', |
493 'base/touch/touch_device.cc', | 773 'base/touch/touch_device.cc', |
494 ], | 774 ], |
495 }, { | 775 }, { |
496 'sources!': [ | 776 'sources!': [ |
497 'base/clipboard/clipboard_aura.cc', | 777 'base/clipboard/clipboard_aura.cc', |
498 'base/dragdrop/os_exchange_data_provider_aura.cc', | 778 'base/dragdrop/os_exchange_data_provider_aura.cc', |
499 'base/dragdrop/os_exchange_data_provider_aura.h', | 779 'base/dragdrop/os_exchange_data_provider_aura.h', |
500 'base/touch/touch_device_aurax11.cc', | 780 'base/touch/touch_device_aurax11.cc', |
501 ], | 781 ], |
502 }], | 782 }], |
503 ['OS=="win"', { | 783 ['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 ], |
504 'sources!': [ | 790 'sources!': [ |
505 'base/touch/touch_device.cc', | 791 'base/touch/touch_device.cc', |
506 ], | 792 ], |
507 'include_dirs': [ | 793 'include_dirs': [ |
508 '../', | 794 '../', |
509 '../third_party/wtl/include', | 795 '../third_party/wtl/include', |
510 ], | 796 ], |
511 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int | 797 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int |
512 # C4324 is structure was padded due to __declspec(align()), which is | 798 # C4324 is structure was padded due to __declspec(align()), which is |
513 # uninteresting. | 799 # uninteresting. |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 'base/dragdrop/drag_utils.h', | 913 'base/dragdrop/drag_utils.h', |
628 'events/event_utils.cc', | 914 'events/event_utils.cc', |
629 'events/keycodes/keyboard_code_conversion.cc', | 915 'events/keycodes/keyboard_code_conversion.cc', |
630 'base/l10n/l10n_font_util.cc', | 916 'base/l10n/l10n_font_util.cc', |
631 'base/models/button_menu_item_model.cc', | 917 'base/models/button_menu_item_model.cc', |
632 'base/models/dialog_model.cc', | 918 'base/models/dialog_model.cc', |
633 'base/theme_provider.cc', | 919 'base/theme_provider.cc', |
634 'base/touch/touch_device.cc', | 920 'base/touch/touch_device.cc', |
635 'base/touch/touch_editing_controller.cc', | 921 'base/touch/touch_editing_controller.cc', |
636 'base/ui_base_types.cc', | 922 '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', |
637 ], | 927 ], |
638 'dependencies': [ | 928 'dependencies': [ |
639 'ui_jni_headers', | 929 'ui_jni_headers', |
640 ], | 930 ], |
641 'include_dirs': [ | 931 'include_dirs': [ |
642 '<(SHARED_INTERMEDIATE_DIR)/ui', | 932 '<(SHARED_INTERMEDIATE_DIR)/ui', |
643 ], | 933 ], |
644 'link_settings': { | 934 'link_settings': { |
645 'libraries': [ | 935 'libraries': [ |
646 '-ljnigraphics', | 936 '-ljnigraphics', |
647 ], | 937 ], |
648 }, | 938 }, |
649 }], | 939 }], |
650 ['OS=="android" and android_webview_build==0', { | 940 ['OS=="android" and android_webview_build==0', { |
651 'dependencies': [ | 941 'dependencies': [ |
652 'ui_java', | 942 'ui_java', |
653 ], | 943 ], |
654 }], | 944 }], |
| 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 }], |
655 ['OS=="linux"', { | 952 ['OS=="linux"', { |
656 'libraries': [ | 953 'libraries': [ |
657 '-ldl', | 954 '-ldl', |
658 ], | 955 ], |
659 }], | 956 }], |
660 ['use_system_icu==1', { | 957 ['use_system_icu==1', { |
661 # When using the system icu, the icu targets generate shim headers | 958 # When using the system icu, the icu targets generate shim headers |
662 # which are included by public headers in the ui target, so we need | 959 # which are included by public headers in the ui target, so we need |
663 # ui to be a hard dependency for all its users. | 960 # ui to be a hard dependency for all its users. |
664 'hard_dependency': 1, | 961 'hard_dependency': 1, |
(...skipping 28 matching lines...) Expand all Loading... |
693 { | 990 { |
694 'target_name': 'ui_jni_headers', | 991 'target_name': 'ui_jni_headers', |
695 'type': 'none', | 992 'type': 'none', |
696 'direct_dependent_settings': { | 993 'direct_dependent_settings': { |
697 'include_dirs': [ | 994 'include_dirs': [ |
698 '<(SHARED_INTERMEDIATE_DIR)/ui', | 995 '<(SHARED_INTERMEDIATE_DIR)/ui', |
699 ], | 996 ], |
700 }, | 997 }, |
701 'sources': [ | 998 'sources': [ |
702 'android/java/src/org/chromium/ui/Clipboard.java', | 999 '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', |
703 'android/java/src/org/chromium/ui/LocalizationUtils.java', | 1002 'android/java/src/org/chromium/ui/LocalizationUtils.java', |
704 'android/java/src/org/chromium/ui/SelectFileDialog.java', | 1003 'android/java/src/org/chromium/ui/SelectFileDialog.java', |
705 'android/java/src/org/chromium/ui/ViewAndroid.java', | 1004 'android/java/src/org/chromium/ui/ViewAndroid.java', |
706 'android/java/src/org/chromium/ui/WindowAndroid.java', | 1005 'android/java/src/org/chromium/ui/WindowAndroid.java', |
707 ], | 1006 ], |
708 'variables': { | 1007 'variables': { |
709 'jni_gen_package': 'ui', | 1008 'jni_gen_package': 'ui', |
710 }, | 1009 }, |
711 'includes': [ '../build/jni_generator.gypi' ], | 1010 'includes': [ '../build/jni_generator.gypi' ], |
712 }, | 1011 }, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 'xcode_settings': { | 1104 'xcode_settings': { |
806 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', | 1105 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', |
807 }, | 1106 }, |
808 }], | 1107 }], |
809 ], | 1108 ], |
810 }, | 1109 }, |
811 ], | 1110 ], |
812 }], | 1111 }], |
813 ], | 1112 ], |
814 } | 1113 } |
OLD | NEW |