Drop useless check for PRODUCT_BOOT_JARS redefinition.

It is not clear why this check exists; it seems to be unneeded, and
removing it does not break any tests.

PRODUCT_BOOT_JARS is a product variable, and therefore handled in a
special way (unlike ordinary Make variables). It is substituted with
a macro that inherits makefile-specific instances of this variable
and merges them into one. This can be seen by adding debug output
to the device-specific makefile.

For example, add the following to device/generic/car/aosp_car_arm.mk:

  $(warning $(PRODUCT_BOOT_JARS))

The build will generate a warning similar to this:

  device/generic/car/aosp_car_arm.mk:21: warning: @inherit:build/make/target/product/aosp_arm.mk @inherit:device/generic/car/emulator/aosp_car_emulator.mk

Test: lunch aosp_car_arm && m

Change-Id: Ib5e09c6624dbd4db29105c67543a53caa490b818
Merged-In: I061b70b751ca00efa8f215dba8419d2b9e920403
1 file changed
tree: 74a49f3849d0d2421c9a9fcad26e550279930a99
  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. obd2-lib/
  13. procfs-inspector/
  14. service/
  15. tests/
  16. tools/
  17. user/
  18. vehicle-hal-support-lib/
  19. .clang-format
  20. .gitignore
  21. Android.mk
  22. CleanSpec.mk
  23. OWNERS
  24. PREUPLOAD.cfg
  25. 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.