Android.bp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // Unit test for AuthTokenTable
  2. cc_test {
  3. cflags: [
  4. "-Wall",
  5. "-Werror",
  6. "-Wextra",
  7. "-O0",
  8. ],
  9. srcs: [
  10. "aaid_truncation_test.cpp",
  11. "auth_token_table_test.cpp",
  12. "auth_token_formatting_test.cpp",
  13. "blob_test.cpp",
  14. "confirmationui_rate_limiting_test.cpp",
  15. "gtest_main.cpp",
  16. ],
  17. name: "keystore_unit_tests",
  18. static_libs: [
  19. "[email protected]",
  20. "libbase",
  21. "libcrypto",
  22. "libcutils",
  23. "libgtest_main",
  24. "libhidlbase",
  25. "libkeymaster4support",
  26. "libkeystore_test",
  27. "liblog",
  28. "libutils",
  29. "libvndksupport",
  30. ],
  31. shared_libs: [
  32. "libbinder",
  33. "libkeymaster_messages",
  34. ],
  35. sanitize: {
  36. cfi: false,
  37. }
  38. }
  39. cc_test {
  40. cflags: [
  41. "-Wall",
  42. "-Werror",
  43. "-Wextra",
  44. "-O0",
  45. ],
  46. srcs: [
  47. "confirmationui_invocation_test.cpp",
  48. "gtest_main.cpp",
  49. ],
  50. name: "confirmationui_invocation_test",
  51. static_libs: [
  52. "[email protected]",
  53. "libbase",
  54. "libgtest_main",
  55. "libutils",
  56. "liblog",
  57. ],
  58. shared_libs: [
  59. "libbinder",
  60. "libkeystore_aidl", // for IKeyStoreService.asInterface()
  61. "libkeystore_binder",
  62. "libkeystore_parcelables",
  63. ],
  64. sanitize: {
  65. cfi: false,
  66. }
  67. }