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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//third_party/WebKit/Source/config.gni") | 6 import("//third_party/WebKit/Source/config.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 | 660 |
661 # Similarly, the blink variant must be linked with the platform component | 661 # Similarly, the blink variant must be linked with the platform component |
662 # since it uses types from it in its typemaps. | 662 # since it uses types from it in its typemaps. |
663 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" | 663 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" |
664 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" | 664 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" |
665 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" | 665 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" |
666 } | 666 } |
667 | 667 |
668 mojom("new_wrapper_types_mojo_bindings") { | 668 mojom("new_wrapper_types_mojo_bindings") { |
669 sources = [ | 669 sources = [ |
| 670 "platform/modules/mediasession/media_session.mojom", |
670 "platform/modules/permissions/permission.mojom", | 671 "platform/modules/permissions/permission.mojom", |
671 "platform/modules/permissions/permission_status.mojom", | 672 "platform/modules/permissions/permission_status.mojom", |
672 "platform/modules/presentation/presentation.mojom", | 673 "platform/modules/presentation/presentation.mojom", |
673 "platform/modules/websockets/websocket.mojom", | 674 "platform/modules/websockets/websocket.mojom", |
674 ] | 675 ] |
675 public_deps = [ | 676 public_deps = [ |
| 677 "//mojo/common:common_custom_types", |
| 678 "//ui/gfx/geometry/mojo:mojo", |
676 "//url/mojo:url_mojom_gurl", | 679 "//url/mojo:url_mojom_gurl", |
677 "//url/mojo:url_mojom_origin", | 680 "//url/mojo:url_mojom_origin", |
678 ] | 681 ] |
679 | 682 |
680 # See comment above. | 683 # See comment above. |
681 export_class_attribute = "CONTENT_EXPORT" | 684 export_class_attribute = "CONTENT_EXPORT" |
682 export_define = "CONTENT_IMPLEMENTATION=1" | 685 export_define = "CONTENT_IMPLEMENTATION=1" |
683 export_header = "content/common/content_export.h" | 686 export_header = "content/common/content_export.h" |
684 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" | 687 export_class_attribute_blink = "BLINK_PLATFORM_EXPORT" |
685 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" | 688 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" | 728 export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" |
726 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" | 729 export_header_blink = "third_party/WebKit/public/platform/WebCommon.h" |
727 } | 730 } |
728 | 731 |
729 group("generate_mojo_bindings") { | 732 group("generate_mojo_bindings") { |
730 deps = [ | 733 deps = [ |
731 ":mojo_bindings_blink__generator", | 734 ":mojo_bindings_blink__generator", |
732 ":offscreen_canvas_mojo_bindings_blink__generator", | 735 ":offscreen_canvas_mojo_bindings_blink__generator", |
733 ] | 736 ] |
734 } | 737 } |
OLD | NEW |