Re: [PATCHv2] add Android support
Am 19.05.2011 um 19:38 schrieb Jeff King:
Show 5 quoted lines
> I don't know enough about Android development to know how much
> commonality there is between devices and builds. AFAIK, the Android spec
> itself only provides the Java-callable API. So for Unix-y stuff like
> this, I have no idea what is on stock Android versus Cyanogen for
> instance, or even if what is on stock varies from handset to handset.
The common shared libraries (which should only be different among different Android versions - e.g. 2.2 vs. 2.1) are provided together with the toolchain in the Android NDK by Google. And as far as I can see, SSH/dropbear is on cyanogenmod as well as on stock Android (at least it is on the emulator). But there might be distributions from vendors without a SSH client.
> So yeah, we are probably better not even trying to provide a default set
> of flags for Android; we can support specific hacks (like your patches 1
> and 2) but leave it up to individual build environments to enable them
> as appropriate.