• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Build the setup design library.
3//
4
5package {
6    default_applicable_licenses: ["external_setupdesign_license"],
7}
8
9// Added automatically by a large-scale-change
10//
11// large-scale-change included anything that looked like it might be a license
12// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
13//
14// Please consider removing redundant or irrelevant files from 'license_text:'.
15// See: http://go/android-license-faq
16license {
17    name: "external_setupdesign_license",
18    visibility: [":__subpackages__"],
19    license_kinds: [
20        "SPDX-license-identifier-Apache-2.0",
21    ],
22    license_text: [
23        "LICENSE",
24        "NOTICE",
25    ],
26}
27
28android_library {
29    name: "setupdesign",
30    static_libs: [
31        "androidx.annotation_annotation",
32        "androidx.appcompat_appcompat",
33        "androidx.core_core",
34        "androidx.legacy_legacy-support-core-ui",
35        "androidx.recyclerview_recyclerview",
36        "androidx.window_window",
37        "com.google.android.material_material",
38        "error_prone_annotations",
39        "lottie",
40        "setupcompat",
41        "setupdesign-strings",
42    ],
43    manifest: "main/AndroidManifest.xml",
44    resource_dirs: [
45        "main/res",
46    ],
47    sdk_version: "current",
48    srcs: [
49        "main/src/**/*.java",
50    ],
51    min_sdk_version: "21",
52    optimize: {
53        proguard_flags_files: ["proguard.flags"],
54    },
55    lint: {
56        baseline_filename: "lint-baseline.xml",
57    },
58    apex_available: [
59        "//apex_available:platform",
60        "com.android.healthfitness",
61    ],
62}
63
64//
65// Strings that will not exposing.
66// If app requires these strings, please copy the string definitions directly.
67//
68
69android_library {
70    name: "setupdesign-strings",
71    manifest: "strings/AndroidManifest.xml",
72    resource_dirs: [
73        "strings/res",
74    ],
75    min_sdk_version: "19",
76    sdk_version: "current",
77    apex_available: [
78        "//apex_available:platform",
79        "com.android.healthfitness",
80    ],
81}
82