1// Copyright (C) 2024 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    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_library {
20    name: "DocumentsUIComposelib",
21    manifest: "AndroidManifest.xml",
22
23    resource_dirs: [
24        "res",
25    ],
26    srcs: [
27        "src/**/*.kt",
28    ],
29
30    static_libs: [
31        "androidx.activity_activity-compose",
32        "androidx.appcompat_appcompat",
33        "androidx.compose.foundation_foundation",
34        "androidx.compose.material3_material3",
35        "androidx.compose.material3_material3-window-size-class",
36        "androidx.compose.material_material-icons-extended",
37        "androidx.compose.runtime_runtime",
38        "androidx.compose.ui_ui",
39        "androidx.core_core-ktx",
40        "androidx.hilt_hilt-navigation-compose",
41        "androidx.lifecycle_lifecycle-runtime-compose",
42        "androidx.lifecycle_lifecycle-runtime-ktx",
43        "hilt_android",
44        "modules-utils-build_system",
45    ],
46
47    sdk_version: "system_current",
48    target_sdk_version: "33",
49    min_sdk_version: "29",
50}
51
52android_app {
53    name: "DocumentsUICompose",
54    manifest: "AndroidManifest.xml",
55    static_libs: ["DocumentsUIComposelib"],
56
57    privileged: true,
58    certificate: "platform",
59
60    sdk_version: "system_current",
61    min_sdk_version: "29",
62}
63