blob: f1eb91a4d89964ec27be1b6277cc6262f956b597 [file] [log] [blame]
# Copyright 2023 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/chrome/browser/ui/cars/DrivingRestrictionsDelegate.java",
"java/src/org/chromium/chrome/browser/ui/cars/DrivingRestrictionsDelegateFactory.java",
"java/src/org/chromium/chrome/browser/ui/cars/DrivingRestrictionsManager.java",
"java/src/org/chromium/chrome/browser/ui/cars/FallbackDrivingRestrictionsDelegate.java",
]
deps = [
"//base:base_java",
"//base:service_loader_java",
]
}
robolectric_library("junit") {
sources = [ "java/src/org/chromium/chrome/browser/ui/cars/DrivingRestrictionsManagerTest.java" ]
deps = [
":java",
"//base:base_java",
"//base:base_junit_test_support",
"//third_party/junit",
"//third_party/mockito:mockito_java",
]
}