blob: 4bafe3aa58b5c1abb9b83ac6df2e2bc175341330 [file] [log] [blame]
//
// Copyright (C) 2021 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_library {
name: "service-entitlement-testing-utils",
srcs: [
"utils/**/*.java",
],
libs: [
"auto_value_annotations",
],
static_libs: [
"guava",
],
plugins: ["auto_value_plugin"],
sdk_version: "current",
min_sdk_version: "29",
}
android_test {
name: "service-entitlement-tests",
srcs: ["src/**/*.java"],
manifest: "AndroidManifest.xml",
resource_dirs: [],
static_libs: [
"androidx.test.core",
"androidx.test.ext.junit",
"androidx.test.rules",
"mockito-target-minus-junit4",
"platform-test-annotations",
"service-entitlement",
"service-entitlement-testing-utils",
"testables",
"testng",
"truth-prebuilt",
],
certificate: "platform",
test_suites: ["device-tests"],
}