# 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("//build/config/android/rules.gni")
import("//third_party/jni_zero/jni_zero.gni")
generate_jni("jni") {
sources = [ "java/src/org/chromium/chrome/browser/keyboard_accessory/data/UserInfoField.java" ]
}
android_library("public_java") {
deps = [
"//base:base_java",
"//chrome/browser/back_press/android:java",
"//chrome/browser/profiles/android:java",
"//chrome/browser/ui/android/edge_to_edge:java",
"//components/autofill/android:autofill_java",
"//components/browser_ui/bottomsheet/android:java",
"//components/browser_ui/widget/android:java",
"//content/public/android:content_java",
"//third_party/androidx:androidx_annotation_annotation_java",
"//third_party/jni_zero:jni_zero_java",
"//ui/android:ui_full_java",
"//url:gurl_java",
]
sources = [
"java/src/org/chromium/chrome/browser/keyboard_accessory/AccessorySheetVisualStateProvider.java",
"java/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingComponent.java",
"java/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingComponentSupplier.java",
"java/src/org/chromium/chrome/browser/keyboard_accessory/data/KeyboardAccessoryData.java",
"java/src/org/chromium/chrome/browser/keyboard_accessory/data/PropertyProvider.java",
"java/src/org/chromium/chrome/browser/keyboard_accessory/data/Provider.java",
"java/src/org/chromium/chrome/browser/keyboard_accessory/data/UserInfoField.java",
]
srcjar_deps = [
":java_enums_srcjar",
":jni",
"//chrome/browser/keyboard_accessory/android:java_enums",
]
}
java_cpp_enum("java_enums_srcjar") {
sources = [
"//chrome/browser/autofill/manual_filling_view_interface.h",
"//chrome/browser/password_manager/android/password_accessory_metrics_util.h",
]
visibility = [ ":*" ]
}