Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
654 views

How to shrink resources and remove unused language resources with Android.mk

I am working on AOSP Settings application which builds properly. I am trying to build "user build" and have enabled proguard using proguard.flags and disabled jack compilation ...
Rinav's user avatar
  • 2,557
2 votes
0 answers
776 views

In Android.mk, how to copy all the files in a directory recursively to out/vendor/ directory

I have a folder structure as following. sdk ├── 1.txt ├── 2.txt └── install ├── bin │   └── 3.txt └── lib └── 4.txt I want to copy all these files to vendor/etc/ using Android.mk....
Srihari's user avatar
  • 46
0 votes
1 answer
183 views

How to add a custom Module-Description Variable in Android.mk?

I want to access a module description variable (a custom variable) while building an android module i.e. an executable or shared-library or prebuilt and based on its value do some extra processing on ...
d3xter's user avatar
  • 61
1 vote
0 answers
4k views

Vendor app in android AOSP build tree

In Android 8.1 we can build and install the application in the vendor partition in the AOSP build tree. by using LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_APPS) After the installation, I found that the ...
Midhun PM's user avatar
  • 522
3 votes
1 answer
1k views

Include .so in android.mk system app android

I have an APK that contains java code and some .so files. I have built the APK in Android Studio and now this APK needs to be part of /system/app/ folder on my custom ROM. Java code + .so = APK To ...
user3022690's user avatar
12 votes
3 answers
14k views

aar support in Android.mk

I am doing android custom ROM development now. the build system of aosp is based on Android.mk, But I want to include some aar libraries, is it possible to include aar libaries in Android.mk ?
Juude's user avatar
  • 1,237