| # Copyright 2024 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") |
| |
| android_library("java") { |
| sources = [ "android/java/src/org/chromium/chrome/browser/webid/DigitalIdentityProvider.java" ] |
| deps = [ |
| "//base:base_java", |
| "//content/public/android:content_java", |
| "//content/public/android:identity_credentials_public_impl_java", |
| "//third_party/androidx:androidx_annotation_annotation_java", |
| "//third_party/jni_zero:jni_zero_java", |
| "//ui/android:ui_no_recycler_view_java", |
| ] |
| |
| srcjar_deps = [ ":jni_headers" ] |
| } |
| |
| generate_jni("jni_headers") { |
| sources = [ "android/java/src/org/chromium/chrome/browser/webid/DigitalIdentityProvider.java" ] |
| } |
| |
| robolectric_library("junit") { |
| testonly = true |
| sources = [ "android/java/src/org/chromium/chrome/browser/webid/DigitalIdentityProviderUnitTest.java" ] |
| |
| deps = [ |
| ":java", |
| "//base:base_junit_test_support", |
| "//content/public/android:content_java", |
| "//third_party/junit:junit", |
| ] |
| } |