What is the recommended way to set src file path to prebuilt libs? There 
are different libs for target variants.

Android.mk file:
LOCAL_PATH := $(call my-dir)

PREBUILT_PATH := prebuilts/$(TARGET_BUILD_VARIANT)
PREBUILT_SYSTEM_PATH := $(PREBUILT_PATH)/system
PREBUILT_SYSTEM_BIN_PATH := = $(PREBUILT_SYSTEM_PATH)/lib
PREBUILT_SYSTEM_LIB64_PATH := $(PREBUILT_SYSTEM_PATH)/lib64

include $(CLEAR_VARS)
LOCAL_MODULE := libmytest
LOCAL_MODULE_TAGS   := optional
LOCAL_MODULE_CLASS  := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := .so
LOCAL_MULTILIB      := both
LOCAL_SRC_FILES_32 := 
$(PREBUILT_SYSTEM_LIB32_PATH)/$(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX)
LOCAL_SRC_FILES_64 := 
$(PREBUILT_SYSTEM_LIB64_PATH)/$(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX)
LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libbase libpcrecpp
include $(BUILD_PREBUILT)
 

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to