Export Wifi Parcelables AIDLs from framework.jar
Add Wifi public/@SystemApi Parcelable AIDLs to framework.jar AIDL exports so that they can be referenced outside the Wifi module. Create a new folder "aidl-export" to separate the AIDLs we want to export to allow external callers to reference in their AIDL. Private AIDLs remain in the "java" folder. Bug: 140299412 Test: compiles Change-Id: I4e0dc1119bf2b49865c9b5cdf23c571528228902
This commit is contained in:
@@ -318,6 +318,7 @@ java_defaults {
|
||||
"rs/java",
|
||||
"sax/java",
|
||||
"telecomm/java",
|
||||
"wifi/aidl-export",
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
@@ -12,9 +12,15 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
filegroup {
|
||||
name: "framework-wifi-updatable-exported-aidl-sources",
|
||||
srcs: ["aidl-export/**/*.aidl"],
|
||||
path: "aidl-export",
|
||||
visibility: ["//visibility:private"],
|
||||
}
|
||||
|
||||
filegroup {
|
||||
name: "framework-wifi-updatable-sources",
|
||||
name: "framework-wifi-updatable-java-sources",
|
||||
srcs: [
|
||||
"java/**/*.java",
|
||||
"java/**/*.aidl",
|
||||
@@ -23,6 +29,15 @@ filegroup {
|
||||
":framework-wifi-non-updatable-sources"
|
||||
],
|
||||
path: "java",
|
||||
visibility: ["//visibility:private"],
|
||||
}
|
||||
|
||||
filegroup {
|
||||
name: "framework-wifi-updatable-sources",
|
||||
srcs: [
|
||||
":framework-wifi-updatable-java-sources",
|
||||
":framework-wifi-updatable-exported-aidl-sources",
|
||||
],
|
||||
}
|
||||
|
||||
filegroup {
|
||||
|
||||
Reference in New Issue
Block a user