Android NDK incremental build -


i'm working on large android app using massive amount of c++ code. compiles , runs, far good.

unfortunately, every time modify in structure of native source (add/delete/rename/move file), happens pretty often, ndk-build rebuilds whole source, untouched files.

does know how can set android ndk build incrementally somehow?

thanks in advance

i got fed ndk build system, studied bit, , wrote own makefiles. not hard.

however, pointed out me doing this, have take responsibility tracking future changes platform, example if becomes necessary ship binaries additional processor types, i'd have modify homegrown build solution too.

in other contexts, i've had projects 2 build systems - 1 quick experiments, deployable builds. time spent updating both , saved many times in speed gain daily work. provided had real build @ least every week or two, things never got far out of consistency (and both build scripts in revision control system, there history examine). done custom makefile debug builds , still using ndk build system deployable packages.

(in 1 case of doing lot of experiments @ edge of platform permits, had makefile pushing updated .so onto device , gave application 1 of discouraged hard-quit buttons, restart using updated native library without having rebuild , reinstall apk)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -