Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: third_party/WebKit/public/BUILD.gn

Issue 2506813003: Use new wrapper types for web_bluetooth.mojom (Closed)
Patch Set: updated web_bluetooth_impl.cc Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 "grit/blink_image_resources.h", 641 "grit/blink_image_resources.h",
642 "blink_image_resources_100_percent.pak", 642 "blink_image_resources_100_percent.pak",
643 "blink_image_resources_200_percent.pak", 643 "blink_image_resources_200_percent.pak",
644 ] 644 ]
645 } 645 }
646 646
647 mojom("mojo_bindings") { 647 mojom("mojo_bindings") {
648 sources = [ 648 sources = [
649 "platform/mime_registry.mojom", 649 "platform/mime_registry.mojom",
650 "platform/modules/background_sync/background_sync.mojom", 650 "platform/modules/background_sync/background_sync.mojom",
651 "platform/modules/bluetooth/web_bluetooth.mojom",
652 "platform/modules/broadcastchannel/broadcast_channel.mojom", 651 "platform/modules/broadcastchannel/broadcast_channel.mojom",
653 "platform/modules/budget_service/budget_service.mojom", 652 "platform/modules/budget_service/budget_service.mojom",
654 "platform/modules/hyphenation/hyphenation.mojom", 653 "platform/modules/hyphenation/hyphenation.mojom",
655 "platform/modules/notifications/notification.mojom", 654 "platform/modules/notifications/notification.mojom",
656 "platform/modules/notifications/notification_service.mojom", 655 "platform/modules/notifications/notification_service.mojom",
657 "platform/modules/sensitive_input_visibility/sensitive_input_visibility_serv ice.mojom", 656 "platform/modules/sensitive_input_visibility/sensitive_input_visibility_serv ice.mojom",
658 "platform/modules/serviceworker/service_worker_event_status.mojom", 657 "platform/modules/serviceworker/service_worker_event_status.mojom",
659 ] 658 ]
660 public_deps = [ 659 public_deps = [
661 ":android_mojo_bindings", 660 ":android_mojo_bindings",
662 ":new_wrapper_types_mojo_bindings", 661 ":new_wrapper_types_mojo_bindings",
663 "//device/bluetooth/public/interfaces",
664 "//mojo/common:common_custom_types", 662 "//mojo/common:common_custom_types",
665 "//url/mojo:url_mojom_origin", 663 "//url/mojo:url_mojom_origin",
666 ] 664 ]
667 665
668 use_new_wrapper_types = false 666 use_new_wrapper_types = false
669 667
670 # The chromium variant must be linked with content and use the same export 668 # The chromium variant must be linked with content and use the same export
671 # settings in component build because of the WebBluetoothDeviceId typemap 669 # settings in component build because of the WebBluetoothDeviceId typemap
672 # inside content. 670 # inside content.
673 export_class_attribute = "CONTENT_EXPORT" 671 export_class_attribute = "CONTENT_EXPORT"
674 export_define = "CONTENT_IMPLEMENTATION=1" 672 export_define = "CONTENT_IMPLEMENTATION=1"
675 export_header = "content/common/content_export.h" 673 export_header = "content/common/content_export.h"
676 674
677 # Similarly, the blink variant must be linked with the platform component 675 # Similarly, the blink variant must be linked with the platform component
678 # since it uses types from it in its typemaps. 676 # since it uses types from it in its typemaps.
679 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" 677 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT"
680 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" 678 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1"
681 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" 679 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h"
682 } 680 }
683 681
684 mojom("new_wrapper_types_mojo_bindings") { 682 mojom("new_wrapper_types_mojo_bindings") {
685 sources = [ 683 sources = [
686 "platform/modules/app_banner/app_banner.mojom", 684 "platform/modules/app_banner/app_banner.mojom",
685 "platform/modules/bluetooth/web_bluetooth.mojom",
687 "platform/modules/mediasession/media_session.mojom", 686 "platform/modules/mediasession/media_session.mojom",
688 "platform/modules/permissions/permission.mojom", 687 "platform/modules/permissions/permission.mojom",
689 "platform/modules/permissions/permission_status.mojom", 688 "platform/modules/permissions/permission_status.mojom",
690 "platform/modules/presentation/presentation.mojom", 689 "platform/modules/presentation/presentation.mojom",
691 "platform/modules/shapedetection/shapedetection.mojom", 690 "platform/modules/shapedetection/shapedetection.mojom",
692 "platform/modules/websockets/websocket.mojom", 691 "platform/modules/websockets/websocket.mojom",
693 "platform/referrer.mojom", 692 "platform/referrer.mojom",
694 "web/window_features.mojom", 693 "web/window_features.mojom",
695 ] 694 ]
696 public_deps = [ 695 public_deps = [
696 "//device/bluetooth/public/interfaces",
697 "//mojo/common:common_custom_types", 697 "//mojo/common:common_custom_types",
698 "//ui/gfx/geometry/mojo", 698 "//ui/gfx/geometry/mojo",
699 "//ui/gfx/geometry/mojo:mojo", 699 "//ui/gfx/geometry/mojo:mojo",
700 "//url/mojo:url_mojom_gurl", 700 "//url/mojo:url_mojom_gurl",
701 "//url/mojo:url_mojom_origin", 701 "//url/mojo:url_mojom_origin",
702 ] 702 ]
703 703
704 # See comment above. 704 # See comment above.
705 export_class_attribute = "CONTENT_EXPORT" 705 export_class_attribute = "CONTENT_EXPORT"
706 export_define = "CONTENT_IMPLEMENTATION=1" 706 export_define = "CONTENT_IMPLEMENTATION=1"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 # relegated to a separate target to avoid duplication between the variants. 762 # relegated to a separate target to avoid duplication between the variants.
763 source_set("shared_typemap_traits") { 763 source_set("shared_typemap_traits") {
764 visibility = [ ":*" ] 764 visibility = [ ":*" ]
765 sources = [ 765 sources = [
766 "web/WindowFeaturesStructTraits.cpp", 766 "web/WindowFeaturesStructTraits.cpp",
767 ] 767 ]
768 deps = [ 768 deps = [
769 ":new_wrapper_types_mojo_bindings_shared__generator", 769 ":new_wrapper_types_mojo_bindings_shared__generator",
770 ] 770 ]
771 } 771 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698