自定義ndk-build後lib的生成目錄

版權聲明:本文爲博主原創文章,未經博主允許不得轉載。 https://blog.csdn.net/m0_37559046/article/details/60964845

1,打開環境變量中配置的ndk-path所在的目錄


2,依次進入 build-core-build-local.mk


3,找到NDK_APP_OUT


NDK_APP_OUT := $(strip $(NDK_OUT))
ifndef NDK_APP_OUT
  ifeq (null,$(NDK_PROJECT_PATH))
    $(call __ndk_info,NDK_PROJECT_PATH==null.  Please explicitly set NDK_OUT to directory for all generated intermediate files.)
    $(call __ndk_error,Aborting.)
  endif
  NDK_APP_OUT := D:\leoworkspace\.....
  #NDK_APP_OUT := $(NDK_PROJECT_PATH)/obj

endif
$(call ndk_log,Ouput path for intermediate files: $(NDK_APP_OUT))

# Place all generated library files here.  This is rarely changed since aapt expects the default libs/
NDK_APP_LIBS_OUT := $(strip $(NDK_LIBS_OUT))


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章