• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Build the platform version of setup wizard library.
3//
4
5android_library {
6    name: "setup-wizard-lib",
7
8    libs: ["androidx.annotation_annotation"],
9    manifest: "main/AndroidManifest.xml",
10    resource_dirs: [
11        "main/res",
12        "platform/res",
13    ],
14    sdk_version: "current",
15    srcs: [
16        "main/src/**/*.java",
17        "platform/src/**/*.java",
18    ],
19    min_sdk_version: "23",
20}
21
22//
23// Build gingerbread-compat library, which uses AppCompat support library to provide backwards
24// compatibility back to SDK v9.
25//
26
27android_library {
28    name: "setup-wizard-lib-gingerbread-compat",
29    manifest: "main/AndroidManifest.xml",
30    resource_dirs: [
31        "main/res",
32        "gingerbread/res",
33        "recyclerview/res",
34    ],
35    sdk_version: "current",
36    srcs: [
37        "main/src/**/*.java",
38        "gingerbread/src/**/*.java",
39        "recyclerview/src/**/*.java",
40    ],
41
42    libs: [
43        "androidx.annotation_annotation",
44        "androidx.core_core",
45        "androidx.legacy_legacy-support-core-ui",
46        "androidx.appcompat_appcompat",
47        "androidx.recyclerview_recyclerview",
48    ],
49
50    min_sdk_version: "14",
51}
52