aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2017-04-26 16:30:56 -0500
committerTao Bao2017-04-27 10:57:23 -0500
commit83b0780dddcaddd661ac48f277f51f7cb6ac13f6 (patch)
treecfcb4c8dce34bf4bfefe0f45b359f739f12bfdba /update_verifier/update_verifier_main.cpp
parentd5ae4253c15f727dbe06316cfeaa5feb6193513d (diff)
downloadplatform-bootable-recovery-83b0780dddcaddd661ac48f277f51f7cb6ac13f6.tar.gz
platform-bootable-recovery-83b0780dddcaddd661ac48f277f51f7cb6ac13f6.tar.xz
platform-bootable-recovery-83b0780dddcaddd661ac48f277f51f7cb6ac13f6.zip
Separate libupdate_verifier module and add testcases.
Enable -Wall and expose verify_image() for testing purpose. Test: mmma bootable/recovery Test: recovery_component_test Change-Id: I1ee1db2a775bafdc1112e25a1bc7194d8d6aee4f
Diffstat (limited to 'update_verifier/update_verifier_main.cpp')
-rw-r--r--update_verifier/update_verifier_main.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/update_verifier/update_verifier_main.cpp b/update_verifier/update_verifier_main.cpp
new file mode 100644
index 00000000..46e8bbb5
--- /dev/null
+++ b/update_verifier/update_verifier_main.cpp
@@ -0,0 +1,23 @@
1/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17// See the comments in update_verifier.cpp.
18
19#include "update_verifier/update_verifier.h"
20
21int main(int argc, char** argv) {
22 return update_verifier(argc, argv);
23}