blob: be2c55da112f279673b699a4773ac9b5f0ef6fd3 [file] [log] [blame]
Jeff Sharkey5ea5c282019-12-18 14:06:28 -07001// Copyright (C) 2019 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15java_library {
16 name: "framework-mediaprovider",
17
18 srcs: [
19 ":framework-mediaprovider-sources",
20 ],
21
22 permitted_packages: [
23 "android.provider",
24 ],
25
26 installable: true,
27
28 sdk_version: "core_platform",
29 libs: [
30 // The order matters. android_system_* library should come later.
31 "framework_mediaprovider_annotation",
32 "android_system_stubs_current",
33 ],
34
35 plugins: ["java_api_finder"],
36}
37
38filegroup {
39 name: "framework-mediaprovider-sources",
40 srcs: [
41 "java/**/*.java",
42 ],
43 path: "java",
44}
45
46droidstubs {
47 name: "framework-mediaprovider-stubs",
48 srcs: [
49 ":framework-mediaprovider-sources",
50 ":framework-mediaprovider-annotation-sources",
51 ],
52 defaults: [ "framework-module-stubs-defaults-systemapi" ],
53 sdk_version: "system_current",
54}
55
56java_library {
57 name: "framework_mediaprovider_stubs",
58 srcs: [":framework-mediaprovider-stubs"],
59 sdk_version: "system_current",
60}
61
62java_library {
63 name: "framework_mediaprovider_annotation",
64 srcs: [":framework-mediaprovider-annotation-sources"],
65 installable: false,
66}