util: Add property_get() fallback for android
Environment variables aren't the easiest thing to use on android. So add a fallback to android's property mechanism for os_get_option(). This is slightly complicated by the fact that the assumption that the return value of os_get_option() need not be freed. Signed-off-by:Rob Clark <robdclark@chromium.org> Reviewed-by:
Eric Anholt <eric@anholt.net> Part-of: <mesa/mesa!7763>
Loading
Please register or sign in to comment