| # Copyright 2020 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//mojo/public/tools/bindings/mojom.gni") |
| import("//third_party/blink/public/public_features.gni") |
| |
| mojom_component("frame") { |
| output_prefix = "frame_mojom" |
| macro_prefix = "FRAME_MOJOM" |
| |
| # More of the mojoms in this directory belong here, but they depend on |
| # mojom_platform files so moving them here would create circular dependencies. |
| # When mojom_platform is broken up more, this can be addressed. |
| # |
| # TODO(crbug.com/1078875): Reorganize how we assign frame/*mojom files to |
| # mojom GN targets to match better the core/platform separation in C++. |
| sources = [ |
| "back_forward_cache_controller.mojom", |
| "blocked_navigation_types.mojom", |
| "find_in_page.mojom", |
| "frame_owner_element_type.mojom", |
| "fullscreen.mojom", |
| "intrinsic_sizing_info.mojom", |
| "lifecycle.mojom", |
| "media_player_action.mojom", |
| "policy_container.mojom", |
| "reporting_observer.mojom", |
| "sudden_termination_disabler_type.mojom", |
| "tree_scope_type.mojom", |
| "user_activation_notification_type.mojom", |
| "user_activation_update_types.mojom", |
| "viewport_intersection_state.mojom", |
| ] |
| |
| public_deps = [ |
| "//services/network/public/mojom", |
| "//services/network/public/mojom:url_loader_base", |
| "//ui/gfx/geometry/mojom", |
| "//ui/gfx/mojom", |
| "//url/mojom:url_mojom_gurl", |
| ] |
| |
| export_class_attribute_blink = "PLATFORM_EXPORT" |
| export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1" |
| export_header_blink = "third_party/blink/renderer/platform/platform_export.h" |
| |
| generate_java = true |
| } |