aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-06-29 15:48:22 +0900
committerCosme Domínguez Díaz <cosme.ddiaz@gmail.com>2018-07-06 21:19:08 +0200
commitc1184ef494e5b7ec0fa67421826f1f123206f433 (patch)
tree1bd9eb08ef0da4b5fb7c6ceb3c51bc7a48ab049a
parentf6b3b91e21dbb1828c505129a8f03cfb52d5e782 (diff)
msm8996-common: Build camera.* with BOARD_VNDK_VERSION
Instead of relying on the global include paths, use the header libraries. Global include paths are not available when building with BOARD_VNDK_VERSION. pthread.h is included explicitly since it isn't automatically available then. Bug: 37342627 Test: BOARD_VNDK_VERSION=current m -j camera.msm8996 Change-Id: I210629684ff3451512e2dc4391f6718d5ebdd19b
-rw-r--r--camera/QCamera2/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/QCamera2/Android.mk b/camera/QCamera2/Android.mk
index 3f5460a..33a4b3b 100644
--- a/camera/QCamera2/Android.mk
+++ b/camera/QCamera2/Android.mk
@@ -107,6 +107,7 @@ LOCAL_SHARED_LIBRARIES += libqdMetaData libqservice libbinder
ifeq ($(TARGET_TS_MAKEUP),true)
LOCAL_SHARED_LIBRARIES += libts_face_beautify_hal libts_detected_face_hal
endif
+LOCAL_HEADER_LIBRARIES := media_plugin_headers
LOCAL_STATIC_LIBRARIES := android.hardware.camera.common@1.0-helper