I found a solution, but I'm not quite sure what the problem is.
Old script:
LOCAL_PATH := $(call my-dir)
LOCAL_SRC_FILES := $(wildcard ../../src/*.cpp)
New script that works:
LOCAL_PATH := $(call my-dir)/..
LOCAL_SRC_FILES := $(wildcard ../src/*.cpp)
I think my-dir and wildcard are not in the same working directory.
Android ndk toolchain make (android.mk) /jni. $(call my-dir), , /jni ( , make). $(wildcard ) .
, , , , .
EDIT: script,
( , , )
LOCAL_PATH := $(call my-dir)
LOCAL_SRC_FILES := ../../src/foo.cpp \
../../src/bar.cpp