1// Copyright (C) 2019 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15android_library {
16    name: "EncryptionRunner",
17    min_sdk_version: "23",
18    product_variables: {
19        pdk: {
20            enabled: false,
21        },
22    },
23    static_libs: [
24      "ukey2",
25    ],
26    srcs: [
27        "src/**/*.java",
28    ],
29    installable: true,
30}
31
32android_test {
33    name: "EncryptionRunnerTest",
34    min_sdk_version: "23",
35    srcs: [
36        "test/**/*.java",
37    ],
38    product_variables: {
39        pdk: {
40            enabled: false,
41        },
42    },
43    libs: [
44        "android.test.base",
45        "android.test.runner",
46    ],
47    static_libs: [
48        "androidx.test.rules",
49        "EncryptionRunner",
50        "junit",
51        "truth-prebuilt",
52    ],
53}
54