Well, I’m using Linux, and I created symbolic links to all my libraries (including SDL) in my jni/ directory:
Code:
-rw-rw-r–. 1 philip philip 37 Dec 20 21:15 Android.mk
-rw-rw-r–. 1 philip philip 63 Jan 26 12:48 Application.mk
lrwxrwxrwx. 1 philip philip 15 Dec 20 21:15 png -> …/…/…/…/png
lrwxrwxrwx. 1 philip philip 15 Dec 20 21:15 SDL -> …/…/…/…/SDL
lrwxrwxrwx. 1 philip philip 21 Dec 20 21:15 SDL_image -> …/…/…/…/SDL_image
lrwxrwxrwx. 1 philip philip 21 Dec 20 21:15 SDL_mixer -> …/…/…/…/SDL_mixer
drwxrwxr-x. 2 philip philip 4096 Feb 16 16:00 src
So I don’t have all the source code for the libraries actually stored in my repository.
Not sure how this would work on Windows, but it seems to be a good solution for me on Linux.
Cheers,
Philip.------------------------
Please support my free Android game, xorf (https://play.google.com/store/apps/details?id=com.sensemagic.gravity). It uses SDL 2.0, SDL_image and SDL_mixer.
**
Well, I’m using Linux, and I created symbolic links to all my libraries
(including SDL) in my jni/ directory:
lrwxrwxrwx. 1 philip philip 15 Dec 20 21:15 SDL → …/…/…/…/SDL
lrwxrwxrwx. 1 philip philip 21 Dec 20 21:15 SDL_mixer →
…/…/…/…/SDL_mixer
drwxrwxr-x. 2 philip philip 4096 Feb 16 16:00 src
So I don’t have all the source code for the libraries actually stored in
my repository.
Not sure how this would work on Windows, but it seems to be a good
solution for me on Linux.
I’ve done the same thing in my project, if you use SVN you can also check
in the links 
Actually my SVN works both on linux (work) and osx (home), without changes,
also for the android-project subdirectory (obviously I’ve the sources of
the libraries I use in both machines). The game itself can compile for
windows, linux, osx, ios, android, that’s the power of SDL.
(
Eat the Whistle GPL download | SourceForge.net )
I fear this could not work on windows. I wonder how SVN handles links at
all in the win32/64 client…
–
Bye,
Gabry