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 | |
Bob Badour | 4da7d22 | 2021-02-22 16:14:07 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
tadvana | b8686ac | 2019-08-06 16:22:41 -0700 | [diff] [blame] | 19 | java_library { |
| 20 | name: "android.car.testapi", |
| 21 | srcs: [ |
felipeal | 3e8b49d | 2020-04-27 14:16:43 -0700 | [diff] [blame] | 22 | "src/android/car/testapi/*.java", |
tadvana | b8686ac | 2019-08-06 16:22:41 -0700 | [diff] [blame] | 23 | ], |
| 24 | product_variables: { |
| 25 | pdk: { |
| 26 | enabled: false, |
| 27 | }, |
| 28 | }, |
| 29 | static_libs: [ |
| 30 | "android.car", |
tadvana | f7746cd | 2019-10-04 16:02:56 -0700 | [diff] [blame] | 31 | "car-service-test-lib", |
tadvana | f1702e9 | 2019-08-08 15:17:28 -0700 | [diff] [blame] | 32 | ], |
| 33 | libs: [ |
tadvana | b8686ac | 2019-08-06 16:22:41 -0700 | [diff] [blame] | 34 | "mockito", |
| 35 | ], |
| 36 | installable: false, |
| 37 | dist: { |
| 38 | targets: ["dist_files"], |
| 39 | } |
| 40 | } |
felipeal | 3e8b49d | 2020-04-27 14:16:43 -0700 | [diff] [blame] | 41 | |
| 42 | java_library { |
| 43 | name: "android.car.test.utils", |
| 44 | srcs: [ |
| 45 | "src/android/car/test/**/*.java", |
| 46 | ], |
| 47 | libs: [ |
felipeal | 7f73177 | 2020-04-27 14:16:43 -0700 | [diff] [blame] | 48 | "android.hardware.automotive.vehicle-V2.0-java", |
felipeal | 3e8b49d | 2020-04-27 14:16:43 -0700 | [diff] [blame] | 49 | "mockito-target-extended", |
Yan Zhu | e0c490e | 2020-05-16 00:23:38 -0700 | [diff] [blame] | 50 | "compatibility-device-util-axt", |
Ashutosh Agarwal | 9743335 | 2021-10-04 18:14:58 +0000 | [diff] [blame^] | 51 | "android.test.mock", |
felipeal | 3e8b49d | 2020-04-27 14:16:43 -0700 | [diff] [blame] | 52 | ], |
| 53 | } |