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

Issue 113555: Adding a general script to fetch values from the BRANDING files. (Closed)

Created:
11 years, 7 months ago by TVL
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Adding a general script to fetch values from the BRANDING files. Update the scripts to fetch values from the BRANDING files instead of hardcoding the values. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16372

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 9

Patch Set 4 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -40 lines) Patch
A build/branding_value.sh View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
M build/mac/build_app_dmg View 3 1 chunk +7 lines, -13 lines 2 comments Download
M build/mac/dump_app_syms View 3 1 chunk +2 lines, -8 lines 0 comments Download
M build/mac/tweak_app_infoplist View 3 2 chunks +6 lines, -19 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
TVL
Here go, this gets more of the hardcoded stuff out of script files which seems ...
11 years, 7 months ago (2009-05-19 13:25:04 UTC) #1
Mark Mentovai
http://codereview.chromium.org/113555/diff/4/5 File build/branding_value.sh (right): http://codereview.chromium.org/113555/diff/4/5#newcode25 Line 25: BUILD_DIR=$(dirname "$(echo $0 | sed -e "s,^\([^/]\),$(pwd)/\1,")") RE ...
11 years, 7 months ago (2009-05-19 13:38:03 UTC) #2
TVL
http://codereview.chromium.org/113555/diff/4/5 File build/branding_value.sh (right): http://codereview.chromium.org/113555/diff/4/5#newcode25 Line 25: BUILD_DIR=$(dirname "$(echo $0 | sed -e "s,^\([^/]\),$(pwd)/\1,")") On ...
11 years, 7 months ago (2009-05-19 13:47:32 UTC) #3
Mark Mentovai
11 years, 7 months ago (2009-05-19 13:57:14 UTC) #4
LGTM

http://codereview.chromium.org/113555/diff/16/20
File build/mac/build_app_dmg (right):

http://codereview.chromium.org/113555/diff/16/20#newcode29
Line 29: BRAND_SCRIPT="${TOP}/build/branding_value.sh"
I don't think you need this in the "set -x" section, it seems more like it
belongs with PKG_DMG=.

http://codereview.chromium.org/113555/diff/16/20#newcode30
Line 30: APP_NAME=$("${BRAND_SCRIPT}" "${BUILD_BRANDING}" PRODUCT_FULLNAME)
On the other hand, this can stay in the "set -x" section, and should be more
than enough to share the value of BRAND_SCRIPT.

http://codereview.chromium.org/113555/diff/16/19
File build/mac/tweak_app_infoplist (right):

http://codereview.chromium.org/113555/diff/16/19#newcode60
Line 60: BRAND_SCRIPT="${TOP}/build/branding_value.sh"
-x section?

Powered by Google App Engine
This is Rietveld 408576698