Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 This directory contains the scripts for setting up the environment and | |
| 2 building Chromecast's content embedder, aka cast_shell. Currently we | |
| 3 only support building on x86 Linux host (but targets can be x86 or arm). | |
| 4 | |
| 5 Prerequisites: | |
| 6 -------------- | |
| 7 | |
| 8 Besides the prerequisites for building Chromium (see | |
| 9 https://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites), | |
| 10 you need to have depot_tools in your path as we use ninja to build. | |
| 11 | |
| 12 Build: | |
| 13 ------ | |
| 14 | |
| 15 To build cast_shell on x86 Linux, | |
| 16 | |
| 17 1. Set up the environment | |
| 18 | |
| 19 $ source chromecast/build/chromecast_build_env.sh | |
| 20 | |
| 21 2. Pick the compielr and build flavor | |
|
jam
2014/04/04 01:01:24
nit: spelling
| |
| 22 | |
| 23 Use Clang | |
| 24 | |
| 25 $ setup_chromium_env_clang_chromecast `pwd -P` <Debug|Release> | |
| 26 | |
| 27 Use GCC | |
| 28 | |
| 29 $ setup_chromium_env_x86_chromecast `pwd -P` <Debug|Release> | |
|
jam
2014/04/04 01:01:24
hmm, so in general, most devs are used to putting
lcwu1
2014/04/05 01:17:13
Having a wrapper to populate GYP_DEFINES is easier
| |
| 30 | |
| 31 3. Create/update build files from gyp | |
| 32 | |
| 33 $ update_gyp | |
|
jam
2014/04/04 01:01:24
Why isn't this just build/gyp_chromium? I see the
lcwu1
2014/04/05 01:17:13
Yes, gclient would pull in gn. However, in our cur
| |
| 34 | |
| 35 4. Buidl | |
|
jam
2014/04/04 01:01:24
nit: spelling
| |
| 36 | |
| 37 $ mymake cast_shell | |
|
jam
2014/04/04 01:01:24
like above, why is there a wrapper around calling
lcwu1
2014/04/05 01:17:13
Yes, good point. Will do.
| |
| OLD | NEW |