Build Chrome 4.0 in vs2005 + Windows XP

来源:互联网 发布:偏微分方程 知乎 编辑:程序博客网 时间:2024/05/20 07:18

refer:http://dev.chromium.org

 

Visual Studio 2005

a.install Visual Studio 2005 Team Suite

b.install Visual Studio 2005 Service Pack 1

c.install Visual Studio 2005 Service Pack 1 ATL Security Update

(http://www.microsoft.com/downloads/details.aspx?FamilyID=7c8729dc-06a2-4538-a90d-ff9464dc0197&displaylang=en)

d.install hotfixes

KB918559(http://code.msdn.microsoft.com/KB918559)

KB935225(http://code.msdn.microsoft.com/KB935225)

KB943969(http://code.msdn.microsoft.com/KB943969)

KB947315(http://code.msdn.microsoft.com/KB947315)

 

Windows 2008 SDK

e.download Windows 2008 SDK

(http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en)

f.config Windows 2008 SDK

start>Program>Microsoft Windows SDK v6.1>Visual Studio Registration>Windows SDK Configuration Tool>make current

 

Source

g.get Chrome source code.(choose 1 in 3)

1.svn checkout http://src.chromium.org/svn/trunk

2.download source package

(http://build.chromium.org/buildbot/archives/chromium_tarball.html)

 

Environment Variables

h.Add "E:/Chrome/tools/depot_tools" to "Path" (For example i put the code in "E:/Chrome/")

 

Update

i.Run cmd and cd to "E:/Chrome/src"

j."gclient config http://src.chromium.org/svn/trunk/src" to config gclient

k."gclient sync" to update your code

l."gclient runhooks --force" to get .sln and .vcproj by .gyp

 

Build Chromium in vs2005

m.run chrome.sln (example:"E:/Chrome/src/chrome/chrome.sln")

any question contact me: CEO@eddsoft.com

原创粉丝点击