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

Issue 25355002: ninja/mac: Create -iphoneos device builds for iOS ninja generator. (Closed)

Created:
7 years, 2 months ago by Justin Cohen (wrong one)
Modified:
7 years, 2 months ago
CC:
gyp-developer_googlegroups.com, Ami GONE FROM CHROMIUM
Visibility:
Public.

Description

ninja/mac: Create -iphoneos device builds for iOS ninja generator. For builds that have iOS targets, clone each configuration with an "-iphoneos" that builds for armv7 ios devices. Gyp authors no longer need to set target_arch=armv7, although that is still supported.

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase again #

Patch Set 6 : Rebaase #

Total comments: 10

Patch Set 7 : #

Patch Set 8 : Rebase #

Patch Set 9 : Missing file #

Total comments: 8

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
M pylib/gyp/generator/ninja.py View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M pylib/gyp/xcode_emulation.py View 1 2 3 4 5 6 7 8 9 2 chunks +33 lines, -0 lines 0 comments Download
M test/ios/app-bundle/test-device.gyp View 1 2 3 4 5 6 7 2 chunks +1 line, -16 lines 0 comments Download
M test/ios/gyptest-per-config-settings.py View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
justincohen
I still have to add a unit test, but I wanted to run this by ...
7 years, 2 months ago (2013-09-30 21:52:46 UTC) #1
justincohen
Now with unit tests. PTAL!
7 years, 2 months ago (2013-10-01 14:07:05 UTC) #2
Nico
I think I like this approach. Does this means that the <(GENERATOR) checks you have ...
7 years, 2 months ago (2013-10-04 05:11:10 UTC) #3
justincohen
Yes, a bunch of the GENERATOR calls will go away. Here's a sample, although I ...
7 years, 2 months ago (2013-10-04 13:51:51 UTC) #4
Ami GONE FROM CHROMIUM
<driveby> Can you update the CL description with what .gyp authors should do to accomodate ...
7 years, 2 months ago (2013-10-04 18:10:36 UTC) #5
justincohen
I added a comment explaining what will change, but this CL should be backwards compatible, ...
7 years, 2 months ago (2013-10-04 18:20:50 UTC) #6
Ami GONE FROM CHROMIUM
Thanks Justin. The key I missed before is that is creating new configurations, not new ...
7 years, 2 months ago (2013-10-04 19:24:56 UTC) #7
Nico
lgtm https://codereview.chromium.org/25355002/diff/45001/pylib/gyp/xcode_emulation.py File pylib/gyp/xcode_emulation.py (right): https://codereview.chromium.org/25355002/diff/45001/pylib/gyp/xcode_emulation.py#newcode1194 pylib/gyp/xcode_emulation.py:1194: python style guide says two blank lines between ...
7 years, 2 months ago (2013-10-04 19:35:07 UTC) #8
justincohen
7 years, 2 months ago (2013-10-04 19:42:40 UTC) #9
https://codereview.chromium.org/25355002/diff/45001/pylib/gyp/xcode_emulation.py
File pylib/gyp/xcode_emulation.py (right):

https://codereview.chromium.org/25355002/diff/45001/pylib/gyp/xcode_emulation...
pylib/gyp/xcode_emulation.py:1194: 
On 2013/10/04 19:35:07, Nico wrote:
> python style guide says two blank lines between functions

Done.

https://codereview.chromium.org/25355002/diff/45001/pylib/gyp/xcode_emulation...
pylib/gyp/xcode_emulation.py:1195: def HasIOSTarget(targets):
On 2013/10/04 19:35:07, Nico wrote:
> this is module-private, start name with a _

Done.

https://codereview.chromium.org/25355002/diff/45001/pylib/gyp/xcode_emulation...
pylib/gyp/xcode_emulation.py:1201: if
settings.get('IPHONEOS_DEPLOYMENT_TARGET'):
On 2013/10/04 19:35:07, Nico wrote:
> If it fits in one line, go with
> 
>   if config.get('xcode_settings', {}).get('IPHONEOS_DEPLOYMENT_TARGET'):

Done.

https://codereview.chromium.org/25355002/diff/45001/pylib/gyp/xcode_emulation...
pylib/gyp/xcode_emulation.py:1206: def AddIOSDeviceConfigurations(targets):
On 2013/10/04 19:35:07, Nico wrote:
> Also add a _ in front of the name

Done.

Powered by Google App Engine
This is Rietveld 408576698