In this link there is tutorial how to embed AOSP Host, can somebody read and explain me how and where to do those steps?
Steps done
1.Check out the code: I did it
2.Create the AOSP host APK: I have AOSPHost.apk ready
3.Embed the AOSP host: I do not understand this step, should i do these steps in AOSP repository?
What to do with Android.mk?
Add the CarAOSPHost module to your targets as PRODUCT_PACKAGES
Where is my target?
In your target, add the config file to your targets
PRODUCT_COPY_FILES += \
<the file root>/com.android.car.templates.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.car.templates.host.xml
Where is my target?
What is "the file root"?
What is $(TARGET_COPY_OUT_VENDOR)?
I appreciate the help!
Tutorial failed to mention where to put PRODUCT_PACKAGES. After some research, I found out that I should include PRODUCT_PACKAGES to /AOSP/packages/services/Car/car_product/build/car.mk
.