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

Unified Diff: build/install-build-deps.sh

Issue 12313039: Installing ChromeOS font on developer Linux machine (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: update Created 7 years, 10 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
« no previous file with comments | « no previous file | build/linux/install-chromeos-fonts.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/install-build-deps.sh
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index 4cb5165a0c0fb761dc6ce361ef9468ff44dac04f..ee27a500231c12c1e2fe6b2c6b6b8645a6bd5168 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -14,6 +14,8 @@ usage() {
echo "--[no-]syms: enable or disable installation of debugging symbols"
echo "--[no-]lib32: enable or disable installation of 32 bit libraries"
echo "--[no-]arm: enable or disable installation of arm cross toolchain"
+ echo "--[no-]chromeos-fonts: enable or disable installation of Chrome OS"\
Daniel Erat 2013/02/21 21:51:43 nit: think you need a space before the closing dou
sschmitz 2013/02/21 22:04:27 Actually no. Example: % echo "abc" "def" abc de
+ "fonts"
echo "--no-prompt: silently select standard options/defaults"
echo "Script will prompt interactively if options not given."
exit 1
@@ -28,6 +30,8 @@ do
--no-lib32) do_inst_lib32=0;;
--arm) do_inst_arm=1;;
--no-arm) do_inst_arm=0;;
+ --chromeos-fonts) do_inst_chromeos_fonts=1;;
+ --no-chromeos-fonts) do_inst_chromeos_fonts=0;;
--no-prompt) do_default=1
do_quietly="-qq --assume-yes"
;;
@@ -201,6 +205,15 @@ else
dbg_list=
fi
+# Install the Chrome OS default fonts.
+if test "$do_inst_chromeos_fonts" != "0"; then
+ echo "Installing Chrome OS fonts."
+ dir=`echo $0 | sed -r -e 's/\/[^/]+$//'`
+ sudo $dir/linux/install-chromeos-fonts.py
+else
+ echo "Skipping installation of Chrome OS fonts."
+fi
Nico 2013/09/17 19:48:25 As this new script depends on curl, can you move t
+
# When cross building for arm on 64-bit systems the host binaries
# that are part of v8 need to be compiled with -m32 which means
# that basic multilib support is needed.
« no previous file with comments | « no previous file | build/linux/install-chromeos-fonts.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698