As for the other apps, you need to hunt them in your product
hierarchy. Depending on what you build, some might be in full.mk, some
might be in generic.mk, some might be in core.mk.
You'll quickly notice that the Android build system is designed to be
additive, not subtractive. In a theoretical world, core.mk is the
minimum to get a system up an running to the point where it can run
apps, generic.mk adds the apps that every device is expected to use,
and later build configs add more apps (e.g. full.mk attempts to add
every app that's in AOSP). In reality some modules are missing from
core.mk to the point where it doesn't work. My gut feeling is that
SystemUI is the culprit and should be in core.mk, but I haven't had
time to test that theory. I'll gladly review changes that make core.mk
run.
JBQ
> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
> I've developed a android app for a device.I have built my app along
> with other apps of gingerbread in linux.Now what i want to do is, to
> keep my app alone and remove all other
> apps(calender,messaging.........etc).how to achieve this?
>
> I tried commenting out apps in generic.mk file..but i got apps
> partially removed.
> Still(Browser,contacts,spareparts,speechrecorder,<myapp>) launches.
>
> I tried renaming above apps Android.mk files to Android.Still these
> apps launches
I'm guessing you forgot to delete the files from the already staged
system partition ($OUT/system/app). Just because you purge a module
from the list of modules that make will build and install for you
doesn't mean that files already installed will be removed to reflect
the new configuration.
Instead of hacking the makefiles in build/target/product you could
make modifications to PRODUCT_PACKAGES in the makefile of your own
device:
PRODUCT_PACKAGES := $(filter-out Mms Browser,$(PRODUCT_PACKAGES))
That way you don't have to worry about which file each application is
listed, plus you don't have to patch the files in platform/build.git
in the first place.
Note that this won't "forbid" an application from being installed. If
another application is set to depend on it via LOCAL_REQUIRED_MODULES
it will still be installed regardless of what PRODUCT_PACKAGES contains.
--
Magnus B�ck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
On Monday, May 16, 2011 at 09:46 CEST,
> I've developed a android app for a device.I have built my app alongI'm guessing you forgot to delete the files from the already staged
> with other apps of gingerbread in linux.Now what i want to do is, to
> keep my app alone and remove all other
> apps(calender,messaging.........etc).how to achieve this?
>
> I tried commenting out apps in generic.mk file..but i got apps
> partially removed.
> Still(Browser,contacts,spareparts,speechrecorder,<myapp>) launches.
>
> I tried renaming above apps Android.mk files to Android.Still these
> apps launches
system partition ($OUT/system/app). Just because you purge a module
from the list of modules that make will build and install for you
doesn't mean that files already installed will be removed to reflect
the new configuration.
Instead of hacking the makefiles in build/target/product you could
make modifications to PRODUCT_PACKAGES in the makefile of your own
device:
PRODUCT_PACKAGES := $(filter-out Mms Browser,$(PRODUCT_PACKAGES))
That way you don't have to worry about which file each application is
listed, plus you don't have to patch the files in platform/build.git
in the first place.
Note that this won't "forbid" an application from being installed. If
another application is set to depend on it via LOCAL_REQUIRED_MODULES
it will still be installed regardless of what PRODUCT_PACKAGES contains.
--
Magnus Bäck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson