Building just one tool from Android source (AOSP)

前端 未结 1 1073
误落风尘
误落风尘 2021-01-03 08:20

Currently I\'m using the the AOSP ROM Builder image on Amazon AWS to build Android.
The point is, I\'m only interested in the external tool grxmlcompile tha

相关标签:
1条回答
  • 2021-01-03 09:02

    cd to the top of your Android build source.

    source build/envsetup.sh
    cd external/srec/tools/grxmlcompile
    mma
    

    ...or any directory, or sub-directory a makefile. From AOSP build/envsetup.sh

    • m: Makes from the top of the tree.
    • mm: Builds all of the modules in the current directory, but not their dependencies.
    • mmm: Builds all of the modules in the supplied directories, but not their dependencies. To limit the modules being built use the syntax: mmm dir/:target1,target2.
    • mma: Builds all of the modules in the current directory, and their dependencies.
    • mmma: Builds all of the modules in the supplied directories, and their dependencies.

    external/srec was removed from the platform/manifest after android-5.1.1_r4 tag. So later, if you are using a manifest such as revision 5, 6 or later, you may need to do git clone https://android.googlesource/platform/external/srec external/srec to include that directory.

    0 讨论(0)
提交回复
热议问题