Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: chromecast/build/README

Issue 223143003: Initial checkin of chromecast content embedder (cast_shell) and related build scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an additional function in gl_surface_cast.cc Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698