Make libqservice build with the VNDK.

When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.

Test: build libqservice with BOARD_VNDK_VERSION=current
Bug: 69526027
Change-Id: Id98bf5e2ecc6f514f1d4dd9580d25027f36e0d86
This commit is contained in:
Steven Moreland 2018-01-25 14:24:55 -08:00
parent 0a489f6722
commit d162d7f96b
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES := $(common_includes) $(kernel_includes)
LOCAL_SHARED_LIBRARIES := $(common_libs) libbinder
LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libbinder
LOCAL_HEADER_LIBRARIES := libcutils_headers
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdqservice\" -Wno-sign-conversion
LOCAL_CFLAGS += -Wno-error
LOCAL_CLANG := true