You need to add it to $ ANDROID_TREE / .repo / manifest.xml. For example:
<remote fetch="git://git.myrepo.org/" name="myrepo" review="review.myrepo.org"/> <project name="platform/external/speex" remote="myrepo" path="external/speex" revision="9965152ae52eb4dfdafbdcd8b55e39d1a23052e0"/>
for more information:
repo help manifest
Also, manifest.xml tends to be a symlink to the manifest in the git repository, so keep that in mind.
source share