Moves AndroidUtils functionality into def_library.