summaryrefslogtreecommitdiff
path: root/startop
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-11-17 13:11:19 +0900
committerJiyong Park <jiyong@google.com>2019-12-11 15:55:33 +0900
commite86e89acff7138de8eb45a691213e80134bd8e9f (patch)
tree7b6e4a0b564940d681d2b404856a71931667bae3 /startop
parentb24e34c19b02dc82e4b38b4129d49f1b440d1345 (diff)
downloadbase-e86e89acff7138de8eb45a691213e80134bd8e9f.tar.gz
Add filegroups for services.* libraries
... in preparation for creating a stub library from services.jar Bug: 139391334 Test: m Exempt-From-Owner-Approval: cherry-pick from internal Merged-In: Ifd6cfc77acf2284804a2f64011c2733b5c222369 (cherry picked from commit bae2e907966dce0cb3eaf3e3a81cca4364b7d941) Change-Id: Ifd6cfc77acf2284804a2f64011c2733b5c222369
Diffstat (limited to 'startop')
-rw-r--r--startop/iorap/Android.bp29
1 files changed, 17 insertions, 12 deletions
diff --git a/startop/iorap/Android.bp b/startop/iorap/Android.bp
index 59a80fbae792..993d1e1092b9 100644
--- a/startop/iorap/Android.bp
+++ b/startop/iorap/Android.bp
@@ -12,19 +12,24 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-java_library_static {
- name: "services.startop.iorap",
-
- aidl: {
- include_dirs: [
- "system/iorap/binder",
- ],
- },
-
- libs: ["services.core"],
+filegroup {
+ name: "services.startop.iorap-javasources",
+ srcs: ["src/**/*.java"],
+ path: "src",
+ visibility: ["//visibility:private"],
+}
+filegroup {
+ name: "services.startop.iorap-sources",
srcs: [
- ":iorap-aidl",
- "**/*.java",
+ ":services.startop.iorap-javasources",
+ ":iorap-aidl",
],
+ visibility: ["//frameworks/base/services:__subpackages__"],
+}
+
+java_library_static {
+ name: "services.startop.iorap",
+ srcs: [":services.startop.iorap-sources"],
+ libs: ["services.core"],
}