1// 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
15package {
16    // See: http://go/android-license-faq
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20java_sdk_library {
21    name: "framework-pdf-v",
22    defaults: ["framework-module-defaults"],
23    srcs: [
24        ":framework-pdf-v-updatable-sources",
25    ],
26    libs: [
27        "androidx.annotation_annotation",
28        "app-compat-annotations",
29        "error_prone_annotations",
30        "modules-utils-preconditions",
31        "unsupportedappusage",
32        "pdf_viewer_flags_java_lib",
33    ],
34    stub_only_libs: [
35        "framework-pdf",
36    ],
37    impl_only_libs: [
38        "framework-pdf.impl",
39    ],
40    permitted_packages: [
41        "android.graphics.pdf",
42    ],
43    apex_available: [
44        "com.android.mediaprovider",
45    ],
46    aconfig_declarations: [
47        "pdf_viewer_flags",
48    ],
49    impl_library_visibility: [
50        "//packages/providers/MediaProvider:__subpackages__",
51        "//cts/tests/pdf:__subpackages__",
52    ],
53    min_sdk_version: "35",
54    jarjar_rules: "jarjar-rules-v.txt",
55}
56
57filegroup {
58    name: "framework-pdf-v-updatable-sources",
59    defaults: ["framework-sources-module-defaults"],
60    srcs: [
61        "java/**/*.java",
62    ],
63    path: "java",
64}
65
66platform_compat_config {
67    name: "framework-pdf-v-platform-compat-config",
68    src: ":framework-pdf-v",
69}
70