Assuming fixed current directory in *Android.mk* is dangerous even without 
Android Studio. You would rather use *$(LOCAL_PATH)* to settle the 
directories correctly, probably

LOCAL_PATH := $(call my-dir)

…
MESHCOP_ROOT_PATH := 
$(LOCAL_PATH)/../../../../../thread-comm-iotivity/resource/meshcop

BR,
Alex

On Friday, May 27, 2016 at 5:06:54 PM UTC+3, Streets Of Boston wrote:
>
> When running my own custom task that calls ndk-build, my Android.mk 
> include other makefiles from an external directory (still in the same 
> project, though, but different module)..
>
> The Android.mk defines those external directories as follows:
>
> MESHCOP_ROOT_PATH := *../../../../*thread-comm-iotivity/resource/meshcop
> ...
> ...
> include $(MESHCOP_ROOT_PATH)/build/android/Android.mk
>
>
>
> When using externalNativeBuild, I have to change these values in my 
> Android.mk to 
>
> MESHCOP_ROOT_PATH := *../../*thread-comm-iotivity/resource/meshcop
>
> ...
>
> ...
>
> include $(MESHCOP_ROOT_PATH)/build/android/Android.mk
>
>
>
> Has this to do with the fact that the NDK_PROJECT_PATH may be set 
> differently between the two build systems?
>
> --- Anton.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" 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