Commit Graph

4103 Commits

Author SHA1 Message Date
Will Drewry
0023873422 Overhaul microbenchmark so that it can be pulled in easily by any package
This follows the model set by gtest_main.a and adds a microbenchmark_main.a
which can be pulled in by any package to do quick microbenchmarking of any of
the functions in their tree.

This change also includes updates to minijail as an example usage of the microbenchmark code.

Last but not least, I fixed a copy and paste error in the copyright and a
missing comma in the output as well as updated some comments.

Review URL: http://codereview.chromium.org/492005
2009-12-10 12:31:47 -08:00
Chris Masone
69813668b1 make cryptohome check a magic file to discern between chrome-login and slim-login
Also, thanks to the magic of git, this CL also includes an edit to pull the chrome-login support binaries into the chromeos-chrome package.

Review URL: http://codereview.chromium.org/490001
2009-12-10 11:17:18 -08:00
David McMahon
857dbb59c0 Add --official_build option, and skip checking HEAD against origin/HEAD for official builds.
Review URL: http://codereview.chromium.org/486002
2009-12-09 18:21:05 -08:00
Andrew de los Reyes
0265e49f47 Fonts: add DejaVu, AbyssinicaSIL
Legal signed off on these fonts, which are Ubuntu packages ttf-dejavu,
ttf-sil-abyssinica.

Review URL: http://codereview.chromium.org/465144
2009-12-09 16:35:22 -08:00
David McMahon
53c74c9d74 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-09 16:06:23 -08:00
David McMahon
98bccaf8f1 Deal with empty build_number in archive_build.sh.
Set and pass-thru REAL_USER for use in chroots.
Remove extraneous CHROMEOS_VERSION_* settings from chromeos_version.sh.

Review URL: http://codereview.chromium.org/471008
2009-12-09 10:44:45 -08:00
David McMahon
20c39616b0 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-09 10:43:11 -08:00
Bill Richardson
ea16938abe fix typo in comment
Review URL: http://codereview.chromium.org/477001
2009-12-09 08:42:56 -08:00
David McMahon
9c8a14021d Created branch 24. Update CHROMEOS_VERSION_BRANCH=25 2009-12-08 18:41:07 -08:00
David McMahon
b059e344fc Misc. fixes to versioning. 2009-12-08 18:12:28 -08:00
David McMahon
63adf95938 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-08 17:03:25 -08:00
David McMahon
fc23824e2b Split Continuous/User build and provide useful version information for continuous builder
Review URL: http://codereview.chromium.org/460118
2009-12-08 16:31:45 -08:00
David McMahon
86694aa35e Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-08 16:31:30 -08:00
David McMahon
03aeb20079 Revert versioning to original (odd=trunk/dev, even=release) style.
Add handling for third type - continuous builds and (label) appropriately.
2009-12-08 16:30:21 -08:00
Chris Sosa
fe9f9768b7 Changes to include metrics collection package in system and no-op script customizable by overlay
Review URL: http://codereview.chromium.org/465131
2009-12-08 15:52:14 -08:00
David McMahon
e90dbc8e59 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-07 17:01:53 -08:00
Will Drewry
8bbf602bac Add build and package support to minijail
Packaging:
- Adds packaging for minijail
- Adds support for building minijail in the chroot (libcap-dev)
- Fixes libcap2 versioning to be compatible with libcap-dev in the repo
- Build minijail as part of the platform packages
Code:
- Fixed an initialization check bug in minijail and unittests

Review URL: http://codereview.chromium.org/465106
2009-12-07 15:50:16 -08:00
kmixter@google.com
1528403974 By default use the most recently built image when modifying an image for test.
Review URL: http://codereview.chromium.org/462043

git-svn-id: svn://chrome-svn/chromeos/trunk@344 06c00378-0e64-4dae-be16-12b19f9950a1
2009-12-07 23:11:44 +00:00
David McMahon
0ba0635620 Split Continuous/User build and provide useful version information for continuous builder 2009-12-07 12:41:42 -08:00
cmasone@google.com
f2e1e52b25 chromeos now == toolkit_views
Review URL: http://codereview.chromium.org/465071

git-svn-id: svn://chrome-svn/chromeos/trunk@337 06c00378-0e64-4dae-be16-12b19f9950a1
2009-12-04 22:22:44 +00:00
yusukes@google.com
34b9d1c988 Build IBus packages.
- scripts/build_platform_packages.sh

Run third_party/{ibus, ibus-chewing, ibus-anthy}/make_pkg.sh scripts in order to create IBus debian packages.

- third_party/ibus/make_pkg.sh
- third_party/ibus-chewing/make_pkg.sh
- third_party/ibus-anthy/make_pkg.sh

New files.

- third_party/ibus-chewing/ibus-chewing_1.2.0.20090818-2.diff.gz
- third_party/ibus-anthy/ibus-anthy_1.2.0.20090813-2.diff.gz

New files. These patch files create debian/ directories under third_party/ibus-chewing/ and third_party/ibus-anthy/ respectively.
These files are copied from Ubuntu Karmic's deb source packages, just like third_party/clutter/clutter-1.0_1.0.4-0ubuntu1.diff.gz (I believe it's okay, but let me double-check).

- package_repo/package-list-prod.txt
- package_repo/repo_list_image.txt

Add IBus packages to the rootfs image.

- package_repo/package-list-dev.txt

Add debian packages that are necessary to build IBus packages. Please note that autopoint script in gettext package requires cvs for unknown reasons.

- package_repo/repo_list_dev.txt

* IBus code requires slightly newer version of Gtk+/Glib. Upgraded them from 2.17.2-0ubuntu2 to 2.17.7-0ubuntu3 (Gtk+), from 2.21.2-0ubuntu1 to 2.21.4-0ubuntu1 (Glib).
* cmake-data depends on emacsen-common and update-indetd.
* python-gobject-dev depends on libffi-dev.
* python2.6-dev is required, but python2.6-dev_2.6.2-0ubuntu2 is not available on Ubuntu (I don't know why). Therefore, upgraded all python2.6* packages from 2.6.2-0ubuntu2 to 2.6.2-0ubuntu3.

Review URL: http://codereview.chromium.org/434033

Review URL: http://codereview.chromium.org/444016

git-svn-id: svn://chrome-svn/chromeos/trunk@325 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-27 02:16:49 +00:00
msb@google.com
92f79bfd74 build: cleanup kernel build
* Remove deb patch support
* Fix --config to actually work
* Other cleanup

Review URL: http://codereview.chromium.org/436043

git-svn-id: svn://chrome-svn/chromeos/trunk@321 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-25 05:40:09 +00:00
sosa@google.com
07fe79d41c Add change to enable getting safe build of chrome
Review URL: http://codereview.chromium.org/436035

git-svn-id: svn://chrome-svn/chromeos/trunk@318 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-25 01:26:05 +00:00
djmm@google.com
cc4f826f05 Update post-open-source release from 4->5.
git-svn-id: svn://chrome-svn/chromeos/trunk@313 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-24 18:13:05 +00:00
scherkus@google.com
588da2dc8b Turn NUM_JOBS into an overridable flag for distcc builds.
BUG=n/a
TEST=n/a

Review URL: http://codereview.chromium.org/425012


git-svn-id: svn://chrome-svn/chromeos/trunk@308 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-23 22:06:28 +00:00
derat@google.com
5fc3fcf15e build: Make make_chroot and make_local_repo fail when run as root.
Still seeing some bugs get filed related to this.  I went through
all of the scripts, but let me know if I missed any.

Review URL: http://codereview.chromium.org/432002

git-svn-id: svn://chrome-svn/chromeos/trunk@306 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-23 16:33:38 +00:00
derat@google.com
4e7a92bd48 build: Update build_image.sh for non-~/chromeos setups.
BUG=659

Review URL: http://codereview.chromium.org/431001

git-svn-id: svn://chrome-svn/chromeos/trunk@305 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-21 23:44:14 +00:00
derat@google.com
86dcc8e68b build: Make enter_chroot.sh fail if run as root.
BUG=684

Review URL: http://codereview.chromium.org/429006

git-svn-id: svn://chrome-svn/chromeos/trunk@304 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-21 19:49:49 +00:00
derat@google.com
a9948c6336 build: Update fontconfig to fall back on Droid.
This fixes monospace fonts in Chrome.  This change also
moves some static files out of customize_rootfs.sh.

BUG=237

Review URL: http://codereview.chromium.org/424011

git-svn-id: svn://chrome-svn/chromeos/trunk@303 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-21 18:01:05 +00:00
tedbo@google.com
c0c8c69143 Split out installation of packages from customize_rootfs into a separate script.
The build_image script now calls install_packages.sh followed
by customize_rootfs.sh.

The current system installs packages and performs customization
fixups from within the rootfs it is building. In order to
cross-build properly we'll need to do these steps from outside
of the root. Splitting package installation and rootfs customization
will make it easier to do this. A follow-on change will modify
customize_rootfs to run from outside of the rootfs.

Review URL: http://codereview.chromium.org/414051

git-svn-id: svn://chrome-svn/chromeos/trunk@300 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-20 22:15:58 +00:00
kwaters@google.com
5db44aa611 Add fio based autotest cases.
- Rev chromeos-systemtests, and add fio as a dependency.
- Add fio into the image during mod_image_for_test.sh

Review URL: http://chromereview.prom.corp.google.com/1180028

git-svn-id: svn://chrome-svn/chromeos/trunk@297 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-19 22:31:21 +00:00
sosa@google.com
d8797c3e4d Remove chrome branding
Review URL: http://chromereview.prom.corp.google.com/1187091

git-svn-id: svn://chrome-svn/chromeos/trunk@288 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-19 01:58:22 +00:00
seanparent@google.com
b8b373e187 Start of script for entering tracker reports.
Review URL: http://chromereview.prom.corp.google.com/1188074

git-svn-id: svn://chrome-svn/chromeos/trunk@283 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-18 23:35:51 +00:00
djmm@google.com
dbeea200b4 Mask error if nothing to DEFAULT_FROM.
Review URL: http://chromereview.prom.corp.google.com/1188077


git-svn-id: svn://chrome-svn/chromeos/trunk@275 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-18 02:43:30 +00:00
tedbo@google.com
afab3ca65c Workaround the fact that Ubuntu packages want to install
their own init script in /etc/init.

This changes the chromeos-init package to install our
init scripts in /etc/init.chromeos. In the customize_rootfs
stage we remove /etc/init and replace with our init scripts.

Review URL: http://chromereview.prom.corp.google.com/1187069


git-svn-id: svn://chrome-svn/chromeos/trunk@264 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-17 18:14:36 +00:00
djmm@google.com
72cfa11d9b Add an --official_build option to set CHROMEOS_OFFICIAL=1 (used by buildbot).
Review URL: http://chromereview.prom.corp.google.com/1188062

git-svn-id: svn://chrome-svn/chromeos/trunk@258 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-17 00:26:20 +00:00
rtc@google.com
d172735c1f Removes the old chromeos-wifi package
Review URL: http://chromereview.prom.corp.google.com/1187065

git-svn-id: svn://chrome-svn/chromeos/trunk@257 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-16 23:20:42 +00:00
djmm@google.com
42ac48c9aa Update CHROMEOS_VERSION_MINOR=4 and CHROMEOS_VERSION_CODENAME="".
Review URL: http://chromereview.prom.corp.google.com/1188057

git-svn-id: svn://chrome-svn/chromeos/trunk@256 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-16 23:08:37 +00:00
djmm@google.com
8b4ec454ed Just send all CHROMEOS_ vars to the var script.
Review URL: http://chromereview.prom.corp.google.com/1188056

git-svn-id: svn://chrome-svn/chromeos/trunk@255 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-16 23:08:29 +00:00
tedbo@google.com
51390cc378 Since postinst is part of installer, the software updater
should depend on the installer package.

Move postinst out of customize_rootfs and into the installer
package (at least for now).

Review URL: http://chromereview.prom.corp.google.com/1187059


git-svn-id: svn://chrome-svn/chromeos/trunk@252 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-16 19:09:06 +00:00
djmm@google.com
6e216c19eb Make sure we're passing CHROMEOS_REVISION through to customized rootfs.
Review URL: http://chromereview.prom.corp.google.com/1187047

git-svn-id: svn://chrome-svn/chromeos/trunk@241 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 23:54:41 +00:00
msb@google.com
843e9a3cf1 Fix typo
Review URL: http://chromereview.prom.corp.google.com/1187046

git-svn-id: svn://chrome-svn/chromeos/trunk@239 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 22:31:50 +00:00
djmm@google.com
6ba3393116 Move the setting of CHROMEOS_VERSION_DESCRIPTION which uses CHROMEOS_REVISION out of chromeos_version.sh where it may not be set when called from archive_build.sh. Set it the only place it's used, in customize_rootfs.sh.
Review URL: http://chromereview.prom.corp.google.com/1187036

git-svn-id: svn://chrome-svn/chromeos/trunk@237 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 21:04:21 +00:00
tedbo@google.com
4393d5501e Remove USE_UBUNTU_KERNEL stuff.
Review URL: http://chromereview.prom.corp.google.com/1188039


git-svn-id: svn://chrome-svn/chromeos/trunk@235 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 19:22:30 +00:00
albertb@google.com
82275a3e16 Don't crash if the cookie pipe doesn't exist.
Review URL: http://chromereview.prom.corp.google.com/1187035

git-svn-id: svn://chrome-svn/chromeos/trunk@233 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 19:17:31 +00:00
wfrichar@google.com
8f72cbd775 Don't install Recommended packages, only required ones.
But, we still explictly require bootchart-java, to create the pretty picture.

Without explicitly adding bootchart-java, it removes these packages:

  bootchart-java
  ca-certificates-java
  default-jre-headless
  gcj-4.4-base
  gcj-4.4-jre
  gcj-4.4-jre-headless
  gcj-4.4-jre-lib
  gcj-jre
  gcj-jre-headless
  icedtea-6-jre-cacao
  java-common
  libcommons-cli-java
  libcommons-compress-java
  libcommons-lang-java
  libgcj-common
  libgcj10
  libgcj10-awt
  libjline-java
  liblcms1
  openjdk-6-jre-headless
  openjdk-6-jre-lib
  python-central
  rhino
  tzdata-java

By explicitly adding bootchart-java it removes only these packages:

  gcj-4.4-jre-lib
  icedtea-6-jre-cacao

Either way, bootchart still collects the data so it is possible to generate
the pictures remotely.

Review URL: http://chromereview.prom.corp.google.com/1188035


git-svn-id: svn://chrome-svn/chromeos/trunk@225 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 02:18:53 +00:00
djmm@google.com
4c249eb20f Created branch 22. Update CHROMEOS_VERSION_BRANCH=23
git-svn-id: svn://chrome-svn/chromeos/trunk@222 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 00:28:56 +00:00
tedbo@google.com
23eef58c60 Add acpi pacakge for our acpi scripts.
This removes the acpi stuff from customize_rootfs and should make it easier
to do more acpi stuff in the future as needed. We still need to figure out
how to handle acpi across different devices.

Review URL: http://chromereview.prom.corp.google.com/1186038


git-svn-id: svn://chrome-svn/chromeos/trunk@220 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 00:04:19 +00:00
djmm@google.com
7ba1563d79 Use git for "revision" if svn is unavailable.
Review URL: http://chromereview.prom.corp.google.com/1186033

git-svn-id: svn://chrome-svn/chromeos/trunk@219 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 00:00:16 +00:00
rtc@google.com
b085577b4b Changes the build_all script so that it can be run from outside of the scripts directory
Review URL: http://chromereview.prom.corp.google.com/1186036

git-svn-id: svn://chrome-svn/chromeos/trunk@218 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-12 20:23:33 +00:00