When grabbing buildbot image and test artifacts, properly install the test artifacts as if they were built by the user (with the user as owner).
Review URL: http://codereview.chromium.org/703001
2. I dont fully understand why we need sudo inside this script. So I am removing it. Since I could not enter sudo password inside crontab. Please let me know if I missed anything and I could revert.
Review URL: http://codereview.chromium.org/666002
This saves almost 1 minute (out of 6) on my build host for the current full
build_autotest.sh. The savings will be more significant once the Chrome tests
(200MB+) also get into autotest.
Alternatively, we could still build the binary package and use it as part of
archive_build.sh (i.e., just copy it there instead of creating a new one).
But most people don't run archive_build so it may be better to not create
the binary package as part of build_autotest.sh.
Review URL: http://codereview.chromium.org/661473
sync_build_test runs build_autotest that way.
archive_build bzips up the autotest artifacts.
run_remote_tests can run autotest artifacts from a prepackaged directory. Note that because build_platform is in a different repository than these other files, it's unfortunately forced to be reviewed separately in http://codereview.chromium.org/661197 and committed independently.
Review URL: http://codereview.chromium.org/660189
For example, ./build_packages --<tab> will try to complete all supported
./build_packages flags (or print them if completion is non-unique).
This completion could be used outside chroot.
Review URL: http://codereview.chromium.org/661096
If you source this script inside chroot, you would get <tab> completion for the --board= argument for some build scripts.
For example,
. bash_completion
./build_image --board=x<tab>
may complete to
./build_image --board=x86-generic
if x86-generic is the only available board starting with "x". If not, it will list available boards with the given prefix.
We could extend this to work with setup_board and other scripts. Also, it may be nice to extend it to work outside chroot.
Does it make sense to make this part of the regular dev chroot by default? If so, not sure what the best way to do that. Maybe install this as a hard-host-depends and source it from the chroot user .bashrc?
Review URL: http://codereview.chromium.org/652129
Remove make_local_repo stage as it's not used by either build process.
Make portage build the default (--noportage still builds the old way).
Also add total time to build. A run of sync_build_test without args
on my machine takes 2:20min. Defaulting to --jobs=1 due to
instability reports.
Review URL: http://codereview.chromium.org/646015
ecee13e13945c7df79e397012054206cac6cb2f0 back to the previous revision.
This new file should be identical to the one at
ce18a0349a88ffbe01a2e88526aeb271b54dec60
Review URL: http://codereview.chromium.org/646057
1. work with the new portage build system. Yes, cross compiling works.
2. work with new upstream changes to build a single or a subset of site test which specified from command line.
I will update the how-to document after all code checked in.
Please also refer to change from 582012 which had been included here and 582012 will be abandoned after this CL checked in.
Review URL: http://codereview.chromium.org/596110
The original pattern "chrome-chromeos/chrome*" was loose enough
to include "chromeos/libcros.so" if it's present. The file should
not be included in chrome-chromeos.zip file, which is used to build
the chromeos-chrome deb package, since libcros.so is provided by
the chromeos-libcros deb package.
I had "chromium/src/out/Release/chromeos/libcros.so" to run the
Chromium OS version of Chromium browser locally with libcros.so
enabled.
TEST=manually:
% cd ../build/x86/local_assets
% unzip -l chrome-chromeos.zip > before
... made this change ...
% cd ../build/x86/local_assets
unzip -l chrome-chromeos.zip > after
% diff -u before after
--- before 2010-01-22 13:53:39.361522119 +0900
+++ after 2010-01-22 13:54:52.117212719 +0900
@@ -2,8 +2,6 @@
Length Date Time Name
--------- ---------- ----- ----
12584626 2010-01-22 13:46 chrome-chromeos/candidate_window
- 0 2010-01-22 13:13 chrome-chromeos/chromeos/
- 432316 2010-01-22 13:13 chrome-chromeos/chromeos/libcros.so
4850 2009-12-09 15:37 chrome-chromeos/product_logo_48.png
54594 2010-01-22 13:46 chrome-chromeos/session
0 2010-01-18 11:52 chrome-chromeos/resources/
@@ -220,4 +218,4 @@
127262 2010-01-21 14:05 chrome-chromeos/locales/ro.pak
112422 2010-01-21 14:05 chrome-chromeos/locales/en-GB.pak
--------- -------
- 66476904 218 files
+ 66044588 216 files
Review URL: http://codereview.chromium.org/552101