Update Android.mk
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
# Determine the target architecture directory and pattern
|
# Determine the target architecture directory and pattern
|
||||||
ifeq ($(TARGET_ARCH),arm64)
|
ifeq ($(TARGET_ARCH),arm64)
|
||||||
@@ -18,6 +19,9 @@ ifneq ($(APK_PATTERN),)
|
|||||||
# Find the APK file
|
# Find the APK file
|
||||||
APK_FILE := $(wildcard $(LOCAL_PATH)/prebuilt/$(ARCH_DIR)/$(APK_PATTERN))
|
APK_FILE := $(wildcard $(LOCAL_PATH)/prebuilt/$(ARCH_DIR)/$(APK_PATTERN))
|
||||||
|
|
||||||
|
# Take the first match only
|
||||||
|
APK_FILE := $(firstword $(APK_FILE_LIST))
|
||||||
|
|
||||||
ifeq ($(APK_FILE),)
|
ifeq ($(APK_FILE),)
|
||||||
$(warning No VivladiBrowser APK found for architecture $(TARGET_ARCH))
|
$(warning No VivladiBrowser APK found for architecture $(TARGET_ARCH))
|
||||||
$(warning Directory: $(LOCAL_PATH)/prebuilt/$(ARCH_DIR)/)
|
$(warning Directory: $(LOCAL_PATH)/prebuilt/$(ARCH_DIR)/)
|
||||||
|
Reference in New Issue
Block a user