summaryrefslogtreecommitdiff
path: root/packages/services
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-08-16 21:17:14 +0900
committerJiyong Park <jiyong@google.com>2019-08-22 20:07:38 +0900
commitb360931bf0f2d011dada18762829c0d0e47c54b6 (patch)
tree4a89eb599970f041d17f6dea842b2313c7d032af /packages/services
parent549b5bb23530edfd4f4d4005acabee7b53bf0cbd (diff)
Use filegroup to simplify Android.bp for frameworks and its friends
Java and AIDL source files under frameworks/base are now modularized using filegroup. Each filegroup has 'path' property set to the base directory of the ssource files. This allows us to not rely on aidl.[local_]include_dirs and srcs_lib_whitelist_dirs to get the base directories. Bug: 70046217 Test: m Change-Id: I0705ddf76b3c628127f65d75e0a8b06c6c250fe2
Diffstat (limited to 'packages/services')
-rw-r--r--packages/services/PacProcessor/Android.bp6
-rw-r--r--packages/services/PacProcessor/src/com/android/net/IProxyService.aidl (renamed from packages/services/PacProcessor/com/android/net/IProxyService.aidl)0
-rw-r--r--packages/services/Proxy/Android.bp6
-rw-r--r--packages/services/Proxy/src/com/android/net/IProxyCallback.aidl (renamed from packages/services/Proxy/com/android/net/IProxyCallback.aidl)0
-rw-r--r--packages/services/Proxy/src/com/android/net/IProxyPortListener.aidl (renamed from packages/services/Proxy/com/android/net/IProxyPortListener.aidl)0
5 files changed, 12 insertions, 0 deletions
diff --git a/packages/services/PacProcessor/Android.bp b/packages/services/PacProcessor/Android.bp
index 93b2d956cf6f..494a8187886d 100644
--- a/packages/services/PacProcessor/Android.bp
+++ b/packages/services/PacProcessor/Android.bp
@@ -21,3 +21,9 @@ android_app {
certificate: "platform",
jni_libs: ["libjni_pacprocessor"],
}
+
+filegroup {
+ name: "PacProcessor-aidl-sources",
+ srcs: ["src/**/*.aidl"],
+ path: "src",
+}
diff --git a/packages/services/PacProcessor/com/android/net/IProxyService.aidl b/packages/services/PacProcessor/src/com/android/net/IProxyService.aidl
index 4e54aba5c3bf..4e54aba5c3bf 100644
--- a/packages/services/PacProcessor/com/android/net/IProxyService.aidl
+++ b/packages/services/PacProcessor/src/com/android/net/IProxyService.aidl
diff --git a/packages/services/Proxy/Android.bp b/packages/services/Proxy/Android.bp
index 87aa7637df8e..d93c9f8d9941 100644
--- a/packages/services/Proxy/Android.bp
+++ b/packages/services/Proxy/Android.bp
@@ -5,3 +5,9 @@ android_app {
certificate: "platform",
privileged: true,
}
+
+filegroup {
+ name: "ProxyHandler-aidl-sources",
+ srcs: ["src/**/*.aidl"],
+ path: "src",
+}
diff --git a/packages/services/Proxy/com/android/net/IProxyCallback.aidl b/packages/services/Proxy/src/com/android/net/IProxyCallback.aidl
index 26b2a3f9da2d..26b2a3f9da2d 100644
--- a/packages/services/Proxy/com/android/net/IProxyCallback.aidl
+++ b/packages/services/Proxy/src/com/android/net/IProxyCallback.aidl
diff --git a/packages/services/Proxy/com/android/net/IProxyPortListener.aidl b/packages/services/Proxy/src/com/android/net/IProxyPortListener.aidl
index fa4caf3dba91..fa4caf3dba91 100644
--- a/packages/services/Proxy/com/android/net/IProxyPortListener.aidl
+++ b/packages/services/Proxy/src/com/android/net/IProxyPortListener.aidl