Posted by Andrew.
Google released Chromium OS open source project. The code of Chromium OS is free, accessible to anyone and open for contributions. In this tutorial we will see how to download the source code for the Chromium OS project.
Note: If you just want to see the code, you can browse or search the source code repository.
Please download the tar.gz file and unpack it into a local directory called chromiumos:
Download Link: chromiumos-0.4.22.8.tar.gz
File size: 232 MB
sudo apt-get install git-core
mkdir [chromiumos] cd [chromiumos] gclient config http://src.chromium.org/git/chromiumos.git gclient sync
Note: This process may appear to hang while downloading the kernel source. It may take anywhere up to 10-20 minutes before you get more feedback.
The following document details the source tree hierarchy you are likely to encounter while developing for Chromium OS:
This directory contains the build dev packages that are listed in the repo_list_dev.
The main src directory. All files that are built and end up in the final Chromium OS image are located here.
This directory is created when you build from inside the chroot environment.
Has built images from our build_image.sh script in folders by corresponding build numbers
The x86 directory (and others, once we support different architectures) has the local_packages that are created from all the individual make_pkg.sh's within platforms and third_party
Contains includes and libraries for logging and flags.
Contains text files that list the packages used in building a Chromium OS image.
Contains all Chromium OS packages that are created completely for Chromium OS.
Contains the many necessary scripts to help you build a Chromium OS system.
Contains system-level Autotest tests that our testers use to test every image release candidate.
Contains open source packages we have modified and are using for Chromium OS.
How to get the Chromium OS/Chrome OS source code