chromium/components/browser_ui/http_auth/android/BUILD.gn

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

import("//build/config/android/rules.gni")

android_library("java") {
  sources = [
    "java/src/org/chromium/components/browser_ui/http_auth/LoginPrompt.java",
  ]

  deps = [
    ":java_resources",
    "//components/browser_ui/widget/android:java",
    "//components/strings:components_strings_grd",
    "//third_party/android_deps:material_design_java",
    "//third_party/androidx:androidx_appcompat_appcompat_java",
    "//ui/android:ui_java",
    "//url:gurl_java",
  ]
  resources_package = "org.chromium.components.browser_ui.http_auth"
}

android_resources("java_resources") {
  sources = [ "java/res/layout/http_auth_dialog.xml" ]

  deps = [
    "//components/browser_ui/styles/android:java_resources",
    "//components/browser_ui/widget/android:java_resources",
    "//components/strings:components_strings_grd",
    "//ui/android:ui_java_resources",
  ]
}