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
18java_library {
19    name: "LocalMediaPlayer-proto",
20    srcs: ["proto/**/*.proto"],
21    proto: {
22        type: "nano",
23        local_include_dirs: ["proto"],
24    },
25    product_variables: {
26        pdk: {
27            enabled: false,
28        },
29    },
30}
31
32// Actual Package
33
34android_app {
35    name: "LocalMediaPlayer",
36    srcs: ["src/**/*.java"],
37    resource_dirs: ["res"],
38    platform_apis: true,
39    certificate: "platform",
40    privileged: true,
41    static_libs: [
42        "LocalMediaPlayer-proto",
43        "androidx.legacy_legacy-support-v4",
44    ],
45    optimize: {
46        enabled: false,
47    },
48    dex_preopt: {
49        enabled: false,
50    },
51    product_variables: {
52        pdk: {
53            enabled: false,
54        },
55    },
56}
57