Thank you for your reply. if I want to build the whole AOSP without optimization, what should I do?
On Friday, May 12, 2017 at 12:31:09 PM UTC+8, Colin Cross wrote: > > There is no generic way to disable optimization for a specific module. > For art-related modules you can use mma -j ART_DEBUG_OPT_FLAG=-O0, and > then use the version suffixed with "d", for example dex2oatd or > dalvikvm -XXlib:libartd.so > > On Thu, May 11, 2017 at 6:51 PM, Xie Wu <[email protected] <javascript:>> > wrote: > > Hi, I found some optimized variables when debugging so, such as > libart.so. > > I tried "mma LOCAL_CFLAGS="-O0 -g"", but it does not work. (reference: > How > > to make debug build of specific module under AOSP tree?) > > How can I disable optimization? > > Thanks. > > > > -- > > -- > > You received this message because you are subscribed to the "Android > > Building" mailing list. > > To post to this group, send email to [email protected] > <javascript:> > > To unsubscribe from this group, send email to > > [email protected] <javascript:> > > 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 [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
