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

Issue 344573002: Introduce '--no-duplicate-basename-check' option to disable the check of duplicate basenames (Closed)

Created:
6 years, 6 months ago by yukawa
Modified:
6 years, 6 months ago
Reviewers:
Nico, Torne, Ryan Sleevi, scottmg
CC:
gyp-developer_googlegroups.com, iroth, Sam Clegg, bradnelson, mtomasz, Evan Martin
Visibility:
Public.

Description

Introduce '--no-duplicate-basename-check' option to disable the check of duplicate basenames With this CL, the check of duplicate basenames in the same source list can be disabled with '--no-duplicate-basename-check' option. Now GYP generators can handle duplicate basenames except for VCProj generator for Visual C++ 2008 and Makefile generator on Mac. Given that these two generators are no longer actively used, and supposed to be deprecated in future, providing an option to disable this validation should be helpful for some GYP users. Note that these two generators continue to treat duplicate basenames continue as an error regardless of '--no-duplicate-basename-check'. BUG=gyp:264, gyp:384 R=scottmg@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1947

Patch Set 1 : #

Patch Set 2 : Introduce '--no-duplicate-basename-check' option instead of disabling the validation by default #

Patch Set 3 : Revise error message so that users can easily find --no-duplicate-basename-check option #

Patch Set 4 : Rebase with r1946 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -50 lines) Patch
M pylib/gyp/__init__.py View 1 4 chunks +16 lines, -6 lines 0 comments Download
M pylib/gyp/generator/make.py View 3 chunks +37 lines, -0 lines 0 comments Download
M pylib/gyp/generator/msvs.py View 1 2 3 2 chunks +41 lines, -0 lines 0 comments Download
M pylib/gyp/input.py View 1 2 5 chunks +15 lines, -8 lines 0 comments Download
M test/errors/gyptest-errors.py View 1 2 chunks +13 lines, -0 lines 0 comments Download
D test/same-source-file-name/gyptest-fail-shared.py View 1 chunk +0 lines, -18 lines 0 comments Download
D test/same-source-file-name/gyptest-fail-static.py View 1 chunk +0 lines, -18 lines 0 comments Download
A + test/same-source-file-name/gyptest-shared.py View 1 1 chunk +13 lines, -0 lines 0 comments Download
A + test/same-source-file-name/gyptest-static.py View 1 1 chunk +16 lines, -0 lines 0 comments Download
M test/same-source-file-name/src/double-shared.gyp View 2 chunks +6 lines, -0 lines 0 comments Download
M test/same-source-file-name/src/double-static.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
yukawa
Hi Scott, Nico. Torne, Ryan. I know that I'm not the first person who requested ...
6 years, 6 months ago (2014-06-18 17:31:02 UTC) #1
scottmg
Per Ryan's comment on the thread linked to, I think this is contrary to gyp ...
6 years, 6 months ago (2014-06-18 19:47:37 UTC) #2
scottmg
On 2014/06/18 19:47:37, scottmg wrote: > Per Ryan's comment on the thread linked to, I ...
6 years, 6 months ago (2014-06-18 19:49:20 UTC) #3
yukawa
On 2014/06/18 19:49:20, scottmg wrote: > On 2014/06/18 19:47:37, scottmg wrote: > > Per Ryan's ...
6 years, 6 months ago (2014-06-19 00:36:38 UTC) #4
yukawa
On 2014/06/19 00:36:38, yukawa wrote: > On 2014/06/18 19:49:20, scottmg wrote: > > On 2014/06/18 ...
6 years, 6 months ago (2014-06-20 18:36:42 UTC) #5
yukawa
On 2014/06/20 18:36:42, yukawa wrote: > On 2014/06/19 00:36:38, yukawa wrote: > > On 2014/06/18 ...
6 years, 6 months ago (2014-06-24 16:14:01 UTC) #6
scottmg
My apologies, I missed the update. LGTM
6 years, 6 months ago (2014-06-24 17:14:31 UTC) #7
yukawa
On 2014/06/24 17:14:31, scottmg wrote: > My apologies, I missed the update. LGTM Thanks! Submitting.
6 years, 6 months ago (2014-06-24 23:32:12 UTC) #8
yukawa
6 years, 6 months ago (2014-06-25 01:49:03 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 manually as r1947 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698