Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 895f4f69 authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Do not export private AIDL files of the media module

The current directory contains public and private AIDL types in the same place.
This CL separates into two directories and makes the directory having the
public types should be exported.

Bug: 148660295
Test: build
Change-Id: Ib2632afa00f7fa7f992690e68684464928cd3c61
parent 8694188f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
//
// 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",
    ],
}
Loading