Build update engine binder AIDLs for framework use.
We will define system APIs in framework that talk to the update engine
via binder APIs (e.g. android.os.UpdateEngine etc in follow-up CLs).
This CL adds rules to build the update engine AIDLs for that.
Bug: 26695366
Change-Id: Icee5c7d396aa10e592c2b1fd58b4b369a9b6cbfc
diff --git a/Android.mk b/Android.mk
index e94bebb..a221826 100644
--- a/Android.mk
+++ b/Android.mk
@@ -429,6 +429,14 @@
core/java/android/service/quicksettings/IQSService.aidl \
core/java/android/service/quicksettings/IQSTileService.aidl \
+# The following are native binders that need to go with the native component
+# at system/update_engine/binder_bindings/. Use relative path to refer to them.
+LOCAL_SRC_FILES += \
+ ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
+ ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
+
+LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
+
# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
LOCAL_AIDL_INCLUDES += \
$(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \