tests: Add the missing tests in applypatch_modes_test.cpp.

This file was somehow missed when converting from Android.mk to
Android.bp. This CL addresses the issue by picking up all the .cpp files
in the test source dir.

Test: Run recovery_{unit,component}_test on marlin. Check the reported
      number of tests (94 for unit test and 157 for component test).
Change-Id: I50435b07fcb8602ef7b3f7e7d3a69e10b6a5932d
This commit is contained in:
Tao Bao
2018-08-15 15:18:48 -07:00
parent c8e0292b61
commit 26b645447f

View File

@@ -108,15 +108,7 @@ cc_test {
test_suites: ["device-tests"],
srcs: [
"unit/asn1_decoder_test.cpp",
"unit/applypatch_test.cpp",
"unit/commands_test.cpp",
"unit/dirutil_test.cpp",
"unit/locale_test.cpp",
"unit/rangeset_test.cpp",
"unit/screen_ui_test.cpp",
"unit/sysutil_test.cpp",
"unit/zip_test.cpp",
"unit/*.cpp",
],
static_libs: libapplypatch_static_libs + [
@@ -161,16 +153,7 @@ cc_test {
test_suites: ["device-tests"],
srcs: [
"component/bootloader_message_test.cpp",
"component/edify_test.cpp",
"component/imgdiff_test.cpp",
"component/install_test.cpp",
"component/resources_test.cpp",
"component/sideload_test.cpp",
"component/uncrypt_test.cpp",
"component/updater_test.cpp",
"component/update_verifier_test.cpp",
"component/verifier_test.cpp",
"component/*.cpp",
],
static_libs: libapplypatch_static_libs + librecovery_static_libs + [