blob: 942e2e652bc6e7945532a025d496ce0ab42c2615 [file] [log] [blame]
You want to be very careful about updating the reference builds, because it
means changing the baseline all new builds are compared to on the performance
graphs and can easily let regressions slip in.
The Chromium and Google Chrome builds the same revisions so you can compare
Google Chrome and Chromium performance data.
For the Chromium build, just take a build off the waterfall's continuous
builds, that way it is know to have passed tests, etc. Download the zip,
and to get it into svn:
1. Use rsync to get the file tree updated to the current layout:
rsync -r -C --delete \
[path_to_new]/Chromium.app \
src/chrome/tools/test/reference_build/chrome_mac/
2. Use svn stat to figure out what needs to be added/deleted:
svn stat src/chrome/tools/test/reference_build/chrome_mac/Chromium.app
a. Anything with a status of "!" you need to svn remove (usually the old
version directory is the only thing)
svn remove Chromium.app/Contents/Versions/[old_version]
b. Anything with a status of "?" you need to svn add (usually the new
version directory is the only thing). Remember to use --no-ignore so
any binary files svn might try to ignore get included (.so, .dylib,
etc.).
svn add --no-ignore Chromium.app/Contents/Versions/[new_version]
Since there usually isn't an official build with exact same revsion, you have
to do that yourself ("branding=Chrome buildtype=Official").
Once the build is done, remove the keystone framework and plist keys so when
it is used by tests, it won't try to keep itself updated.
rm -rf \
"Google Chrome.app/Contents/Versions/[new_version]/Google Chrome Framework.framework/Frameworks/KeystoneRegistration.framework"
From both the app and framework Info.plist:
"Google Chrome.app/Contents/Info.plist"
"Google Chrome.app/Contents/Versions/4.0.287.0/Google Chrome Framework.framework/Resources/Info.plist"
remove the Keystone entries:
KSVersion
KSProductID
KSUpdateURL
Then repeat the rsync/svn remove/svn add steps that were done with the Chromium
app, but with the Google Chrome app instead.
Finally commit these changes and you'll then need to roll src/DEPS to to pull
in the new reference builds.