Mac OS X中编译Android(AOSP)
在Mac OS X中编译Android(AOSP),基本步骤在AOSP的帮助文档中都有说明:
http://source.android.com/source/initializing.html
http://source.android.com/source/building.html
有一些细节问题需要注意:
- 新版本的XCode去除了SDK 10.6,需要设置额外的环境变量:
- 如果安装了MacPorts中的Bison,则需要注意在编译过程中避免使用它
- 1, MacPorts中的Bison版本过新,会导致在编译WebKit的时候出现变异错误
- 使用XCode自带的Bison而非MacPorts中的
- 在WebKit中打上新的Patch用来解决这个编译问题:http://trac.webkit.org/changeset/124099
$export UILD_MAC_SDK_EXPERIMENTAL=1 $lunch full-eng
external/webkit/Source/WebCore/xml/XPathParser.cpp:480:39: error: too many arguments to function 'int WebCore::XPath::xpathyyparse()'
$bison --version bison (GNU Bison) 2.3
分类:Android
评论 (0)
Trackbacks (0)
留下评论
Trackback