Inseob Kim | 06134cc | 2022-07-08 18:13:37 +0900 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | java_library_static { |
Alice Wang | bc039c0 | 2022-09-01 11:06:51 +0000 | [diff] [blame] | 6 | name: "MicrodroidTestHelper", |
| 7 | srcs: ["src/java/com/android/microdroid/test/common/*.java"], |
| 8 | host_supported: true, |
Alice Wang | 1219613 | 2022-11-17 14:55:57 +0000 | [diff] [blame] | 9 | libs: [ |
| 10 | "framework-annotations-lib", |
| 11 | ], |
Alice Wang | bc039c0 | 2022-09-01 11:06:51 +0000 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | java_library_static { |
Alice Wang | 7e0843d | 2022-09-01 11:30:21 +0000 | [diff] [blame] | 15 | name: "MicrodroidDeviceTestHelper", |
Alice Wang | 9e9c551 | 2022-09-02 11:17:08 +0000 | [diff] [blame] | 16 | srcs: ["src/java/com/android/microdroid/test/device/*.java"], |
Inseob Kim | 06134cc | 2022-07-08 18:13:37 +0900 | [diff] [blame] | 17 | static_libs: [ |
| 18 | "androidx.test.runner", |
| 19 | "androidx.test.ext.junit", |
David Brazdil | cab9d1b | 2022-09-26 10:43:45 +0100 | [diff] [blame] | 20 | "MicrodroidTestHelper", |
Inseob Kim | 06134cc | 2022-07-08 18:13:37 +0900 | [diff] [blame] | 21 | "truth-prebuilt", |
| 22 | ], |
Nikita Ioffe | 0ef4938 | 2022-11-18 14:28:08 +0000 | [diff] [blame] | 23 | // We need to compile against the .impl library which includes the hidden |
| 24 | // APIs. Once the APIs are promoted to @SystemApi we can switch to |
| 25 | // framework-virtualization, which contains API stubs. |
| 26 | libs: ["framework-virtualization.impl"], |
Inseob Kim | 06134cc | 2022-07-08 18:13:37 +0900 | [diff] [blame] | 27 | } |