Fix build error on pre O-MR1 devices

libarect is available from O
libui_headers is available from O-MR1
Guard them properly.

Bug: 64704866
Test: Built aosp_x86 with "BOARD_VNDK_VERSION := current" and
      "BOARD_VNDK_RUNTIME_DISABLE := true". Booted on x86 emulator

Change-Id: Ic0aa2dbba5611d8a8fb1cb9ea0d8a66ad26c4794
1 file changed
tree: 0522aae9fb1c25669576ab6e9174b7c2268efc17
  1. host/
  2. shared/
  3. system/
  4. tests/
  5. Android.mk
  6. common.mk
  7. README