Will, I get what your saying. I am not sure of any other way to not force the install of the apps. Since it sounds like your making your own custom release, it maybe best to do periodict repo merges to make sure you are staying in sync with the project to edited repos you have.
On Mon, Feb 5, 2018, 2:40 AM Will Newton <[email protected]> wrote: > On Mon, Feb 5, 2018 at 3:10 AM, Joey Troy <[email protected]> wrote: > > Best place to edit is in the build folder to remove all the extra apps > > > > > https://android.googlesource.com/platform/build/+/master/target/product/core.mk > > I could edit that file and it would do what I want, but it would be > forking upstream code for what seems to me like it should be a fairly > simple standard function. Is there a way to do this without having to > modify core Android code? i.e. do it in device/... > > Thanks, > > > On Sun, Feb 4, 2018, 7:25 PM Will Newton <[email protected]> wrote: > >> > >> Hi, > >> > >> I'm trying to avoid including some packages in the build of my device > but > >> not having much luck. I added a section like this to the Android.mk in > my > >> device directory: > >> > >> include $(CLEAR_VARS) > >> LOCAL_PACKAGE_NAME := package-overrides > >> LOCAL_OVERRIDES_PACKAGES := \ > >> Browser2 \ > >> Calendar \ > >> Email \ > >> Music \ > >> SoundRecorder > >> include $(BUILD_PACKAGE) > >> > >> But all the packages still get built and installed. Is there a way I can > >> make sure the packages are not included? > >> > >> I've found various discussions of this online but none with a definitive > >> answer and the build process is complex in this area. > >> > >> Thanks, > >> > >> -- > >> -- > >> unsubscribe: [email protected] > >> website: http://groups.google.com/group/android-porting > >> > >> --- > >> You received this message because you are subscribed to the Google > Groups > >> "android-porting" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to [email protected]. > >> For more options, visit https://groups.google.com/d/optout. > -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
