diff options
author | Jayant Chowdhary <jchowdhary@google.com> | 2017-07-10 15:38:57 -0700 |
---|---|---|
committer | Jayant Chowdhary <jchowdhary@google.com> | 2017-07-10 15:39:01 -0700 |
commit | 18db97ffa3aa4a6210e655451893db20f9c93a29 (patch) | |
tree | 0c9565c9c8f6e8da1c8925db25e095acb52c74e1 | |
parent | d2026c3c1e0227ba05bf649feb91d62aa921bb79 (diff) | |
download | libhardware-18db97ffa3aa4a6210e655451893db20f9c93a29.tar.gz |
Build hwcomposer.default 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: BOARD_VNDK_VERSION=current m -j k hwcomposer.default
Bug: 37342627
Change-Id: I79d034b71cc69fabb53d1682339da71191a65e3c
-rw-r--r-- | modules/hwcomposer/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/hwcomposer/Android.mk b/modules/hwcomposer/Android.mk index da0f6db6..42b4e47d 100644 --- a/modules/hwcomposer/Android.mk +++ b/modules/hwcomposer/Android.mk @@ -23,6 +23,7 @@ LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_PROPRIETARY_MODULE := true LOCAL_SHARED_LIBRARIES := liblog libEGL LOCAL_SRC_FILES := hwcomposer.cpp +LOCAL_HEADER_LIBRARIES := libhardware_headers LOCAL_MODULE := hwcomposer.default LOCAL_CFLAGS:= -DLOG_TAG=\"hwcomposer\" LOCAL_MODULE_TAGS := optional |