yuk...@chromium.org
unread,Jun 18, 2014, 1:31:03 PM6/18/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sco...@chromium.org, tha...@chromium.org, to...@chromium.org, rsl...@chromium.org, gyp-de...@googlegroups.com, ir...@google.com, s...@chromium.org, bradn...@chromium.org, mto...@chromium.org, ev...@chromium.org
Reviewers: scottmg, Nico (away), Torne, Ryan Sleevi,
Message:
Hi Scott, Nico. Torne, Ryan.
I know that I'm not the first person who requested this, but I'd like to
hear
comments about the possibility to relax the condition when duplicate
basenames
are treated as an error.
My assumption is that relaxing this condition shouldn't be so dangerous as
long
as duplicate basenames continue to be detected as an error on platforms
where
they are actually troublesome. What do you think about this approach?
Just FYI, here is the list of related discussions I found. Sorry if I
missed
some important discussions.
-
https://code.google.com/p/gyp/issues/detail?id=264
-
https://code.google.com/p/gyp/issues/detail?id=384
-
https://groups.google.com/d/msg/gyp-developer/QN-nYWTMUkM/utHOh9kjx9oJ
-
https://codereview.chromium.org/12063003/
-
https://codereview.chromium.org/12381003/
Description:
Do not treat duplicate basenames as an error except for MSVC2008 generator
and
Make generator on OSX
With this CL, duplicate basenames in the same source list are no longer
treated
as an error except for MSVC2008 generator and Make generator on OSX.
This change should not be so dangerous because those generators that don't
support duplicate basename continue to detect duplicate basenames as an
error
even with this CL. In other words, it becomes much more important for each
project owner to set up and maintain try servers/build bots to detect build
breakage as soon as possible.
BUG=gyp:264, gyp:384
Please review this at
https://codereview.chromium.org/344573002/
SVN Base:
http://gyp.googlecode.com/svn/trunk
Affected files (+117, -73 lines):
M pylib/gyp/generator/make.py
M pylib/gyp/generator/msvs.py
M pylib/gyp/input.py
M test/errors/gyptest-errors.py
D test/same-source-file-name/gyptest-fail-shared.py
D test/same-source-file-name/gyptest-fail-static.py
A + test/same-source-file-name/gyptest-shared.py
A + test/same-source-file-name/gyptest-static.py
M test/same-source-file-name/src/double-shared.gyp
M test/same-source-file-name/src/double-static.gyp