Index: chromecast/build/README |
diff --git a/chromecast/build/README b/chromecast/build/README |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1662cb3afd582731171399ebb04924821fc9f8c6 |
--- /dev/null |
+++ b/chromecast/build/README |
@@ -0,0 +1,37 @@ |
+This directory contains the scripts for setting up the environment and |
+building Chromecast's content embedder, aka cast_shell. Currently we |
+only support building on x86 Linux host (but targets can be x86 or arm). |
+ |
+Prerequisites: |
+-------------- |
+ |
+Besides the prerequisites for building Chromium (see |
+https://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites), |
+you need to have depot_tools in your path as we use ninja to build. |
+ |
+Build: |
+------ |
+ |
+To build cast_shell on x86 Linux, |
+ |
+1. Set up the environment |
+ |
+ $ source chromecast/build/chromecast_build_env.sh |
+ |
+2. Pick the compielr and build flavor |
jam
2014/04/04 01:01:24
nit: spelling
|
+ |
+ Use Clang |
+ |
+ $ setup_chromium_env_clang_chromecast `pwd -P` <Debug|Release> |
+ |
+ Use GCC |
+ |
+ $ 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
|
+ |
+3. Create/update build files from gyp |
+ |
+ $ 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
|
+ |
+4. Buidl |
jam
2014/04/04 01:01:24
nit: spelling
|
+ |
+ $ 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.
|