OSDN Git Service

Merge "Add n5 landscape-13 device video frame and css." into klp-dev
[android-x86/build.git] / core / host_static_library.mk
1 ###########################################################
2 ## Standard rules for building a static library for the host.
3 ##
4 ## Additional inputs from base_rules.make:
5 ## None.
6 ##
7 ## LOCAL_MODULE_SUFFIX will be set for you.
8 ###########################################################
9
10 ifeq ($(strip $(LOCAL_MODULE_CLASS)),)
11 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
12 endif
13 ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),)
14 LOCAL_MODULE_SUFFIX := .a
15 endif
16 ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
17 $(error $(LOCAL_PATH): Cannot set module stem for a library)
18 endif
19 LOCAL_UNINSTALLABLE_MODULE := true
20
21 LOCAL_IS_HOST_MODULE := true
22
23 include $(BUILD_SYSTEM)/binary.mk
24
25 $(LOCAL_BUILT_MODULE): $(built_whole_libraries)
26 $(LOCAL_BUILT_MODULE): $(all_objects)
27         $(transform-host-o-to-static-lib)