Lines Matching defs:lib
187 # Strip any 'lib' prefix in front of a given string.
189 # Function : strip-lib-prefix
191 # Returns : module name, without any 'lib' prefix if any
192 # Usage : $(call strip-lib-prefix,$(LOCAL_MODULE))
194 strip-lib-prefix = $(1:lib%=%)
196 -test-strip-lib-prefix = \
197 $(call test-expect,,$(call strip-lib-prefix,))\
198 $(call test-expect,foo,$(call strip-lib-prefix,foo))\
199 $(call test-expect,foo,$(call strip-lib-prefix,libfoo))\
200 $(call test-expect,nolibfoo,$(call strip-lib-prefix,nolibfoo))\
201 $(call test-expect,foolib,$(call strip-lib-prefix,foolib))\
202 $(call test-expect,foo bar,$(call strip-lib-prefix,libfoo libbar))