Skip to Content
Pro Android Apps Performance Optimization
book

Pro Android Apps Performance Optimization

by Hervé Guihot
January 2012
Intermediate to advanced content levelIntermediate to advanced
282 pages
7h 4m
English
Apress
Content preview from Pro Android Apps Performance Optimization

Android.mk

While Application.mk allows you to specify variables common to your whole application, Android.mk is used to specify what modules you want to build and how to build them, all of this in excruciating detail. Table 2–5 lists the available variables in NDK revision 6.

Image

Once again, we are going to focus on the few variables that have an impact on performance:

  • LOCAL_CFLAGS
  • LOCAL_CPPFLAGS
  • LOCAL_ARM_MODE
  • LOCAL_ARM_NEON
  • LOCAL_DISABLE_NO_EXECUTE

LOCAL_CFLAGS and LOCAL_CPPFLAGS are similar to APP_CFLAGS and APP_CPPFLAGS, but apply only to the current module, whereas the flags defined in Application.mk are for all the modules. It is recommended ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android High Performance Programming

Android High Performance Programming

Enrique López Mañas, Diego Grancini
Pro Android Graphics

Pro Android Graphics

Wallace Jackson

Publisher Resources

ISBN: 9781430239994Purchase book