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

Issue 10692086: Change the gyp_chromium to build chromium in a symbolic link (Closed)

Created:
8 years, 5 months ago by yongsheng
Modified:
8 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Change the gyp_chromium to build chromium in a symbolic link If the path of chromium source is a symbolic link, os.getcwd() returns the real path but __file__ will include the symbolic link. It causes gyp failures due to the inconsistency. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146172

Patch Set 1 #

Total comments: 1

Patch Set 2 : Refine it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/gyp_chromium View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
tony
You have to use the Publish+Mail Comments link on the left side to notify reviewers ...
8 years, 5 months ago (2012-07-09 19:29:58 UTC) #1
M-A Ruel
http://codereview.chromium.org/10692086/diff/1/build/gyp_chromium File build/gyp_chromium (right): http://codereview.chromium.org/10692086/diff/1/build/gyp_chromium#newcode16 build/gyp_chromium:16: script_dir = os.path.realpath(os.path.dirname(__file__)) The correct way of doing it ...
8 years, 5 months ago (2012-07-09 19:32:14 UTC) #2
yongsheng
On 2012/07/09 19:29:58, tony wrote: > You have to use the Publish+Mail Comments link on ...
8 years, 5 months ago (2012-07-11 01:29:47 UTC) #3
yongsheng
On 2012/07/09 19:32:14, Marc-Antoine Ruel wrote: > http://codereview.chromium.org/10692086/diff/1/build/gyp_chromium > File build/gyp_chromium (right): > > http://codereview.chromium.org/10692086/diff/1/build/gyp_chromium#newcode16 ...
8 years, 5 months ago (2012-07-11 01:32:46 UTC) #4
yongsheng
On 2012/07/09 19:32:14, Marc-Antoine Ruel wrote: > http://codereview.chromium.org/10692086/diff/1/build/gyp_chromium > File build/gyp_chromium (right): > > http://codereview.chromium.org/10692086/diff/1/build/gyp_chromium#newcode16 ...
8 years, 5 months ago (2012-07-11 02:21:25 UTC) #5
tony
LGTM. Marc-Antoine, is it OK with you too?
8 years, 5 months ago (2012-07-11 16:34:07 UTC) #6
M-A Ruel
On 2012/07/11 16:34:07, tony wrote: > LGTM. Marc-Antoine, is it OK with you too? lgtm, ...
8 years, 5 months ago (2012-07-11 16:35:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10692086/7001
8 years, 5 months ago (2012-07-11 18:05:49 UTC) #8
commit-bot: I haz the power
Change committed as 146172
8 years, 5 months ago (2012-07-11 19:34:24 UTC) #9
yongsheng
8 years, 5 months ago (2012-07-12 01:18:26 UTC) #10
On 2012/07/11 16:35:06, Marc-Antoine Ruel wrote:
> On 2012/07/11 16:34:07, tony wrote:
> > LGTM.  Marc-Antoine, is it OK with you too?
> 
> lgtm, since os.path.realpath() is a superset of os.path.abspath().

thanks very much for you guys.

Powered by Google App Engine
This is Rietveld 408576698