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}
30
31// Actual Package
32
33android_app {
34    name: "LocalMediaPlayer",
35    srcs: ["src/**/*.java"],
36    resource_dirs: ["res"],
37    platform_apis: true,
38    certificate: "platform",
39    privileged: true,
40    min_sdk_version: "26",
41    target_sdk_version: "current",
42    static_libs: [
43        "LocalMediaPlayer-proto",
44        "androidx.legacy_legacy-support-v4",
45    ],
46    optimize: {
47        enabled: false,
48    },
49    dex_preopt: {
50        enabled: false,
51    },
52}
53