Merge "Do not export private AIDL files of the media module" into rvc-dev am: 383371cdc5
Change-Id: Iff271892d0cabb03d7eaccd05bfcbab758598e4f
This commit is contained in:
@@ -339,9 +339,7 @@ java_defaults {
|
||||
"sax/java",
|
||||
"telecomm/java",
|
||||
|
||||
// TODO(b/148660295): remove this
|
||||
"apex/media/framework/java",
|
||||
|
||||
"apex/media/aidl/stable",
|
||||
// TODO(b/147699819): remove this
|
||||
"telephony/java",
|
||||
],
|
||||
|
||||
35
apex/media/aidl/Android.bp
Normal file
35
apex/media/aidl/Android.bp
Normal file
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// Copyright 2020 The Android Open Source Project
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
filegroup {
|
||||
name: "stable-mediasession2-aidl-srcs",
|
||||
srcs: ["stable/**/*.aidl"],
|
||||
path: "stable",
|
||||
}
|
||||
|
||||
filegroup {
|
||||
name: "private-mediasession2-aidl-srcs",
|
||||
srcs: ["private/**/I*.aidl"],
|
||||
path: "private",
|
||||
}
|
||||
|
||||
filegroup {
|
||||
name: "mediasession2-aidl-srcs",
|
||||
srcs: [
|
||||
":private-mediasession2-aidl-srcs",
|
||||
":stable-mediasession2-aidl-srcs",
|
||||
],
|
||||
}
|
||||
@@ -55,17 +55,15 @@ filegroup {
|
||||
name: "updatable-media-srcs",
|
||||
srcs: [
|
||||
":mediaparser-srcs",
|
||||
":mediasession2-srcs",
|
||||
":mediasession2-java-srcs",
|
||||
":mediasession2-aidl-srcs",
|
||||
],
|
||||
}
|
||||
|
||||
filegroup {
|
||||
name: "mediasession2-srcs",
|
||||
name: "mediasession2-java-srcs",
|
||||
srcs: [
|
||||
"java/android/media/Controller2Link.java",
|
||||
"java/android/media/IMediaController2.aidl",
|
||||
"java/android/media/IMediaSession2.aidl",
|
||||
"java/android/media/IMediaSession2Service.aidl",
|
||||
"java/android/media/MediaConstants.java",
|
||||
"java/android/media/MediaController2.java",
|
||||
"java/android/media/MediaSession2.java",
|
||||
@@ -83,7 +81,7 @@ filegroup {
|
||||
srcs: [
|
||||
"java/android/media/MediaParser.java"
|
||||
],
|
||||
path: "java"
|
||||
path: "java",
|
||||
}
|
||||
|
||||
stubs_defaults {
|
||||
|
||||
Reference in New Issue
Block a user