Android.bp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. java_library {
  2. name: "net.typeblog.lpac_jni",
  3. srcs: [
  4. "libs/lpac-jni/src/main/**/*.kt",
  5. ],
  6. optimize: {
  7. enabled: false,
  8. },
  9. static_libs: [
  10. "kotlinx_coroutines",
  11. ],
  12. system_ext_specific: true,
  13. }
  14. android_library {
  15. name: "OpenEUICC-common",
  16. defaults: [
  17. "OpenEUICC-deps-defaults",
  18. ],
  19. static_libs: [
  20. "net.typeblog.lpac_jni",
  21. "kotlinx_coroutines",
  22. ],
  23. srcs: [
  24. "app-common/src/main/**/*.kt",
  25. ],
  26. optimize: {
  27. enabled: false,
  28. },
  29. resource_dirs: [
  30. "app-common/src/main/res",
  31. ],
  32. kotlincflags: [
  33. "-opt-in=kotlin.ExperimentalStdlibApi",
  34. ],
  35. manifest: "app-common/src/main/AndroidManifest.xml",
  36. system_ext_specific: true,
  37. }
  38. android_app {
  39. name: "OpenEUICC",
  40. static_libs: [
  41. "OpenEUICC-common",
  42. ],
  43. jni_libs: [
  44. "liblpac-jni",
  45. ],
  46. srcs: [
  47. "app/src/main/**/*.kt",
  48. ],
  49. optimize: {
  50. enabled: false,
  51. },
  52. resource_dirs: [
  53. "app/src/main/res",
  54. ],
  55. required: ["privapp_whitelist_im.angry.openeuicc.xml"],
  56. manifest: "app/src/main/AndroidManifest.xml",
  57. privileged: true,
  58. platform_apis: true,
  59. system_ext_specific: true,
  60. certificate: "platform",
  61. }
  62. prebuilt_etc {
  63. name: "privapp_whitelist_im.angry.openeuicc.xml",
  64. system_ext_specific: true,
  65. src: "privapp_whitelist_im.angry.openeuicc.xml",
  66. sub_dir: "permissions",
  67. }