• 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.core_core",
33        "androidx.legacy_legacy-support-core-ui",
34        "androidx.appcompat_appcompat",
35        "androidx.recyclerview_recyclerview",
36        "com.google.android.material_material",
37        "error_prone_annotations",
38        "setupcompat",
39        "setupdesign-strings",
40    ],
41    manifest: "main/AndroidManifest.xml",
42    resource_dirs: [
43        "main/res",
44    ],
45    sdk_version: "current",
46    srcs: [
47        "main/src/**/*.java",
48    ],
49    min_sdk_version: "14",
50}
51
52//
53// Strings that will not exposing.
54// If app requires these strings, please copy the string definitions directly.
55//
56
57android_library {
58    name: "setupdesign-strings",
59    manifest: "main/AndroidManifest.xml",
60    resource_dirs: [
61        "strings/res",
62    ],
63    min_sdk_version: "14",
64    sdk_version: "current"
65}
66