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

Issue 4917001: Stop using CHROME_BUILD altogether - companion change coming in crostools. (Closed)

Created:
10 years, 1 month ago by David McMahon
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Stop using CHROME_BUILD altogether - companion change coming in crostools. BUG= TEST= Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=37f4222

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M chromeos_version.sh View 1 chunk +2 lines, -3 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
David McMahon
10 years, 1 month ago (2010-11-12 22:17:12 UTC) #1
David McMahon
ping.
10 years, 1 month ago (2010-11-12 23:41:21 UTC) #2
scottz-goog
http://codereview.chromium.org/4917001/diff/1/chromeos_version.sh File chromeos_version.sh (right): http://codereview.chromium.org/4917001/diff/1/chromeos_version.sh#newcode88 chromeos_version.sh:88: export CHROME_VERSION="$CHROME_VERSION" So other scripts are calling this with ...
10 years, 1 month ago (2010-11-12 23:51:23 UTC) #3
scottz-goog
LGTM since we are going to be in a better state soon I hear.
10 years, 1 month ago (2010-11-12 23:55:01 UTC) #4
David McMahon
10 years, 1 month ago (2010-11-13 00:38:06 UTC) #5
http://codereview.chromium.org/4917001/diff/1/chromeos_version.sh
File chromeos_version.sh (right):

http://codereview.chromium.org/4917001/diff/1/chromeos_version.sh#newcode88
chromeos_version.sh:88: export CHROME_VERSION="$CHROME_VERSION"
On 2010/11/12 23:51:23, scottz-goog wrote:
> So other scripts are calling this with
> CHROME_VERSION ./chromeos_version.sh? 
> 
> It seems more like the caller should be exporting CHROME_VERSION?

Well this is kind of a hack on a hack.  --chromebuild= was removed from
build_packages in prep for a future mechanism, so in the mean-time we need to
have some way to pass in a chrome version to build_packages (which sources
chromeos_version.sh).  In the case of a branch, CHROME_VERSION in
chromeos_version.sh gets written explicitly with the Chrome version for that
branch.  In the case of ToT, it is set in cbuild and needs to be passed down
through to the ebuild and needs to be exported.  It could be exported by the
caller (cbuild), but I'd rather keep the setting simple at the highest level and
let the build scripts handle any additional requirements (exporting) for now
until whatever future mechanism is put in place.

Powered by Google App Engine
This is Rietveld 408576698