OSDN Git Service

Tell the build system this is a host module.
authorYing Wang <wangying@google.com>
Wed, 23 Mar 2016 18:41:15 +0000 (11:41 -0700)
committerYing Wang <wangying@google.com>
Wed, 23 Mar 2016 18:41:15 +0000 (11:41 -0700)
We need to tell the build system this is a host module before calling
local-generated-sources-dir.

Change-Id: Ie36ad938c0c7124865148f20fcb70d5187f158b8

osi/Android.mk

index 39ee556..4d372ec 100644 (file)
@@ -103,6 +103,7 @@ include $(BUILD_STATIC_LIBRARY)
 include $(CLEAR_VARS)
 LOCAL_MODULE := libbt-protos
 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
+LOCAL_IS_HOST_MODULE := true
 generated_sources_dir := $(call local-generated-sources-dir)
 LOCAL_EXPORT_C_INCLUDE_DIRS += \
     $(generated_sources_dir)/proto/system/bt