tadvana | b8686ac | 2019-08-06 16:22:41 -0700 | [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 | java_library { |
| 16 | name: "android.car.testapi", |
| 17 | srcs: [ |
felipeal | 3e8b49d | 2020-04-27 14:16:43 -0700 | [diff] [blame] | 18 | "src/android/car/testapi/*.java", |
tadvana | b8686ac | 2019-08-06 16:22:41 -0700 | [diff] [blame] | 19 | ], |
| 20 | product_variables: { |
| 21 | pdk: { |
| 22 | enabled: false, |
| 23 | }, |
| 24 | }, |
| 25 | static_libs: [ |
| 26 | "android.car", |
tadvana | f7746cd | 2019-10-04 16:02:56 -0700 | [diff] [blame] | 27 | "car-service-test-lib", |
tadvana | f1702e9 | 2019-08-08 15:17:28 -0700 | [diff] [blame] | 28 | ], |
| 29 | libs: [ |
tadvana | b8686ac | 2019-08-06 16:22:41 -0700 | [diff] [blame] | 30 | "mockito", |
| 31 | ], |
| 32 | installable: false, |
| 33 | dist: { |
| 34 | targets: ["dist_files"], |
| 35 | } |
| 36 | } |
felipeal | 3e8b49d | 2020-04-27 14:16:43 -0700 | [diff] [blame] | 37 | |
| 38 | java_library { |
| 39 | name: "android.car.test.utils", |
| 40 | srcs: [ |
| 41 | "src/android/car/test/**/*.java", |
| 42 | ], |
| 43 | libs: [ |
felipeal | 7f73177 | 2020-04-27 14:16:43 -0700 | [diff] [blame] | 44 | "android.hardware.automotive.vehicle-V2.0-java", |
felipeal | 3e8b49d | 2020-04-27 14:16:43 -0700 | [diff] [blame] | 45 | "mockito-target-extended", |
| 46 | ], |
| 47 | } |