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

Issue 967443002: Assert when source is an absoluth path (Closed)

Created:
5 years, 9 months ago by Yang Gu
Modified:
5 years, 8 months ago
CC:
gyp-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Assert when source is an absolute path If the path passed to GypPathToUniqueOutput() is an absolute path, the output path is absolute too, instead of one starting from obj directory. Any intermediate file not residing in obj directory would cause problem and this CL adds an assertion. BUG=462153

Patch Set 1 #

Patch Set 2 : Avoid to use absolute path for sources #

Patch Set 3 : Assert when source is an absoluth path #

Patch Set 4 : Resubmit using gyp repo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M pylib/gyp/generator/ninja.py View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (9 generated)
Yang Gu
This bug is introduced when moving ndk.gyp and cpufeatures.gypi from third_party/android_tools (https://codereview.chromium.org/864323002). Please review, thanks!
5 years, 9 months ago (2015-02-27 01:26:11 UTC) #2
Nico
It'd be nice if there was a way to do this without requiring absolute path ...
5 years, 9 months ago (2015-02-27 01:57:59 UTC) #3
Yang Gu
On 2015/02/27 01:57:59, Nico wrote: > It'd be nice if there was a way to ...
5 years, 9 months ago (2015-02-27 02:46:24 UTC) #4
Nico
On 2015/02/27 02:46:24, Yang Gu wrote: > On 2015/02/27 01:57:59, Nico wrote: > > It'd ...
5 years, 9 months ago (2015-02-27 03:57:47 UTC) #5
Yang Gu
I updated the patch to use relative path for sources. Is this what you'd like ...
5 years, 9 months ago (2015-02-27 04:56:19 UTC) #6
Yang Gu
By the way, if patch set 2 is better, I'll change commit message accordingly.
5 years, 9 months ago (2015-02-27 04:57:29 UTC) #7
Yang Gu
> That's better, but it now repeats what's in build/common.gypi for android_ndk_path. > The comment ...
5 years, 9 months ago (2015-02-28 01:35:13 UTC) #8
Fabrice (no longer in Chrome)
On 2015/02/28 01:35:13, Yang Gu wrote: > > That's better, but it now repeats what's ...
5 years, 9 months ago (2015-03-02 13:54:23 UTC) #9
Nico
On 2015/03/02 13:54:23, Fabrice wrote: > On 2015/02/28 01:35:13, Yang Gu wrote: > > > ...
5 years, 9 months ago (2015-03-02 21:10:59 UTC) #10
Fabrice (no longer in Chrome)
On 2015/03/02 21:10:59, Nico wrote: > On 2015/03/02 13:54:23, Fabrice wrote: > > First, apologies ...
5 years, 9 months ago (2015-03-03 16:41:21 UTC) #11
Yang Gu
@Fabrice, thanks for your patch, which is very nice for me. I think this issue ...
5 years, 9 months ago (2015-03-04 02:12:38 UTC) #12
Nico
lgtm I suppose this is better than silently doing the wrong thing.
5 years, 9 months ago (2015-03-04 05:41:34 UTC) #13
Fabrice (no longer in Chrome)
lgtm, that sounds reasonable. Thanks! Just a small nit in the issue description. Could you ...
5 years, 9 months ago (2015-03-04 12:46:34 UTC) #14
Yang Gu
On 2015/03/04 12:46:34, Fabrice wrote: > lgtm, that sounds reasonable. Thanks! > > Just a ...
5 years, 9 months ago (2015-03-05 06:42:43 UTC) #15
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 9 months ago (2015-03-05 06:46:11 UTC) #18
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 9 months ago (2015-03-05 14:38:36 UTC) #22
Yang Gu
On 2015/03/05 06:46:11, I haz the power (commit-bot) wrote: > Commit queue rejected this change ...
5 years, 9 months ago (2015-03-05 14:38:48 UTC) #23
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 9 months ago (2015-03-05 14:43:40 UTC) #26
Fabrice (no longer in Chrome)
On 2015/03/05 14:38:48, Yang Gu wrote: > On 2015/03/05 06:46:11, I haz the power (commit-bot) ...
5 years, 9 months ago (2015-03-05 15:50:18 UTC) #27
Yang Gu
On 2015/03/05 15:50:18, Fabrice wrote: > On 2015/03/05 14:38:48, Yang Gu wrote: > > On ...
5 years, 9 months ago (2015-03-06 00:43:52 UTC) #28
Yang Gu
5 years, 9 months ago (2015-03-12 01:35:53 UTC) #30
bradnelson@, in patch set 4, I want to add an assertion in gyp repo to ensure
any intermediate file is generated in obj directory. I already got LGTM from
Nico and Fabrice. However, it seems I couldn't commit the patch as I'm not a
committer to gyp repo. Could you please review this and help me land the patch?
Thanks!

Powered by Google App Engine
This is Rietveld 408576698