>>分享Android开发相关的技术 书籍支持  卫琴直播  品书摘要  在线测试  资源下载  联系我们
发表一个新主题 开启一个新投票 回复文章 您是本文章第 19112 个阅读者 刷新本主题
 * 贴子主题:  Android定义的路径全局变量汇总 回复文章 点赞(0)  收藏  
作者:sunshine    发表时间:2020-05-15 03:42:02     消息  查看  搜索  好友  邮件  复制  引用

   对Android定义的路径全局变量,可以查看如下代码:        
  1.    ifeq (,$(strip $(OUT_DIR)))
  2.   OUT_DIR := $(TOPDIR) out  
  3.   endif
  4.   DEBUG_OUT_DIR := $(OUT_DIR)/debug
  5.   #  Move  the host  or  target under the debug/ directory
  6.   # if necessary.
  7.   TARGET_OUT_ROOT_release := $(OUT_DIR)/target
  8.   TARGET_OUT_ROOT_debug := $(DEBUG_OUT_DIR)/target
  9.   TARGET_OUT_ROOT := $(TARGET_OUT_ROOT_$(TARGET_BUILD_TYPE))
  10.   HOST_OUT_ROOT_release := $(OUT_DIR)/host
  11.   HOST_OUT_ROOT_debug := $(DEBUG_OUT_DIR)/host
  12.   HOST_OUT_ROOT := $(HOST_OUT_ROOT_$(HOST_BUILD_TYPE))
  13.   HOST_OUT_release := $(HOST_OUT_ROOT_release)/$(HOST_OS)-$(HOST_ARCH)
  14.   HOST_OUT_debug := $(HOST_OUT_ROOT_debug)/$(HOST_OS)-$(HOST_ARCH)
  15.   HOST_OUT := $(HOST_OUT_$(HOST_BUILD_TYPE))
  16.   ifeq ($(TARGET_SIMULATOR), true )
  17.     #  Any  arch-  or  os-specific parts  of  the simulator (everything
  18.     # under product/) are actually host-dependent.
  19.     # But, the debug type  is  controlled  by  TARGET_BUILD_TYPE  and   not  
  20.     # HOST_BUILD_TYPE.
  21.     TARGET_PRODUCT_OUT_ROOT := $(HOST_OUT_$(TARGET_BUILD_TYPE))/product
  22.    else  
  23.     TARGET_PRODUCT_OUT_ROOT := $(TARGET_OUT_ROOT)/product
  24.   endif
  25.   TARGET_COMMON_OUT_ROOT := $(TARGET_OUT_ROOT)/common
  26.   HOST_COMMON_OUT_ROOT := $(HOST_OUT_ROOT)/common
  27.   PRODUCT_OUT := $(TARGET_PRODUCT_OUT_ROOT)/$(TARGET_DEVICE)
  28.   OUT_DOCS := $(TARGET_COMMON_OUT_ROOT)/docs
  29.   HOST_OUT_EXECUTABLES:= $(HOST_OUT)/bin
  30.   HOST_OUT_SHARED_LIBRARIES:= $(HOST_OUT)/lib
  31.   HOST_OUT_JAVA_LIBRARIES:= $(HOST_OUT)/framework
  32.   HOST_OUT_SDK_ADDON := $(HOST_OUT)/sdk_addon
  33.   HOST_OUT_INTERMEDIATES := $(HOST_OUT)/obj
  34.   HOST_OUT_HEADERS:= $(HOST_OUT_INTERMEDIATES)/include
  35.   HOST_OUT_INTERMEDIATE_LIBRARIES := $(HOST_OUT_INTERMEDIATES)/lib
  36.   HOST_OUT_STATIC_LIBRARIES := $(HOST_OUT_INTERMEDIATE_LIBRARIES)
  37.   HOST_OUT_NOTICE_FILES:=$(HOST_OUT_INTERMEDIATES)/NOTICE_FILES
  38.   HOST_OUT_COMMON_INTERMEDIATES := $(HOST_COMMON_OUT_ROOT)/obj
  39.   TARGET_OUT_INTERMEDIATES := $(PRODUCT_OUT)/obj
  40.   TARGET_OUT_HEADERS:= $(TARGET_OUT_INTERMEDIATES)/include
  41.   TARGET_OUT_INTERMEDIATE_LIBRARIES := $(TARGET_OUT_INTERMEDIATES)/lib
  42.   TARGET_OUT_COMMON_INTERMEDIATES := $(TARGET_COMMON_OUT_ROOT)/obj
  43.   TARGET_OUT := $(PRODUCT_OUT)/system
  44.   TARGET_OUT_EXECUTABLES:= $(TARGET_OUT)/bin
  45.   TARGET_OUT_OPTIONAL_EXECUTABLES:= $(TARGET_OUT)/xbin
  46.   TARGET_OUT_SHARED_LIBRARIES:= $(TARGET_OUT)/lib
  47.   TARGET_OUT_JAVA_LIBRARIES:= $(TARGET_OUT)/framework
  48.   TARGET_OUT_APPS:= $(TARGET_OUT)/app
  49.   TARGET_OUT_KEYLAYOUT := $(TARGET_OUT)/usr/keylayout
  50.   TARGET_OUT_KEYCHARS := $(TARGET_OUT)/usr/keychars
  51.   TARGET_OUT_ETC := $(TARGET_OUT)/etc
  52.   TARGET_OUT_STATIC_LIBRARIES:= $(TARGET_OUT_INTERMEDIATES)/lib
  53.   TARGET_OUT_NOTICE_FILES:=$(TARGET_OUT_INTERMEDIATES)/NOTICE_FILES
  54.   TARGET_OUT_DATA := $(PRODUCT_OUT)/data
  55.   TARGET_OUT_DATA_EXECUTABLES:= $(TARGET_OUT_EXECUTABLES)
  56.   TARGET_OUT_DATA_SHARED_LIBRARIES:= $(TARGET_OUT_SHARED_LIBRARIES)
  57.   TARGET_OUT_DATA_JAVA_LIBRARIES:= $(TARGET_OUT_JAVA_LIBRARIES)
  58.   TARGET_OUT_DATA_APPS:= $(TARGET_OUT_DATA)/app
  59.   TARGET_OUT_DATA_KEYLAYOUT := $(TARGET_OUT_KEYLAYOUT)
  60.   TARGET_OUT_DATA_KEYCHARS := $(TARGET_OUT_KEYCHARS)
  61.   TARGET_OUT_DATA_ETC := $(TARGET_OUT_ETC)
  62.   TARGET_OUT_DATA_STATIC_LIBRARIES:= $(TARGET_OUT_STATIC_LIBRARIES)
  63.   TARGET_OUT_UNSTRIPPED := $(PRODUCT_OUT)/symbols
  64.   TARGET_OUT_EXECUTABLES_UNSTRIPPED := $(TARGET_OUT_UNSTRIPPED)/system/bin
  65.   TARGET_OUT_SHARED_LIBRARIES_UNSTRIPPED := $(TARGET_OUT_UNSTRIPPED)/system/lib
  66.   TARGET_ROOT_OUT_UNSTRIPPED := $(TARGET_OUT_UNSTRIPPED)
  67.   TARGET_ROOT_OUT_SBIN_UNSTRIPPED := $(TARGET_OUT_UNSTRIPPED)/sbin
  68.   TARGET_ROOT_OUT_BIN_UNSTRIPPED := $(TARGET_OUT_UNSTRIPPED)/bin
  69.   TARGET_ROOT_OUT := $(PRODUCT_OUT)/root
  70.   TARGET_ROOT_OUT_BIN := $(TARGET_ROOT_OUT)/bin
  71.   TARGET_ROOT_OUT_SBIN := $(TARGET_ROOT_OUT)/sbin
  72.   TARGET_ROOT_OUT_ETC := $(TARGET_ROOT_OUT)/etc
  73.   TARGET_ROOT_OUT_USR := $(TARGET_ROOT_OUT)/usr
  74.   TARGET_RECOVERY_OUT := $(PRODUCT_OUT)/recovery
  75.   TARGET_RECOVERY_ROOT_OUT := $(TARGET_RECOVERY_OUT)/root
  76.   TARGET_SYSLOADER_OUT := $(PRODUCT_OUT)/sysloader
  77.   TARGET_SYSLOADER_ROOT_OUT := $(TARGET_SYSLOADER_OUT)/root
  78.   TARGET_SYSLOADER_SYSTEM_OUT := $(TARGET_SYSLOADER_OUT)/root/system
  79.   TARGET_INSTALLER_OUT := $(PRODUCT_OUT)/installer
  80.   TARGET_INSTALLER_DATA_OUT := $(TARGET_INSTALLER_OUT)/data
  81.   TARGET_INSTALLER_ROOT_OUT := $(TARGET_INSTALLER_OUT)/root
  82.   TARGET_INSTALLER_SYSTEM_OUT := $(TARGET_INSTALLER_OUT)/root/system
  83.   COMMON_MODULE_CLASSES := JAVA_LIBRARIES NOTICE_FILES
               ----------------------------
原文链接:https://blog.51cto.com/buaadallas/517672

程序猿的技术大观园:www.javathinker.net



[这个贴子最后由 flybird 在 2020-06-04 20:15:01 重新编辑]
网站系统异常


系统异常信息
Request URL: http://www.javathinker.net/WEB-INF/lybbs/jsp/topic.jsp?postID=3310

java.lang.NullPointerException

如果你不知道错误发生的原因,请把上面完整的信息提交给本站管理人员