Android.bp 1.1 KB

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