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

Issue 1254413004: Adding framework path mapping for 'copies' action in gyp files. (Closed)

Created:
5 years, 4 months ago by tonyworks
Modified:
5 years, 2 months ago
Reviewers:
Mark Mentovai, Nico, yukawa
CC:
gyp-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Target Ref:
refs/heads/master
Project:
gyp
Visibility:
Public.

Description

Adding framework path mapping for 'copies' action in gyp files. This will set the destination to number 10 (Frameworks in Xcode UI). Enables 'Embedded Binaries' to be linked using a framework. May need to use LD_RUNPATH_SEARCH_PATHS to local framework R=mark@chromium.org Committed: https://chromium.googlesource.com/external/gyp/+/427a0406159c5fe7a9d057076dfb7acd2b92682a

Patch Set 1 #

Patch Set 2 : Adding more notation #

Total comments: 1

Patch Set 3 : remove framework comment #

Patch Set 4 : Adding tests #

Patch Set 5 : Added tests to support Ninja and Make #

Total comments: 2

Patch Set 6 : Passing with all tests #

Patch Set 7 : Verified passing tests #

Total comments: 1

Patch Set 8 : Removing make/ninja tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -1 line) Patch
M pylib/gyp/xcode_emulation.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M pylib/gyp/xcodeproj_file.py View 1 2 2 chunks +1 line, -1 line 0 comments Download
M test/mac/framework/framework.gyp View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M test/mac/gyptest-copies.py View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (1 generated)
yukawa
Hi Mark and Nico. Can you take a look at Tony's CL? He wanted to ...
5 years, 4 months ago (2015-07-30 18:21:16 UTC) #2
Nico
is it possible to write a test for this? this is really more for mark. ...
5 years, 4 months ago (2015-07-30 18:28:22 UTC) #3
tonyworks
On 2015/07/30 18:28:22, Nico (offline until Fri Oct 9) wrote: > is it possible to ...
5 years, 2 months ago (2015-09-25 16:23:19 UTC) #4
Mark Mentovai
This looks good, but with a test, it’d look even better.
5 years, 2 months ago (2015-09-25 16:28:40 UTC) #5
Mark Mentovai
There’s a whole test infrastructure in the test directory, and the entry point to run ...
5 years, 2 months ago (2015-09-25 16:45:53 UTC) #6
tonyworks
On 2015/09/25 16:45:53, Mark Mentovai - August is over wrote: > There’s a whole test ...
5 years, 2 months ago (2015-09-29 19:19:30 UTC) #7
Mark Mentovai
Does the test also pass with the ninja generator? Things that work in Xcode should ...
5 years, 2 months ago (2015-09-29 20:49:24 UTC) #8
tonyworks
On 2015/09/29 20:49:24, Mark Mentovai - August is over wrote: > Does the test also ...
5 years, 2 months ago (2015-09-29 22:50:07 UTC) #9
Mark Mentovai
ninja does handle some Xcode variables like SDKROOT and BUILT_PRODUCTS_DIR. Since path_tree_to_subfolder already named BUILT_PRODUCTS_DIR ...
5 years, 2 months ago (2015-09-29 22:55:44 UTC) #10
Mark Mentovai
I don’t think it’s worthwhile to have this <(FRAMEWORK_DIR) thing or to have this non-Mac ...
5 years, 2 months ago (2015-10-01 14:25:25 UTC) #11
tonyworks
On 2015/10/01 14:25:25, Mark Mentovai wrote: > I don’t think it’s worthwhile to have this ...
5 years, 2 months ago (2015-10-01 14:36:59 UTC) #12
tonyworks
https://codereview.chromium.org/1254413004/diff/80001/test/copies/gyptest-default.py File test/copies/gyptest-default.py (right): https://codereview.chromium.org/1254413004/diff/80001/test/copies/gyptest-default.py#newcode25 test/copies/gyptest-default.py:25: test.built_file_must_match('copies-out/framework/file1', On 2015/10/01 14:25:25, Mark Mentovai wrote: > I ...
5 years, 2 months ago (2015-10-01 14:37:26 UTC) #13
Mark Mentovai
If you don’t need the <(FRAMEWORKS_DIR) stuff, get rid of it and the test that ...
5 years, 2 months ago (2015-10-01 14:54:23 UTC) #14
tonyworks
On 2015/10/01 14:54:23, Mark Mentovai wrote: > If you don’t need the <(FRAMEWORKS_DIR) stuff, get ...
5 years, 2 months ago (2015-10-01 15:56:46 UTC) #15
Mark Mentovai
tonyworks wrote: > The other option is > to have the test/mac/framework.gyp be the only ...
5 years, 2 months ago (2015-10-01 22:52:23 UTC) #16
tonyworks
On 2015/10/01 22:52:23, Mark Mentovai wrote: > tonyworks wrote: > > The other option is ...
5 years, 2 months ago (2015-10-15 16:01:52 UTC) #17
Mark Mentovai
https://codereview.chromium.org/1254413004/diff/120001/test/copies/src/copies.gyp File test/copies/src/copies.gyp (right): https://codereview.chromium.org/1254413004/diff/120001/test/copies/src/copies.gyp#newcode37 test/copies/src/copies.gyp:37: 'destination': '<(FRAMEWORK_DIR)/copies-out/framework', I don’t think we should bother defining ...
5 years, 2 months ago (2015-10-19 20:53:13 UTC) #18
tonyworks
On 2015/10/19 20:53:13, Mark Mentovai wrote: > https://codereview.chromium.org/1254413004/diff/120001/test/copies/src/copies.gyp > File test/copies/src/copies.gyp (right): > > https://codereview.chromium.org/1254413004/diff/120001/test/copies/src/copies.gyp#newcode37 ...
5 years, 2 months ago (2015-10-19 20:55:57 UTC) #19
Mark Mentovai
I mean: Remove the changes to make.py, ninja.py, and xcode.py, and the test changes in ...
5 years, 2 months ago (2015-10-19 21:00:39 UTC) #20
tonyworks
On 2015/10/19 21:00:39, Mark Mentovai wrote: > I mean: > > Remove the changes to ...
5 years, 2 months ago (2015-10-19 21:23:09 UTC) #21
Mark Mentovai
LGTM
5 years, 2 months ago (2015-10-20 13:59:14 UTC) #22
Mark Mentovai
Committed patchset #8 (id:140001) manually as 427a0406159c5fe7a9d057076dfb7acd2b92682a (presubmit successful).
5 years, 2 months ago (2015-10-20 14:00:34 UTC) #23
Mark Mentovai
5 years, 2 months ago (2015-10-20 14:02:09 UTC) #24
Message was sent while issue was closed.
Thanks for the patch and the patience!

Powered by Google App Engine
This is Rietveld 408576698