diff options
author | Xavier Ducrohet <xav@android.com> | 2011-10-14 16:46:45 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-10-14 16:46:45 -0700 |
commit | def6f0d2e24d6dd96d6265fcf05fd9a1e10c789c (patch) | |
tree | 4228ac22d8fbd9a342b024805d3980aef1d71261 /icons | |
parent | e162064a7b5db1eecec34271bc7e2a4296181ea6 (diff) | |
download | sdk-def6f0d2e24d6dd96d6265fcf05fd9a1e10c789c.zip sdk-def6f0d2e24d6dd96d6265fcf05fd9a1e10c789c.tar.gz sdk-def6f0d2e24d6dd96d6265fcf05fd9a1e10c789c.tar.bz2 |
Improve indirect library dependency support.
Previously with the following setup:
Main app depends on Lib1, Lib2.
Lib1 and Lib2 both depends on Lib3.
Lib3 would be compiled 3 times, as the main app would attempt
to build it and then Libr1, and Lib2 would do it too.
Of course it wasn't actually built 3 times. After the first time it would
do nothing, checking dependencies and do nothing. However, for projects
will a lot of libraries and a lot of indirect dependencies this could
slow down a lot compilations, as the build would spend its time checking
whether to build the same library many times.
This ensure that only the main project attempts to build all of its library
dependencies (direct and indirect), in the right order of course.
When libraries are built they are told (through the "only" target) to not
build their dependencies.
Change-Id: Ie80f32a96e3c473d897aca5d05bf6fe9ea086884
Diffstat (limited to 'icons')
0 files changed, 0 insertions, 0 deletions