Jeff Sharkey | c493cf9 | 2017-10-23 10:39:50 -0600 | [diff] [blame] | 1 | // Unit test for AuthTokenTable |
Janis Danisevskis | 8f737ad | 2017-11-21 12:30:15 -0800 | [diff] [blame] | 2 | |
Bob Badour | 4c7858c | 2021-02-12 15:40:29 -0800 | [diff] [blame] | 3 | package { |
| 4 | // See: http://go/android-license-faq |
| 5 | // A large-scale-change added 'default_applicable_licenses' to import |
| 6 | // all of the 'license_kinds' from "system_security_license" |
| 7 | // to get the below license kinds: |
| 8 | // SPDX-license-identifier-Apache-2.0 |
| 9 | default_applicable_licenses: ["system_security_license"], |
| 10 | } |
| 11 | |
Jeff Sharkey | c493cf9 | 2017-10-23 10:39:50 -0600 | [diff] [blame] | 12 | cc_test { |
| 13 | cflags: [ |
| 14 | "-Wall", |
| 15 | "-Werror", |
| 16 | "-Wextra", |
Shawn Willden | bb22a6c | 2017-12-06 19:35:28 -0700 | [diff] [blame] | 17 | "-O0", |
Jeff Sharkey | c493cf9 | 2017-10-23 10:39:50 -0600 | [diff] [blame] | 18 | ], |
Janis Danisevskis | 9a390a7 | 2017-11-29 12:02:07 -0800 | [diff] [blame] | 19 | srcs: [ |
Eran Messeri | 03fc4c8 | 2018-08-16 18:53:15 +0100 | [diff] [blame] | 20 | "aaid_truncation_test.cpp", |
David Zeuthen | 59102f3 | 2020-05-08 10:58:09 -0400 | [diff] [blame] | 21 | "verification_token_seralization_test.cpp", |
Janis Danisevskis | 9a390a7 | 2017-11-29 12:02:07 -0800 | [diff] [blame] | 22 | "gtest_main.cpp", |
| 23 | ], |
Jeff Sharkey | c493cf9 | 2017-10-23 10:39:50 -0600 | [diff] [blame] | 24 | name: "keystore_unit_tests", |
Jeff Sharkey | c493cf9 | 2017-10-23 10:39:50 -0600 | [diff] [blame] | 25 | static_libs: [ |
Janis Danisevskis | 064ce85 | 2018-03-12 16:49:16 -0700 | [diff] [blame] | 26 | "android.hardware.confirmationui@1.0", |
Shawn Willden | bb22a6c | 2017-12-06 19:35:28 -0700 | [diff] [blame] | 27 | "libbase", |
Colin Cross | aebf663 | 2019-09-18 11:12:36 -0700 | [diff] [blame] | 28 | "libcrypto_static", |
Eran Messeri | 03fc4c8 | 2018-08-16 18:53:15 +0100 | [diff] [blame] | 29 | "libcutils", |
Jeff Sharkey | c493cf9 | 2017-10-23 10:39:50 -0600 | [diff] [blame] | 30 | "libgtest_main", |
Shawn Willden | bb22a6c | 2017-12-06 19:35:28 -0700 | [diff] [blame] | 31 | "libhidlbase", |
| 32 | "libkeymaster4support", |
Shawn Willden | a97aea4 | 2020-01-16 13:27:49 -0700 | [diff] [blame] | 33 | "libkeymaster4_1support", |
Jeff Sharkey | c493cf9 | 2017-10-23 10:39:50 -0600 | [diff] [blame] | 34 | "liblog", |
Eran Messeri | 03fc4c8 | 2018-08-16 18:53:15 +0100 | [diff] [blame] | 35 | "libutils", |
Jeff Sharkey | c493cf9 | 2017-10-23 10:39:50 -0600 | [diff] [blame] | 36 | ], |
Eran Messeri | 03fc4c8 | 2018-08-16 18:53:15 +0100 | [diff] [blame] | 37 | shared_libs: [ |
| 38 | "libbinder", |
| 39 | "libkeymaster_messages", |
David Zeuthen | f2a2867 | 2020-01-30 16:20:07 -0500 | [diff] [blame] | 40 | "libkeystore-attestation-application-id", |
Peter Collingbourne | eeacea5 | 2019-12-17 20:19:47 -0800 | [diff] [blame] | 41 | "libvndksupport", |
Eran Messeri | 03fc4c8 | 2018-08-16 18:53:15 +0100 | [diff] [blame] | 42 | ], |
Vishwath Mohan | ab65cd0 | 2018-01-05 13:35:03 -0800 | [diff] [blame] | 43 | sanitize: { |
| 44 | cfi: false, |
| 45 | } |
Jeff Sharkey | c493cf9 | 2017-10-23 10:39:50 -0600 | [diff] [blame] | 46 | } |
Janis Danisevskis | 5c6af75 | 2019-03-21 13:45:02 -0700 | [diff] [blame] | 47 | |
| 48 | cc_test { |
| 49 | cflags: [ |
| 50 | "-Wall", |
| 51 | "-Werror", |
| 52 | "-Wextra", |
| 53 | "-O0", |
| 54 | ], |
| 55 | srcs: [ |
| 56 | "confirmationui_invocation_test.cpp", |
| 57 | "gtest_main.cpp", |
| 58 | ], |
| 59 | name: "confirmationui_invocation_test", |
| 60 | static_libs: [ |
Janis Danisevskis | 5c6af75 | 2019-03-21 13:45:02 -0700 | [diff] [blame] | 61 | "libbase", |
| 62 | "libgtest_main", |
| 63 | "libutils", |
| 64 | "liblog", |
Jiyong Park | 0d61dd6 | 2021-07-27 12:20:26 +0900 | [diff] [blame] | 65 | "android.security.apc-ndk", |
Janis Danisevskis | 5c6af75 | 2019-03-21 13:45:02 -0700 | [diff] [blame] | 66 | ], |
| 67 | shared_libs: [ |
Janis Danisevskis | 2437fde | 2021-03-08 11:30:11 -0800 | [diff] [blame] | 68 | "libbinder_ndk", |
Janis Danisevskis | 5c6af75 | 2019-03-21 13:45:02 -0700 | [diff] [blame] | 69 | ], |
| 70 | sanitize: { |
| 71 | cfi: false, |
| 72 | } |
| 73 | } |