summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-mock/Android.bp14
1 files changed, 14 insertions, 0 deletions
diff --git a/test-mock/Android.bp b/test-mock/Android.bp
index 9b709705f00a..51fa86bacc75 100644
--- a/test-mock/Android.bp
+++ b/test-mock/Android.bp
@@ -84,10 +84,24 @@ java_library_static {
name: "android.test.mock.stubs",
srcs: [":android.test.mock.docs"],
sdk_version: "current",
+ product_variables: {
+ unbundled_build: {
+ // Unbundled apps will use the prebuilt one
+ // prebuilts/sdk/current
+ enabled: false,
+ },
+ },
}
java_library_static {
name: "android.test.mock.stubs-system",
srcs: [":android.test.mock.docs-system"],
sdk_version: "system_current",
+ product_variables: {
+ unbundled_build: {
+ // Unbundled apps will use the prebuilt one
+ // prebuilts/sdk/system_current
+ enabled: false,
+ },
+ },
}