diff options
author | Tao Bao <tbao@google.com> | 2019-04-30 21:09:36 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-04-30 21:09:36 +0200 |
commit | 865d1df0c902389487a9c7e7d8abd0ea17e8a666 (patch) | |
tree | 420141eae2fc0a69f0bdb77a3299742a8f4e7359 /tests/Android.bp | |
parent | Merge "Consolidate the codes that handle reboot/shutdown." (diff) | |
parent | tests: Merge recovery_component_test into recovery_unit_test. (diff) | |
download | android_bootable_recovery-865d1df0c902389487a9c7e7d8abd0ea17e8a666.tar android_bootable_recovery-865d1df0c902389487a9c7e7d8abd0ea17e8a666.tar.gz android_bootable_recovery-865d1df0c902389487a9c7e7d8abd0ea17e8a666.tar.bz2 android_bootable_recovery-865d1df0c902389487a9c7e7d8abd0ea17e8a666.tar.lz android_bootable_recovery-865d1df0c902389487a9c7e7d8abd0ea17e8a666.tar.xz android_bootable_recovery-865d1df0c902389487a9c7e7d8abd0ea17e8a666.tar.zst android_bootable_recovery-865d1df0c902389487a9c7e7d8abd0ea17e8a666.zip |
Diffstat (limited to 'tests/Android.bp')
-rw-r--r-- | tests/Android.bp | 45 |
1 files changed, 12 insertions, 33 deletions
diff --git a/tests/Android.bp b/tests/Android.bp index 2e5334d9e..ec2124a54 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -79,6 +79,8 @@ librecovery_static_libs = [ "libinstall", "librecovery_ui", "libminui", + "libfusesideload", + "libbootloader_message", "libotautil", "libhealthhalutils", @@ -87,10 +89,8 @@ librecovery_static_libs = [ "android.hardware.health@2.0", "android.hardware.health@1.0", - "libbootloader_message", "libext4_utils", "libfs_mgr", - "libfusesideload", "libhidl-gen-utils", "libhidlbase", "libhidltransport", @@ -107,6 +107,7 @@ cc_test { defaults: [ "recovery_test_defaults", + "libupdater_defaults", ], test_suites: ["device-tests"], @@ -115,16 +116,21 @@ cc_test { "unit/*.cpp", ], - static_libs: libapplypatch_static_libs + [ - "libinstall", + static_libs: libapplypatch_static_libs + librecovery_static_libs + [ "librecovery_ui", "libminui", "libotautil", "libupdater", + "libupdate_verifier", + "libgtest_prod", + "libprotobuf-cpp-lite", ], - data: ["testdata/*"], + data: [ + "testdata/*", + ":res-testdata", + ], } cc_test { @@ -142,33 +148,6 @@ cc_test { ], } -cc_test { - name: "recovery_component_test", - isolated: true, - - defaults: [ - "recovery_test_defaults", - "libupdater_defaults", - ], - - test_suites: ["device-tests"], - - srcs: [ - "component/*.cpp", - ], - - static_libs: libapplypatch_static_libs + librecovery_static_libs + [ - "libupdater", - "libupdate_verifier", - "libprotobuf-cpp-lite", - ], - - data: [ - "testdata/*", - ":res-testdata", - ], -} - cc_test_host { name: "recovery_host_test", isolated: true, @@ -178,7 +157,7 @@ cc_test_host { ], srcs: [ - "component/imgdiff_test.cpp", + "unit/imgdiff_test.cpp", ], static_libs: [ |