From 446b64b65979958e129e0b4504de400246b8fd2f Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Wed, 19 Sep 2018 15:45:28 -0700 Subject: Refactor update_verifier into a class The refactor separates out the parsing of care_map and the actual verification of the partitions. Moreover, it skips the verification in case of a format error in the care map. Also, the parsing of care_map now uses the suffix of the file to tell if it has the protobuf format or the plain text format. Bug: 115740187 Test: unit test pass Change-Id: I7aa32004db02af1deb7bfdc6f5bd7921eb7883e5 --- update_verifier/Android.bp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'update_verifier/Android.bp') diff --git a/update_verifier/Android.bp b/update_verifier/Android.bp index 7a860a149..1b84619af 100644 --- a/update_verifier/Android.bp +++ b/update_verifier/Android.bp @@ -15,9 +15,8 @@ cc_defaults { name: "update_verifier_defaults", - cflags: [ - "-Wall", - "-Werror", + defaults: [ + "recovery_defaults", ], local_include_dirs: [ -- cgit v1.2.3