I have a native module under /devices:
- module
-- aidl
--- com
---- my
----- package
------ IMyInterface.aidl
-- Android.mk
-- Proxy.h
-- Proxy.cpp
I want to use binder in this module. My Android.mk:
LOCAL_PATH := $(call my-dir)
$(call emugl-begin-shared-library,libMyModule)
LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/aidl
LOCAL_SRC_FILES := \ aidl/com/my/package/IMyInterface.aidl \
Proxy.cpp \
LOCAL_HEADER_LIBRARIES := libbinder_headers \
libhidlbase_impl_internal \
libbase
LOCAL_SHARED_LIBRARIES := libbinder \
libutils \
liblog \
libcutils
$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
$(call emugl-import,libOpenglCodecCommon$(GOLDFISH_OPENGL_LIB_SUFFIX))
$(call emugl-end-module)
When I'm building it, it generates C++ headers, but they are located in the
intermediates directory only:
$ ls
out/target/product/emulator_x86_64/obj/SHARED_LIBRARIES/libMyModule_intermediates/aidl-generated/include/com/my/package:
BnMyInterface.h BpMyInterface.h IMyInterface.h
How should I include them in my Proxy.cpp? If I just add #include
"IMyInterface.h", build system doesn't see it: fatal error:
'IMyInterface.h' file not found
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-building/8f2c64da-70f7-4c15-a4da-f9f2c2ef4d98n%40googlegroups.com.