Make thermal.$TARGET_BOARD_PLATFORM build with the VNDK.

When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.

Test: build thermal.$TARGET_BOARD_PLATFORM with BOARD_VNDK_VERSION=current
Bug: 69574580
Change-Id: Ife9a615c0f6c0222b25a8a8b23a6709b6bf7e358
4 files changed
tree: 30a98dc8a3c28585c768a47c0e0d03ae7c154519
  1. Android.mk
  2. thermal-845.c
  3. thermal-8998.c
  4. thermal-default.c
  5. thermal.c