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

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

Issue 2555093002: Fixes BUILD rules from previous cherrypick (Closed)
Patch Set: Fix Created 4 years 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
« no previous file with comments | « content/public/android/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 "platform/modules/background_sync/background_sync.mojom", 650 "platform/modules/background_sync/background_sync.mojom",
651 "platform/modules/broadcastchannel/broadcast_channel.mojom", 651 "platform/modules/broadcastchannel/broadcast_channel.mojom",
652 "platform/modules/budget_service/budget_service.mojom", 652 "platform/modules/budget_service/budget_service.mojom",
653 "platform/modules/hyphenation/hyphenation.mojom", 653 "platform/modules/hyphenation/hyphenation.mojom",
654 "platform/modules/notifications/notification.mojom", 654 "platform/modules/notifications/notification.mojom",
655 "platform/modules/notifications/notification_service.mojom", 655 "platform/modules/notifications/notification_service.mojom",
656 "platform/modules/sensitive_input_visibility/sensitive_input_visibility_serv ice.mojom", 656 "platform/modules/sensitive_input_visibility/sensitive_input_visibility_serv ice.mojom",
657 "platform/modules/serviceworker/service_worker_event_status.mojom", 657 "platform/modules/serviceworker/service_worker_event_status.mojom",
658 ] 658 ]
659 public_deps = [ 659 public_deps = [
660 ":android_mojo_bindings",
661 ":new_wrapper_types_mojo_bindings", 660 ":new_wrapper_types_mojo_bindings",
662 "//mojo/common:common_custom_types", 661 "//mojo/common:common_custom_types",
663 "//url/mojo:url_mojom_origin", 662 "//url/mojo:url_mojom_origin",
664 ] 663 ]
665 664
666 use_new_wrapper_types = false 665 use_new_wrapper_types = false
667 666
668 # The chromium variant must be linked with content and use the same export 667 # See comments above.
669 # settings in component build because of the WebBluetoothDeviceId typemap
670 # inside content.
671 export_class_attribute = "CONTENT_EXPORT" 668 export_class_attribute = "CONTENT_EXPORT"
672 export_define = "CONTENT_IMPLEMENTATION=1" 669 export_define = "CONTENT_IMPLEMENTATION=1"
673 export_header = "content/common/content_export.h" 670 export_header = "content/common/content_export.h"
674
675 # Similarly, the blink variant must be linked with the platform component
676 # since it uses types from it in its typemaps.
677 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" 671 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT"
678 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" 672 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1"
679 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" 673 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h"
680 } 674 }
681 675
682 mojom("new_wrapper_types_mojo_bindings") { 676 mojom("new_wrapper_types_mojo_bindings") {
683 sources = [ 677 sources = [
684 "platform/modules/app_banner/app_banner.mojom", 678 "platform/modules/app_banner/app_banner.mojom",
685 "platform/modules/bluetooth/web_bluetooth.mojom", 679 "platform/modules/bluetooth/web_bluetooth.mojom",
686 "platform/modules/mediasession/media_session.mojom", 680 "platform/modules/mediasession/media_session.mojom",
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 759
766 # Some mojom typemaps are shared between Chromium and Blink variants and 760 # Some mojom typemaps are shared between Chromium and Blink variants and
767 # therefore require some shared traits implementation. These definitions are 761 # therefore require some shared traits implementation. These definitions are
768 # relegated to a separate target to avoid duplication between the variants. 762 # relegated to a separate target to avoid duplication between the variants.
769 source_set("shared_typemap_traits") { 763 source_set("shared_typemap_traits") {
770 visibility = [ ":*" ] 764 visibility = [ ":*" ]
771 sources = [ 765 sources = [
772 "web/WindowFeaturesStructTraits.cpp", 766 "web/WindowFeaturesStructTraits.cpp",
773 ] 767 ]
774 deps = [ 768 deps = [
775 ":mojo_bindings_shared__generator", 769 ":new_wrapper_types_mojo_bindings_shared__generator",
776 ] 770 ]
777 } 771 }
OLDNEW
« no previous file with comments | « content/public/android/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698