1//
2// Copyright (C) 2016 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17// Proto dependencies
18package {
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22java_library {
23    name: "LocalMediaPlayer-proto",
24    srcs: ["proto/**/*.proto"],
25    proto: {
26        type: "nano",
27        local_include_dirs: ["proto"],
28    },
29    product_variables: {
30        pdk: {
31            enabled: false,
32        },
33    },
34}
35
36// Actual Package
37
38android_app {
39    name: "LocalMediaPlayer",
40    srcs: ["src/**/*.java"],
41    resource_dirs: ["res"],
42    platform_apis: true,
43    certificate: "platform",
44    privileged: true,
45    static_libs: [
46        "LocalMediaPlayer-proto",
47        "androidx.legacy_legacy-support-v4",
48    ],
49    optimize: {
50        enabled: false,
51    },
52    dex_preopt: {
53        enabled: false,
54    },
55    product_variables: {
56        pdk: {
57            enabled: false,
58        },
59    },
60}
61