Vendor modules in make also have __ANDROID_VNDK__ defined.

Bug: 64277220
Test: BOARD_VNDK_VERSION m -j
Change-Id: Ia9811ea526d0878b539c8c3da9e82e6bf33fe8e8
Merged-In: Ia9811ea526d0878b539c8c3da9e82e6bf33fe8e8
This commit is contained in:
Yifan Hong 2017-08-01 18:46:27 -07:00
parent 69d01b4fff
commit 1287e59f15
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ ifneq ($(LOCAL_SDK_VERSION),)
endif
ifneq ($(LOCAL_USE_VNDK),)
my_cflags += -D__ANDROID_API__=__ANDROID_API_FUTURE__
my_cflags += -D__ANDROID_API__=__ANDROID_API_FUTURE__ -D__ANDROID_VNDK__
endif
ifndef LOCAL_IS_HOST_MODULE