external/IA-Hardware-Composer
修订版 | 8802564ba2366ebddc8b0e7dbf43f51ce92d38d8 (tree) |
---|---|
时间 | 2019-04-22 22:23:17 |
作者 | Shaofeng Tang <shaofeng.tang@inte...> |
Commiter | Shaofeng Tang |
Build libhwcservice as static library
Update makefile for build libhwcservice as static library
Test: Compile on Android successfully
Change-Id: Ibd98f1c6ff40c84da722990b7b745e8e80933476
Tracked-On: None
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>
@@ -35,3 +35,23 @@ LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH) | ||
35 | 35 | LOCAL_PROPRIETARY_MODULE := true |
36 | 36 | LOCAL_HEADER_LIBRARIES += libcutils_headers |
37 | 37 | include $(BUILD_SHARED_LIBRARY) |
38 | + | |
39 | +#static library for the device | |
40 | +include $(CLEAR_VARS) | |
41 | + | |
42 | +# Obtain Android Version | |
43 | +ANDROID_VERSION := $(word 1, $(subst ., , $(PLATFORM_VERSION))) | |
44 | + | |
45 | +LOCAL_SRC_FILES += icontrols.cpp \ | |
46 | + idiagnostic.cpp \ | |
47 | + iservice.cpp \ | |
48 | + hwcserviceapi.cpp | |
49 | + | |
50 | +LOCAL_MODULE := libhwcservice | |
51 | +LOCAL_CFLAGS += -fvisibility=default | |
52 | +LOCAL_SHARED_LIBRARIES := libbinder liblog libutils | |
53 | +LOCAL_MULTILIB := both | |
54 | +LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH) | |
55 | +LOCAL_PROPRIETARY_MODULE := true | |
56 | +LOCAL_HEADER_LIBRARIES += libcutils_headers | |
57 | +include $(BUILD_STATIC_LIBRARY) |