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

Issue 10700141: Canonicalize CHROME_SRC variable on Android (Closed)

Created:
8 years, 5 months ago by Sami
Modified:
8 years, 5 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Canonicalize CHROME_SRC variable on Android If $PWD contains a symlink, build/android/envsetup.sh ends up setting CHROME_SRC to the same symlinked path. This breaks some utilities (e.g., grit) that work with absolute paths and expect them to be prefixed by CHROME_SRC. The fix is to set CHROME_SRC to the canonical absolute path of the current directory. BUG= TEST=cd $SYMLINKED_PATH; unset CHROME_SRC; . build/android/envsetup.sh; android_gyp Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146097

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M build/android/envsetup.sh View 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Sami
8 years, 5 months ago (2012-07-10 16:49:53 UTC) #1
John Knottenbelt
lgtm
8 years, 5 months ago (2012-07-10 17:38:23 UTC) #2
John Grabowski
LGTM
8 years, 5 months ago (2012-07-10 17:39:40 UTC) #3
yongsheng
hehe, I also find this issue. but seems it isn't only a problem for building ...
8 years, 5 months ago (2012-07-11 06:33:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/10700141/1
8 years, 5 months ago (2012-07-11 09:24:09 UTC) #5
commit-bot: I haz the power
8 years, 5 months ago (2012-07-11 10:23:53 UTC) #6
Change committed as 146097

Powered by Google App Engine
This is Rietveld 408576698