From 07fe79d41c2c1fe290ff1da5673ff16096f605c1 Mon Sep 17 00:00:00 2001 From: "sosa@google.com" Date: Wed, 25 Nov 2009 01:26:05 +0000 Subject: [PATCH] Add change to enable getting safe build of chrome Review URL: http://codereview.chromium.org/436035 git-svn-id: svn://chrome-svn/chromeos/trunk@318 06c00378-0e64-4dae-be16-12b19f9950a1 --- build_platform_packages.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build_platform_packages.sh b/build_platform_packages.sh index 1e49b9397b..dcf325153d 100755 --- a/build_platform_packages.sh +++ b/build_platform_packages.sh @@ -12,6 +12,7 @@ assert_inside_chroot # Flags +DEFINE_boolean stable $FLAGS_FALSE "Build with stable version of browser." # Parse command line FLAGS "$@" || exit 1 @@ -36,6 +37,12 @@ THIRD_PARTY_PACKAGES="connman e2fsprogs/files gflags gtest \ wpa_supplicant xscreensaver/xscreensaver-5.08 \ xserver-xorg-core xserver-xorg-video-intel" +if [ $FLAGS_stable -eq $FLAGS_TRUE ] +then + # Passed to copy_chrome_zip.sh to get stable version of the browser + export GET_STABLE_CHROME=1 +fi + # Build third_party packages first, since packages and libs depend on them. for i in $THIRD_PARTY_PACKAGES do