Changed android.car.testapi build back to using soong

The build file for building android.car.testapi was changed from using
soong to make. This was because testapi required a dependency that was
built with make. This dependency has since been converted to use soong,
so the testapi can use soong to build as well. There was also a
regression introduced in the original conversion from soong to make,
which caused it to not be copied to dist in dist builds, and this change
addresses that as well.

Test: Verify android.car.testapi.jar is in dist artifacts for the
hawk-userdebug target on master.

Change-Id: I1bb9533585230d3251a91823c95cf8ac49acc742
2 files changed
tree: 963043e086319605e036a69e005f08c5fadb2d3c
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-lib/
  4. car-maps-placeholder/
  5. car-systemtest-lib/
  6. car-test-lib/
  7. car-usb-handler/
  8. car_product/
  9. EncryptionRunner/
  10. evs/
  11. FrameworkPackageStubs/
  12. media-router/
  13. obd2-lib/
  14. procfs-inspector/
  15. service/
  16. tests/
  17. tools/
  18. user/
  19. vehicle-hal-support-lib/
  20. .clang-format
  21. .gitignore
  22. Android.mk
  23. CleanSpec.mk
  24. OWNERS
  25. PREUPLOAD.cfg
  26. README.md
README.md

Native (C++) code format is required to be compatible with .clang-format file. Run

git clang-format --style=file --extension='h,cpp,cc' HEAD~

Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.