How Does Aosp 9.0 Build System Link The Executable?
With AOSP 9.0.0_r30 source code, first use these commands to output a detailed build log during build: make clean make showcommands -j8 > ~/BuildAndroid.txt Then search in ~/B
Solution 1:
I found the link command line for pppd,it just use
prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++
with all the .o/.a/.so file as input,and pppd as output.
But this still does not explain why there are no link commands that use TextDropShadowCache.o as input,maybe they use some script to read multiple .o files?
Update: Some link command such as command that links libhwui.so uses .rsp file to input the list of object files to the linker, so there is no object file list in the command line. The .rsp file should be a text file that contains the list.
Post a Comment for "How Does Aosp 9.0 Build System Link The Executable?"