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