Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1299405
  • 博文数量: 168
  • 博客积分: 2124
  • 博客等级: 大尉
  • 技术积分: 2590
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-16 23:51
文章分类

全部博文(168)

文章存档

2014年(6)

2013年(74)

2012年(71)

2011年(17)

分类: LINUX

2012-06-18 12:43:53

LOCAL_MODULE_TAGS :=user eng tests optional

user: 指该模块只在user版本下才编译

eng: 指该模块只在eng版本下才编译

tests: 指该模块只在tests版本下才编译

optional:指该模块在所有版本下都编译

 

那么这些所谓的版本又是什么呢?

就是lunch 以后要选择的版本



dev/device/samsung/crespo/vendorsetup.sh

  1. add_lunch_combo full_crespo-eng  
Android.mk中的“eng”如果与device下vendorsetup.sh中的标识“eng”一样,则编译该模块。

若为“userdebug”或者其它,则不编译。

  1. add_lunch_combo full_crespo-userdebug  

参考资料:http://blog.csdn.net/yinlijun2004/article/details/7163241

http://blog.csdn.net/gcpljz06/article/details/6962672


阅读(6104) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~