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

Issue 1745173002: Add support for iOS Frameworks with header maps. (Closed)

Created:
4 years, 9 months ago by justincohen
Modified:
4 years, 8 months ago
Reviewers:
Nico, sdefresne
CC:
gyp-developer_googlegroups.com, baxley
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Target Ref:
refs/heads/master
Project:
gyp
Visibility:
Public.

Description

Add support for iOS Frameworks with header maps. iOS frameworks have a different output structure with normal frameworks, and often require header maps. BUG=583736 R=sdefresne@chromium.org Committed: https://chromium.googlesource.com/external/gyp/+/133eaf70b3720b7413017ef3f9c42f6811ef9347

Patch Set 1 #

Patch Set 2 : Move hmaps to prebuild actions #

Patch Set 3 : Don't hard code OCHamcrest #

Patch Set 4 : Include prebuilds in hmap gen #

Patch Set 5 : Add per target settings to destination copies #

Patch Set 6 : Combine header copy and hmap creation step #

Patch Set 7 : rebase #

Total comments: 4

Patch Set 8 : Add unit tests #

Patch Set 9 : Fix comment nit #

Total comments: 8

Patch Set 10 : Comments #

Patch Set 11 : Check for empty xcode_settings #

Patch Set 12 : Check for empty xcode_settings #

Patch Set 13 : Spacing nits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -12 lines) Patch
M pylib/gyp/generator/ninja.py View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +40 lines, -4 lines 1 comment Download
M pylib/gyp/mac_tool.py View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +101 lines, -0 lines 0 comments Download
M pylib/gyp/xcode_emulation.py View 1 2 3 4 5 6 4 chunks +10 lines, -1 line 0 comments Download
A test/ios/framework/framework.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +39 lines, -0 lines 0 comments Download
A + test/ios/framework/iOSFramework/Info.plist View 1 2 3 4 5 6 7 2 chunks +5 lines, -7 lines 0 comments Download
A test/ios/framework/iOSFramework/iOSFramework.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
A test/ios/gyptest-framework.py View 1 2 3 4 5 6 7 8 9 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
justincohen
wdyt?
4 years, 9 months ago (2016-03-11 19:48:15 UTC) #4
sdefresne
L-G-T-M I don't think there would be any problem implementing this with gn (should be ...
4 years, 9 months ago (2016-03-15 14:14:33 UTC) #5
justincohen
added unit tests, ptal! https://codereview.chromium.org/1745173002/diff/120001/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/1745173002/diff/120001/pylib/gyp/mac_tool.py#newcode640 pylib/gyp/mac_tool.py:640: def _next_greater_power_of_2(self, x): On 2016/03/15 ...
4 years, 9 months ago (2016-03-17 02:49:06 UTC) #7
sdefresne
lgtm with nits/comments https://codereview.chromium.org/1745173002/diff/160001/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/1745173002/diff/160001/pylib/gyp/mac_tool.py#newcode345 pylib/gyp/mac_tool.py:345: shutil.copy2(header, os.path.join(header_path, os.path.basename(header))) nit: why do ...
4 years, 9 months ago (2016-03-18 15:59:00 UTC) #8
sdefresne
Can you update BUG=? I guess we can point to the bug to integrate EG ...
4 years, 9 months ago (2016-03-18 15:59:42 UTC) #9
Nico
If sdefresne and you like this, go ahead and land, that's good enough for me ...
4 years, 9 months ago (2016-03-18 18:35:08 UTC) #10
justincohen
https://codereview.chromium.org/1745173002/diff/160001/pylib/gyp/mac_tool.py File pylib/gyp/mac_tool.py (right): https://codereview.chromium.org/1745173002/diff/160001/pylib/gyp/mac_tool.py#newcode345 pylib/gyp/mac_tool.py:345: shutil.copy2(header, os.path.join(header_path, os.path.basename(header))) On 2016/03/18 15:59:00, sdefresne wrote: > ...
4 years, 9 months ago (2016-03-19 03:57:00 UTC) #12
justincohen
Committed patchset #13 (id:240001) manually as 133eaf70b3720b7413017ef3f9c42f6811ef9347 (presubmit successful).
4 years, 9 months ago (2016-03-20 23:43:15 UTC) #14
nicholss
On 2016/03/20 23:43:15, justincohen wrote: > Committed patchset #13 (id:240001) manually as > 133eaf70b3720b7413017ef3f9c42f6811ef9347 (presubmit ...
4 years, 8 months ago (2016-03-31 16:05:10 UTC) #15
Nico
https://codereview.chromium.org/1745173002/diff/240001/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): https://codereview.chromium.org/1745173002/diff/240001/pylib/gyp/generator/ninja.py#newcode780 pylib/gyp/generator/ninja.py:780: copy_headers = spec['mac_framework_headers'] I guess this and the thing ...
4 years, 8 months ago (2016-03-31 16:17:03 UTC) #16
justincohen
4 years, 8 months ago (2016-03-31 16:20:06 UTC) #17
Message was sent while issue was closed.
I'll update, although I'm curious how an iOS framework can ship without headers.
 Is that allowed?

Powered by Google App Engine
This is Rietveld 408576698