1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_base_license"],
8}
9
10android_library {
11    name: "SettingsLibActivityEmbedding",
12    use_resource_processor: true,
13    defaults: [
14        "SettingsLintDefaults",
15    ],
16
17    srcs: ["src/**/*.java"],
18
19    static_libs: [
20        "androidx.annotation_annotation",
21        "androidx.core_core",
22        "androidx.window_window",
23        "SettingsLibUtils",
24    ],
25    sdk_version: "system_current",
26    min_sdk_version: "21",
27    // TODO(b/228508619) Remove the optional uses after fixing upstream
28    optional_uses_libs: [
29        "org.apache.http.legacy",
30        "androidx.window.extensions",
31        "androidx.window.sidecar",
32    ],
33
34    apex_available: [
35        "//apex_available:platform",
36        "com.android.permission",
37        "com.android.healthfitness",
38    ],
39}
40