Closed darwintree closed 3 years ago
Applying the changes in delta
should be sufficient. If you already built the AOSP and you changed only the files in the directory delta
, the Makefile should have the correct dependencies and it should be able to compile only what it is needed.
In the version of Android that I used, the file current.txt
was generated automatically. When you change the Java files and try to compile, it should tell you that you need to update the API through the command make update-api
. I think that this command takes care of generating the file current.txt
. The original file openjdk_java_files.bp
should be modified manually by adding all the Java files contained under the directory delta
.
Thanks
It seems simply apply the changes in
scripts/delta
folder to AOSP source code would work. The problem is how to correctly modifycurrent.txt
andopenjdk_java_files.bp
.Could you provide some advice about how to check the correction of the migration? By the way, is there any method to only build the changed module and apply the changes instead of building the whole AOSP from scratch ? Thanks in advance