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.bp8
1 files changed, 7 insertions, 1 deletions
diff --git a/test-mock/Android.bp b/test-mock/Android.bp
index b83bce654a85..107292c81ab4 100644
--- a/test-mock/Android.bp
+++ b/test-mock/Android.bp
@@ -29,7 +29,7 @@ java_sdk_library {
name: "android.test.mock",
srcs: [
- "src/**/*.java",
+ ":android-test-mock-sources",
// Note: Below are NOT APIs of this library. We only take APIs under
// the android.test.mock package. They however provide private APIs that
// android.test.mock APIs references to.
@@ -61,3 +61,9 @@ filegroup {
"api/current.txt",
],
}
+
+filegroup {
+ name: "android-test-mock-sources",
+ srcs: ["src/**/*.java"],
+ path: "src",
+}