[starnix] Allow compilation of libbinder in Fuchsia

This ensure that getMinSchedulerPolicy and getMinSchedulerPriority are
only called on Linux as they are only defined here.

This replaces some __ANDROID__ ifdef by BINDER_WITH_KERNEL_IPC.

Change-Id: I632d4e4a14646ce713df49c7dfaa35f31e759589
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/android.googlesource.com/platform/frameworks/native/+/765003
Reviewed-by: Kevin Lindkvist <lindkvist@google.com>
4 files changed
tree: 7f6e12d1bfd2451b215fdad7db389bae9e32fe21
  1. libs/