chromium/ios/web/public/BUILD.gn

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

import("//ios/build/config.gni")

source_set("public") {
  public_deps = [
    ":web_state_observer",
    "//ios/web/public/favicon",
    "//ios/web/public/js_messaging:content_world_header",
    "//ios/web/public/navigation",
    "//ios/web/public/permissions",
    "//ios/web/public/thread",
    "//ios/web/public/ui",
    "//net",
    "//services/network/public/cpp",
    "//services/network/public/mojom",
    "//ui/base",
  ]

  deps = [
    "//build:blink_buildflags",
    "//components/sessions:session_id",
    "//ios/third_party/webkit",
    "//ios/web/common",
    "//ios/web/common:user_agent",
    "//ios/web/public/deprecated",
  ]

  sources = [
    "browser_state.h",
    "browser_state_utils.h",
    "lazy_web_state_user_data.h",
    "web_client.h",
    "web_state.h",
    "web_state_delegate.h",
    "web_state_delegate_bridge.h",
    "web_state_id.h",
    "web_state_observer_bridge.h",
    "web_state_user_data.h",
  ]
}

# Un-separate this once the things in public/deprecated that need it are
# deprecated.
source_set("web_state_observer") {
  deps = [
    "//base",
    "//ios/web/public/navigation",
    "//url",
  ]
  sources = [ "web_state_observer.h" ]
}