blob: 7910b7374e107940fde4bcc41603a329a8262571 [file] [log] [blame]
Michal Palczewski4700a152018-12-21 11:06:11 -08001// 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 },
Michal Palczewskie18e86d2019-01-11 16:48:15 -080023 static_libs: [
24 "ukey2",
25 ],
Michal Palczewski4700a152018-12-21 11:06:11 -080026 srcs: [
27 "src/**/*.java",
28 ],
Michal Palczewski1deea632019-01-11 16:48:15 -080029 installable: true,
Michal Palczewski4700a152018-12-21 11:06:11 -080030}
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}