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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698