Skip to content

Commit

Permalink
Merge "Do not export private AIDL files of the media module" into rvc…
Browse files Browse the repository at this point in the history
…-dev am: 383371c

Change-Id: Iff271892d0cabb03d7eaccd05bfcbab758598e4f
  • Loading branch information
Sungsoo Lim authored and android-build-merge-worker-robot committed Apr 10, 2020
2 parents f8f9596 + 383371c commit d2f9db5
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 9 deletions.
4 changes: 1 addition & 3 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand Down
35 changes: 35 additions & 0 deletions apex/media/aidl/Android.bp
Original file line number Diff line number Diff line change
@@ -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",
],
}
10 changes: 4 additions & 6 deletions apex/media/framework/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -83,7 +81,7 @@ filegroup {
srcs: [
"java/android/media/MediaParser.java"
],
path: "java"
path: "java",
}

stubs_defaults {
Expand Down

0 comments on commit d2f9db5

Please sign in to comment.