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

Issue 9254033: xcode emulation for make: Adjust .a and .dylib entries in 'libraries'. (Closed)

Created:
8 years, 11 months ago by viettrungluu
Modified:
8 years, 11 months ago
Reviewers:
Nico
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

xcode emulation for make: Adjust .a and .dylib entries in 'libraries'. Transform, e.g., 'libfoo.a' to '-lfoo', so that the LIBRARY_SEARCH_PATHS are actually searched for libfoo.a. (Warning: This could have the side effect that libfoo.dylib is preferred over libfoo.a.) TEST=test/mac/gyptest-libraries.py Committed: https://code.google.com/p/gyp/source/detail?r=1173

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 5

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -11 lines) Patch
M pylib/gyp/generator/make.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M pylib/gyp/generator/ninja.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M pylib/gyp/xcode_emulation.py View 1 2 3 4 3 chunks +18 lines, -9 lines 0 comments Download
A test/mac/gyptest-libraries.py View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
A test/mac/libraries/subdir/README.txt View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A test/mac/libraries/subdir/hello.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
A test/mac/libraries/subdir/mylib.c View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
A test/mac/libraries/subdir/test.gyp View 1 2 3 4 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
viettrungluu
8 years, 11 months ago (2012-01-19 19:03:00 UTC) #1
Nico
needs test
8 years, 11 months ago (2012-01-19 19:59:08 UTC) #2
Nico
(The reason for that is mostly to make sure that the behavior does really match ...
8 years, 11 months ago (2012-01-19 20:06:11 UTC) #3
viettrungluu
On 2012/01/19 20:06:11, Nico wrote: > (The reason for that is mostly to make sure ...
8 years, 11 months ago (2012-01-19 21:43:43 UTC) #4
Nico
http://codereview.chromium.org/9254033/diff/6001/pylib/gyp/xcode_emulation.py File pylib/gyp/xcode_emulation.py (right): http://codereview.chromium.org/9254033/diff/6001/pylib/gyp/xcode_emulation.py#newcode386 pylib/gyp/xcode_emulation.py:386: ldflags.append('-L' + gyp_to_build_path(library_path)) Can you add a test for ...
8 years, 11 months ago (2012-01-20 17:44:06 UTC) #5
viettrungluu
http://codereview.chromium.org/9254033/diff/6001/pylib/gyp/xcode_emulation.py File pylib/gyp/xcode_emulation.py (right): http://codereview.chromium.org/9254033/diff/6001/pylib/gyp/xcode_emulation.py#newcode386 pylib/gyp/xcode_emulation.py:386: ldflags.append('-L' + gyp_to_build_path(library_path)) On 2012/01/20 17:44:07, Nico wrote: > ...
8 years, 11 months ago (2012-01-21 00:15:19 UTC) #6
Nico
http://codereview.chromium.org/9254033/diff/6001/pylib/gyp/xcode_emulation.py File pylib/gyp/xcode_emulation.py (right): http://codereview.chromium.org/9254033/diff/6001/pylib/gyp/xcode_emulation.py#newcode386 pylib/gyp/xcode_emulation.py:386: ldflags.append('-L' + gyp_to_build_path(library_path)) On 2012/01/21 00:15:20, viettrungluu wrote: > ...
8 years, 11 months ago (2012-01-21 00:18:15 UTC) #7
viettrungluu
Too much trouble. Cutting my losses.
8 years, 11 months ago (2012-01-21 00:40:08 UTC) #8
viettrungluu
Apparently, this yak was nearly shorn anyway. And the other yak was dead. PTAL.
8 years, 11 months ago (2012-01-23 22:00:58 UTC) #9
Nico
As said above, I feel like this should work with all generators on all platforms. ...
8 years, 11 months ago (2012-01-23 22:05:47 UTC) #10
Nico
8 years, 11 months ago (2012-01-23 22:05:58 UTC) #11
…and thanks for not giving up :-)

Powered by Google App Engine
This is Rietveld 408576698