Christopher N. Hesse | e74d3b7 | 2018-02-24 23:33:49 -0800 | [diff] [blame] | 1 | // Copyright 2018 The LineageOS Project |
| 2 | |
| 3 | cc_library { |
| 4 | name: "libveritytool", |
| 5 | srcs: ["verity_tool.cpp"], |
| 6 | local_include_dirs: ["include"], |
| 7 | export_include_dirs: ["include"], |
| 8 | cflags: ["-Werror"], |
| 9 | shared_libs: [ |
| 10 | "libbase", |
| 11 | "libcrypto", |
| 12 | "libcrypto_utils", |
| 13 | "libfec", |
| 14 | ], |
| 15 | static_libs: [ |
| 16 | "libfs_mgr", |
| 17 | ], |
| 18 | whole_static_libs: [ |
| 19 | "libavb_user", |
| 20 | ], |
| 21 | } |
| 22 | |
| 23 | cc_binary { |
| 24 | name: "veritytool", |
| 25 | srcs: ["main.cpp"], |
| 26 | shared_libs: ["libveritytool"], |
| 27 | cflags: ["-Werror"], |
| 28 | } |