Kenny Root bb9d394b21 Clean up use of HAVE_ANDROID_OS
HAVE_ANDROID_OS was defined as "1" for targets, but never defined as "0"
for non-targets. Changing them to #ifdef should be safe and matches
all the other uses of HAVE_ANDROID_OS throughout the system.

Change-Id: I82257325a8ae5e4e4371ddfc4dbf51cea8ea0abb
2011-02-16 10:56:32 -08:00
..
2010-11-12 15:53:40 -08:00
2010-12-08 11:21:30 -08:00
2010-12-08 11:21:30 -08:00
2010-12-08 11:21:30 -08:00
2010-12-08 11:21:30 -08:00
2011-02-16 10:56:32 -08:00
2010-12-08 11:21:30 -08:00
2010-12-08 11:21:30 -08:00

Android Utility Function Library

If you need a feature that is native to Linux but not present on other
platforms, construct a platform-dependent implementation that shares
the Linux interface.  That way the actual device runs as "light" as
possible.

If that isn't feasible, create a system-independent interface and hide
the details.

The ultimate goal is *not* to create a super-duper platform abstraction
layer.  The goal is to provide an optimized solution for Linux with
reasonable implementations for other platforms.