Application.mk

The Application.mk file is also an existing file in our sample project. It describes the native modules required by the app, and is generally located under the yourProject/jni folder. As with the Android.mk file, there are a few variables that we can include here and will increase the functionality of this file:

  • APP_OPTIM: This is a very useful variable that can be used to decide the optimization level when the application modules are being built. It can be defined as release or debug.

    Basically, when the modules are compiled in the release mode, they are very efficient and provide little information for debugging. The debug mode, on the other hand, contains a bunch of useful information for debugging but is not very efficient for ...

Get Android High Performance Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.