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