Android 4.1 中的 C/C++ 组件架构

jopen 12年前
   <p>上周,谷歌发布了Android 4.1 Jelly Bean的源代码,源码中包含了很多有趣的开源组件。开发者Magnus Ernstsson通过<a href="/misc/goto?guid=4958348506114404208" target="_blank">Arqua</a>可视化了其中包含的所有的C/C++组件。</p>    <p>所有的C/C++组件被构建成为可执行文件、共享库和静态库,已经被分析并上传到<a href="/misc/goto?guid=4958348506939480288" target="_blank">analysis.ernstsson.net</a>,并被制作成交互式的、可点击的、可缩放的类UML图。</p>    <p>其中包含了一些Android专用的组件,如<a href="http://analysis.ernstsson.net/project/project.html?project=libaudioflinger&data=/data/android_shared_libraries/libaudioflinger_intermediates/index.svg" target="_blank">libaudioflinger</a>、<a href="http://analysis.ernstsson.net/project/project.html?project=libsurfaceflinger&data=/data/android_shared_libraries/libsurfaceflinger_intermediates/index.svg" target="_blank">libsurfaceflinger</a>、<a href="http://analysis.ernstsson.net/project/project.html?project=libpixelflinger&data=/data/android_shared_libraries/libpixelflinger_intermediates/index.svg" target="_blank">libpixelflinger</a>和<a href="http://analysis.ernstsson.net/project/project.html?project=libstagefright&data=/data/android_shared_libraries/libstagefright_intermediates/index.svg" target="_blank">libstagefright</a>等。</p>    <p style="text-align:center;"><img alt="Android 4.1 中的 C/C++ 组件架构" src="https://simg.open-open.com/show/7525449b6dacbb63fff2ce02efd64b9a.png" width="500" height="129" /></p>    <p>也有一些经常用于其他环境的组件,如<a href="http://analysis.ernstsson.net/project/project.html?project=libpng&data=/data/android_static_libraries/libpng_intermediates/index.svg" target="_blank">libpng</a>、<a href="http://analysis.ernstsson.net/project/project.html?project=libjpeg&data=/data/android_shared_libraries/libjpeg_intermediates/index.svg" target="_blank">libjpeg</a>、<a href="http://analysis.ernstsson.net/project/project.html?project=sshd&data=/data/android_executables/sshd_intermediates/index.svg" target="_blank">sshd</a>、<a href="http://analysis.ernstsson.net/project/project.html?project=libxml2&data=/data/android_static_libraries/libxml2_intermediates/index.svg" target="_blank">libxml2</a>和<a href="http://analysis.ernstsson.net/project/project.html?project=libsqlite&data=/data/android_shared_libraries/libsqlite_intermediates/index.svg" target="_blank">libsqlite</a>等。</p>    <p style="text-align:center;"><img alt="Android 4.1 中的 C/C++ 组件架构" src="https://simg.open-open.com/show/68bbd547fc9476c81abfa8361747be38.png" width="500" height="199" /></p>    <p>你可以通过<a href="/misc/goto?guid=4958348506939480288" target="_blank">analysis.ernstsson.net</a>来查看Android 4.1中C/C++组件的结构图,建议使用Firefox、Chrome或Safari浏览器,在IE下可能会显示不正常。</p>    <p>Via <a href="/misc/goto?guid=4958348515626581777" target="_blank">Ernstsson</a><br /> 转载自: <a href="/misc/goto?guid=4958348516430657566" rel="nofollow" target="_blank">http://www.iteye.com/news/25576</a> </p>