• 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        "setupcompat",
40        "setupdesign-strings",
41    ],
42    manifest: "main/AndroidManifest.xml",
43    resource_dirs: [
44        "main/res",
45    ],
46    sdk_version: "current",
47    srcs: [
48        "main/src/**/*.java",
49    ],
50    min_sdk_version: "14",
51    optimize: {
52        proguard_flags_files: ["proguard.flags"],
53    }
54}
55
56//
57// Strings that will not exposing.
58// If app requires these strings, please copy the string definitions directly.
59//
60
61android_library {
62    name: "setupdesign-strings",
63    manifest: "main/AndroidManifest.xml",
64    resource_dirs: [
65        "strings/res",
66    ],
67    min_sdk_version: "14",
68    sdk_version: "current"
69}
70