minicap icon indicating copy to clipboard operation
minicap copied to clipboard

Trying to build AOSP Android 9 using docker

Open amitpy opened this issue 5 years ago • 1 comments

I was trying to build AOSP for Android P with docker with minicap. I have gone through the instruction links: https://github.com/openstf/minicap/blob/master/jni/minicap-shared/README.md https://github.com/openstf/docker-aosp/blob/master/jdk8/aosp.sh

In above shell script, Mirror and checkout process is completed successfully for me. There is a case name as build. Inside aosp.sh file, It is taking two parameters: target="$2"; module="$3" if My target is: target="aosp_arm64-eng";module=? then what should be the module? Please guide me as I am completely new in Android development. Thanks in advance.

amitpy avatar Apr 04 '19 13:04 amitpy

@amitpy The module is actually the name of the module you're building (in your case minicap) , if you take a look at the script aosp.sh from line 106 - 121 , you can see that the target is indeed your device target name "aosp_arm64-eng" and for the module "minicap" .

  • then aosp.sh will build your module with : make "$module" -j $(nproc) "$@"
  • your find the final build of "minicap" in the out/system/bin or out/system/lib

islem19 avatar Mar 02 '20 12:03 islem19