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:
@@ -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
|
||||
|
Reference in New Issue
Block a user