Michal Palczewski | 4700a15 | 2018-12-21 11:06:11 -0800 | [diff] [blame] | 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 | |
| 15 | android_library { |
| 16 | name: "EncryptionRunner", |
| 17 | min_sdk_version: "23", |
| 18 | product_variables: { |
| 19 | pdk: { |
| 20 | enabled: false, |
| 21 | }, |
| 22 | }, |
Michal Palczewski | e18e86d | 2019-01-11 16:48:15 -0800 | [diff] [blame] | 23 | static_libs: [ |
| 24 | "ukey2", |
| 25 | ], |
Michal Palczewski | 4700a15 | 2018-12-21 11:06:11 -0800 | [diff] [blame] | 26 | srcs: [ |
| 27 | "src/**/*.java", |
| 28 | ], |
Michal Palczewski | 1deea63 | 2019-01-11 16:48:15 -0800 | [diff] [blame] | 29 | installable: true, |
Michal Palczewski | 4700a15 | 2018-12-21 11:06:11 -0800 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | android_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 | } |