summaryrefslogtreecommitdiff
path: root/test-mock/Android.bp
diff options
context:
space:
mode:
authorJakub Gielzak <jgielzak@google.com>2019-02-18 18:24:17 +0000
committerJakub Gielzak <jgielzak@google.com>2019-02-18 18:24:17 +0000
commit7d7af10dc9057a49c617c7c97c174e8b4ec5008c (patch)
treeae7066b1b8e2cbee81cc863f86600cf42e205433 /test-mock/Android.bp
parent3b0be60307cc6063795f8cd32356745ee371e757 (diff)
Revert "Remove legacy-test and legacy-android-test targets"
This reverts commit 3b0be60307cc6063795f8cd32356745ee371e757. Reason for revert: Broken build Change-Id: I71270c7b47163ab7147029f2d3961d1848fdd9eb
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",
+ ],
+}