Android.bp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. android_app {
  2. name: "OpenEUICC",
  3. static_libs: [
  4. // Dependencies that must be pulled from maven,
  5. "zxing-core-prebuilt-jar",
  6. "zxing-android-embedded-prebuilt-aar",
  7. // Dependencies included with AOSP
  8. "androidx.appcompat_appcompat",
  9. "androidx.cardview_cardview",
  10. "androidx-constraintlayout_constraintlayout",
  11. "androidx.core_core-ktx",
  12. "androidx.lifecycle_lifecycle-runtime-ktx",
  13. "androidx.swiperefreshlayout_swiperefreshlayout",
  14. "com.google.android.material_material",
  15. "gson",
  16. "kotlinx_coroutines",
  17. ],
  18. jni_libs: [
  19. "liblpac-jni",
  20. ],
  21. srcs: [
  22. // Main app
  23. "app/src/main/**/*.kt",
  24. // lpac-jni interface
  25. "libs/lpac-jni/src/main/**/*.kt",
  26. ],
  27. optimize: {
  28. enabled: false,
  29. },
  30. resource_dirs: [
  31. "app/src/main/res",
  32. ],
  33. required: ["privapp_whitelist_im.angry.openeuicc.xml"],
  34. manifest: "app/src/main/AndroidManifest.xml",
  35. privileged: true,
  36. platform_apis: true,
  37. system_ext_specific: true,
  38. certificate: "platform",
  39. }
  40. prebuilt_etc {
  41. name: "privapp_whitelist_im.angry.openeuicc.xml",
  42. system_ext_specific: true,
  43. src: "privapp_whitelist_im.angry.openeuicc.xml",
  44. sub_dir: "permissions",
  45. }