| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 import("//third_party/WebKit/public/public_features.gni") | 7 import("//third_party/WebKit/public/public_features.gni") |
| 8 import("//third_party/WebKit/Source/config.gni") | 8 import("//third_party/WebKit/Source/config.gni") |
| 9 import("//third_party/WebKit/Source/core/core.gni") | 9 import("//third_party/WebKit/Source/core/core.gni") |
| 10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 use_qualified_include = true | 633 use_qualified_include = true |
| 634 source = "blink_image_resources.grd" | 634 source = "blink_image_resources.grd" |
| 635 outputs = [ | 635 outputs = [ |
| 636 "grit/blink_image_resources.h", | 636 "grit/blink_image_resources.h", |
| 637 "blink_image_resources_100_percent.pak", | 637 "blink_image_resources_100_percent.pak", |
| 638 "blink_image_resources_200_percent.pak", | 638 "blink_image_resources_200_percent.pak", |
| 639 ] | 639 ] |
| 640 } | 640 } |
| 641 | 641 |
| 642 mojom("mojo_bindings") { | 642 mojom("mojo_bindings") { |
| 643 visibility = [ "//content/*" ] |
| 644 visibility_blink = [ |
| 645 "//content/common:mojo_bindings_blink", |
| 646 "//third_party/WebKit/Source/platform", |
| 647 ] |
| 643 sources = [ | 648 sources = [ |
| 644 "platform/mime_registry.mojom", | 649 "platform/mime_registry.mojom", |
| 645 "platform/modules/app_banner/app_banner.mojom", | 650 "platform/modules/app_banner/app_banner.mojom", |
| 646 "platform/modules/background_sync/background_sync.mojom", | 651 "platform/modules/background_sync/background_sync.mojom", |
| 647 "platform/modules/bluetooth/web_bluetooth.mojom", | 652 "platform/modules/bluetooth/web_bluetooth.mojom", |
| 648 "platform/modules/broadcastchannel/broadcast_channel.mojom", | 653 "platform/modules/broadcastchannel/broadcast_channel.mojom", |
| 649 "platform/modules/budget_service/budget_service.mojom", | 654 "platform/modules/budget_service/budget_service.mojom", |
| 650 "platform/modules/hyphenation/hyphenation.mojom", | 655 "platform/modules/hyphenation/hyphenation.mojom", |
| 651 "platform/modules/mediasession/media_session.mojom", | 656 "platform/modules/mediasession/media_session.mojom", |
| 652 "platform/modules/notifications/notification.mojom", | 657 "platform/modules/notifications/notification.mojom", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 682 export_header = "content/common/content_export.h" | 687 export_header = "content/common/content_export.h" |
| 683 | 688 |
| 684 # Similarly, the blink variant must be linked with the platform component | 689 # Similarly, the blink variant must be linked with the platform component |
| 685 # since it uses types from it in its typemaps. | 690 # since it uses types from it in its typemaps. |
| 686 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" | 691 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" |
| 687 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" | 692 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" |
| 688 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" | 693 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" |
| 689 } | 694 } |
| 690 | 695 |
| 691 mojom("android_mojo_bindings") { | 696 mojom("android_mojo_bindings") { |
| 697 visibility = [ ":mojo_bindings" ] |
| 698 visibility_blink = [ ":mojo_bindings_blink" ] |
| 692 sources = [ | 699 sources = [ |
| 693 "platform/modules/installation/installation.mojom", | 700 "platform/modules/installation/installation.mojom", |
| 694 "platform/modules/webshare/webshare.mojom", | 701 "platform/modules/webshare/webshare.mojom", |
| 695 ] | 702 ] |
| 696 public_deps = [ | 703 public_deps = [ |
| 697 "//components/payments:payment_request", | 704 "//components/payments:payment_request", |
| 698 "//url/mojo:url_mojom_gurl", | 705 "//url/mojo:url_mojom_gurl", |
| 699 ] | 706 ] |
| 700 | 707 |
| 701 # See comment above. | 708 # See comment above. |
| 702 export_class_attribute = "CONTENT_EXPORT" | 709 export_class_attribute = "CONTENT_EXPORT" |
| 703 export_define = "CONTENT_IMPLEMENTATION=1" | 710 export_define = "CONTENT_IMPLEMENTATION=1" |
| 704 export_header = "content/common/content_export.h" | 711 export_header = "content/common/content_export.h" |
| 705 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" | 712 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" |
| 706 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" | 713 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" |
| 707 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" | 714 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" |
| 708 } | 715 } |
| 709 | 716 |
| 710 # The offscreen_canvas_mojo_bindings is separated from the rest of mojom files | 717 # The offscreen_canvas_mojo_bindings is separated from the rest of mojom files |
| 711 # because its deps contain too many files in Chromium that would pollute the | 718 # because its deps contain too many files in Chromium that would pollute the |
| 712 # include paths in generated mojom-blink files for other services. | 719 # include paths in generated mojom-blink files for other services. |
| 713 mojom("offscreen_canvas_mojo_bindings") { | 720 mojom("offscreen_canvas_mojo_bindings") { |
| 721 visibility = [ "//content/*" ] |
| 722 visibility_blink = [ "//third_party/WebKit/Source/platform" ] |
| 714 sources = [ | 723 sources = [ |
| 715 "platform/modules/offscreencanvas/offscreen_canvas_surface.mojom", | 724 "platform/modules/offscreencanvas/offscreen_canvas_surface.mojom", |
| 716 ] | 725 ] |
| 717 deps = [ | 726 deps = [ |
| 718 "//cc/ipc:interfaces", | 727 "//cc/ipc:interfaces", |
| 719 ] | 728 ] |
| 720 | 729 |
| 721 # See comment above | 730 # See comment above |
| 722 export_class_attribute = "CONTENT_EXPORT" | 731 export_class_attribute = "CONTENT_EXPORT" |
| 723 export_define = "CONTENT_IMPLEMENTATION=1" | 732 export_define = "CONTENT_IMPLEMENTATION=1" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 740 # relegated to a separate target to avoid duplication between the variants. | 749 # relegated to a separate target to avoid duplication between the variants. |
| 741 source_set("shared_typemap_traits") { | 750 source_set("shared_typemap_traits") { |
| 742 visibility = [ ":*" ] | 751 visibility = [ ":*" ] |
| 743 sources = [ | 752 sources = [ |
| 744 "web/WindowFeaturesStructTraits.cpp", | 753 "web/WindowFeaturesStructTraits.cpp", |
| 745 ] | 754 ] |
| 746 deps = [ | 755 deps = [ |
| 747 ":mojo_bindings_shared__generator", | 756 ":mojo_bindings_shared__generator", |
| 748 ] | 757 ] |
| 749 } | 758 } |
| OLD | NEW |