chromium/android_webview/renderer/BUILD.gn

# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//printing/buildflags/buildflags.gni")

source_set("renderer") {
  sources = [
    "aw_content_renderer_client.cc",
    "aw_content_renderer_client.h",
    "aw_content_settings_client.cc",
    "aw_content_settings_client.h",
    "aw_print_render_frame_helper_delegate.cc",
    "aw_print_render_frame_helper_delegate.h",
    "aw_render_frame_ext.cc",
    "aw_render_frame_ext.h",
    "aw_render_thread_observer.cc",
    "aw_render_thread_observer.h",
    "aw_render_view_ext.cc",
    "aw_render_view_ext.h",
    "aw_safe_browsing_error_page_controller_delegate_impl.cc",
    "aw_safe_browsing_error_page_controller_delegate_impl.h",
    "aw_url_loader_throttle_provider.cc",
    "aw_url_loader_throttle_provider.h",
    "browser_exposed_renderer_interfaces.cc",
    "browser_exposed_renderer_interfaces.h",
  ]

  deps = [
    "//android_webview/common",
    "//android_webview/common:mojom",
    "//base",
    "//components/android_system_error_page",
    "//components/autofill/content/renderer",
    "//components/autofill/core/common:features",
    "//components/cdm/renderer",
    "//components/content_capture/common",
    "//components/content_capture/renderer",
    "//components/js_injection/common",
    "//components/js_injection/renderer",
    "//components/network_hints/renderer",
    "//components/page_load_metrics/renderer",
    "//components/resources",
    "//components/safe_browsing/content/common:interfaces",
    "//components/safe_browsing/content/renderer:throttles",
    "//components/safe_browsing/core/common",
    "//components/security_interstitials/content/renderer:security_interstitial_page_controller",
    "//components/security_interstitials/core",
    "//components/security_interstitials/core/common/mojom",
    "//components/spellcheck:buildflags",
    "//components/spellcheck/renderer",
    "//components/strings",
    "//components/visitedlink/renderer",
    "//content/public/child",
    "//content/public/common",
    "//content/public/renderer",
    "//third_party/blink/public:blink",
    "//ui/base",
    "//url",
  ]

  if (enable_printing) {
    deps += [
      "//components/printing/common",
      "//components/printing/renderer",
    ]
  }
}