summaryrefslogtreecommitdiff
path: root/test-mock/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'test-mock/Android.bp')
-rw-r--r--test-mock/Android.bp16
1 files changed, 16 insertions, 0 deletions
diff --git a/test-mock/Android.bp b/test-mock/Android.bp
index e1d6e01d6d06..43b765d8b783 100644
--- a/test-mock/Android.bp
+++ b/test-mock/Android.bp
@@ -30,3 +30,19 @@ java_sdk_library {
srcs_lib_whitelist_pkgs: ["android"],
compile_dex: true,
}
+
+// Build the android.test.mock_static library
+// ==========================================
+// This is only intended for inclusion in the legacy-android-test.
+// Must not be used elewhere.
+java_library_static {
+ name: "android.test.mock_static",
+
+ java_version: "1.8",
+ srcs: ["src/**/*.java"],
+
+ no_framework_libs: true,
+ libs: [
+ "framework",
+ ],
+}