How to skip docs

63 views
Skip to first unread message

Ray Kelly

unread,
Dec 12, 2019, 2:06:35 PM12/12/19
to Android Building
I am build Android 9 from source and taking a very long time. I am wanting to skip the long docs building process when using make.  Is there a way to accomplish this easily?  Thanks!

Igor Kukushkin

unread,
Dec 13, 2019, 12:05:15 PM12/13/19
to android-...@googlegroups.com
Hi, technically speaking you are not really supposed to just do that as there aren't much docs at all, and it can break CTS.

However, for a debug quickie - you can put "PRODUCT_LOCALES:=en_US" into your device's board configuration, also check PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD, PRODUCT_AAPT_PREF_CONFIG,  PRODUCT_AAPT_PREBUILT_DPI,  PRODUCT_AAPT_CONFIG aswell. Or check how build tags (inside package's Android.mk) are supposed to work Won't recommend DONT_DEXPREOPT_PREBUILTS though because it'd cause lot problems to QA because of phones acting slow.
Also, the speedy inhouse builds to test a feature or two should be either done with `make snod` or rely on unit tests to break first, compilation time if possible .


Also what's your work got to do with real document-heavy parts of ? If you're rebuilding framework/SDK that often, even a $2 per day of cloud 32gb/8 core instance would be a lesser expense than repeated standby costs over a developer's time, while such asset may be shared between a group of developers. Even more important if you're going to ship production/nightly builds from some date later. Might also look into structuring your changes  - commits, branches, gerrit/CI etc, so they won't cause nearly identical rebuilds, and either ccache or less common solutions such as btrfs/overlay fs are a huge help there (at a cost of couple TBsof storage but its manageable).


On Thu, Dec 12, 2019 at 8:06 PM Ray Kelly <vbis...@gmail.com> wrote:
I am build Android 9 from source and taking a very long time. I am wanting to skip the long docs building process when using make.  Is there a way to accomplish this easily?  Thanks!

--
--
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

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/9a77e712-2293-4fd9-82d3-a6961bc3f230%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages