diff options
author | Jiyong Park <jiyong@google.com> | 2017-08-29 14:20:59 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2017-09-01 09:54:16 +0900 |
commit | 9a4b17e3e1ecb0dc0cd515d7445b7f200fc4b11b (patch) | |
tree | 41df0444b007444a5ec328f0cb4a2ca6d008c8ce /CleanSpec.mk | |
parent | df5dd34d6526e4c8253890b7bdcc5c230b07b866 (diff) | |
download | android_hardware_interfaces-9a4b17e3e1ecb0dc0cd515d7445b7f200fc4b11b.tar.gz android_hardware_interfaces-9a4b17e3e1ecb0dc0cd515d7445b7f200fc4b11b.tar.bz2 android_hardware_interfaces-9a4b17e3e1ecb0dc0cd515d7445b7f200fc4b11b.zip |
HAL interface libs for testing are now built as test lib
The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.
Build them as cc_test_library so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.
Bug: 64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices
Change-Id: I5314db6cc08a43bccfc4521d4b80b614a91e7e48
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r-- | CleanSpec.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk index 5b31d1ea5..dd4cee026 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -61,3 +61,5 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/android.hardware.auto $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/android.hardware.automotive*) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/init/android.hardware.automotive*) $(call add-clean-step, find $(PRODUCT_OUT)/system $(PRODUCT_OUT)/vendor -type f -name "android\.hardware\.configstore\@1\.1*" -print0 | xargs -0 rm -f) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/android.hardware.tests*) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/vndk/android.hardware.tests*) |