Deva,

Thanks for your reply.  That clears things up quite a bit, although
could you elaborate on when you say "add my custom library to an
existing relevant git as an add-on"?  My library is an embedded SSL
library - just to make things more applicable.  Please understand that
I have very little experience before now using GIT, and as such am
slightly unfamiliar with methods of doing things.

Thanks,
Chris


On Aug 3, 2:13 am, Deva R <[email protected]> wrote:
> Hi,
>
> /external directory today hosts all external 3Party modules used in android.
>
> you can add /external/<mylib>, and  start building your module., (android
> uses monolithic build tree, so will include ur module)
>
> since /external/<mylib> is not tracked under any GITs listed in your repo
> manifest, its under blindspot.
> if u have added under, say /external/opencore/<mylib>, repo status will
> shout opencore project got modified files.
>
> - first of all, its not possible to add a folder directl to a repo.,as repo
> always operate over GIT, and usually fetches projects from same server where
> it picked manifest.
>   for eg,  http://git.omapzoom.org/ got various cusotm projects, modules
> added under various git, and is listed under manifest.
>
> for a quick fix, u can add ur custom library to an existing relevant git as
> add-on, and post it to gerrit.
>
> Regards,
> Deva
>
>
>
> On Tue, Aug 3, 2010 at 1:40 AM, Chris C. <[email protected]> wrote:
> > Hi Magnus,
>
> > As far as background goes, I'm trying to add a new shared library to
> > the Android platform, and I have done this be creating a new folder
> > with the name of my library under the "/external" directory of the
> > android platoform (i.e. /external/mylibrary).
>
> > This is what I did to lead up to this point:
>
> > 1)  Checked out the master branch from the android git repository by
> > following the Android documentation:
>
> > repo init -u git://android.git.kernel.org/platform/manifest.git
> > repo sync
>
> > 2)  Created a new directory under /external for my library, so I have
> > the following folder with my library in it:
>
> > /external/mylibrary
>
> > 3)  Now I am wondering how to add this to the working copy, so that it
> > is recognized by repo, and I am able to submit it to Gerrit for code
> > review.
>
> > Thanks,
> > Chris
>
> > On Aug 1, 9:07 am, Magnus Bäck <[email protected]> wrote:
> > > On Friday, July 30, 2010 at 19:12 CEST,
> > >      "Chris C." <[email protected]> wrote:
>
> > > > I created a new folder under the /external directory, but it is not
> > > > being recognized by "repo status".  Is there a way to add this folder
> > > > to the working tree so that the repo command can see that it should be
> > > > added?
>
> > > I'm not sure what you actually want to accomplish here. A little
> > > background would make it easier to give a good answer.
>
> > > Repo reads the manifest, .repo/manifest.xml (which is a symlink, usually
> > > to .repo/manifests/default.xml), to determine which Git repositories you
> > > have in your workspace. Assuming the directory you've added is a git you
> > > can add it to the manifest, but make sure you specify an alternate
> > > remote for the git (see the <remote> tag at the top of the manifest)
> > > that points to where the "master" for your git is located. If you don't
> > > do that, Repo will try to fetch the git from the server from which
> > > you've fetched the code.
>
> > > This is probably more suited for the repo-discuss list than
> > > android-porting.
>
> > > --
> > > Magnus B ck                      Opinions are my own and do not
> > necessarily
> > > SW Configuration Manager         represent the ones of my employer, etc.
> > > Sony Ericsson
>
> > --
> > unsubscribe: 
> > [email protected]<android-porting%2Bunsubscribe@ 
> > googlegroups.com>
> > website:http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to