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

Issue 825453002: Convert plist and strings to binary for iOS. (Closed)

Created:
6 years ago by justincohen
Modified:
5 years, 9 months ago
CC:
gyp-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Convert plist and strings to binary for iOS. For iOS builds, Info.plist and .strings files should be converted to binary. BUG=gyp:390 R=mark@chromium.org, sdefresne@chromium.org Committed: https://chromium.googlesource.com/external/gyp/+/d9823985797fd193c691624632e4f9e614507891

Patch Set 1 #

Patch Set 2 : Tests #

Patch Set 3 : Rebase #

Patch Set 4 : Spacing #

Patch Set 5 : spacing #

Total comments: 2

Patch Set 6 : Use INFOPLIST_OUTPUT_FORMAT instead #

Patch Set 7 : Use subprocess.check_output #

Total comments: 4

Patch Set 8 : Correct desktop and iOS test #

Patch Set 9 : Remove blank line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -9 lines) Patch
M pylib/gyp/generator/ninja.py View 1 2 3 4 5 4 chunks +8 lines, -4 lines 0 comments Download
M pylib/gyp/mac_tool.py View 1 2 3 4 5 6 chunks +14 lines, -4 lines 0 comments Download
M pylib/gyp/xcode_emulation.py View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M test/ios/app-bundle/test.gyp View 1 2 3 4 5 6 7 1 chunk +30 lines, -0 lines 0 comments Download
M test/ios/gyptest-app-ios.py View 1 2 3 4 5 6 7 2 chunks +26 lines, -1 line 0 comments Download
M test/mac/gyptest-app.py View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
justincohen
PTAL!
6 years ago (2014-12-22 19:35:03 UTC) #2
sdefresne
lgtm with nit https://codereview.chromium.org/825453002/diff/80001/test/ios/gyptest-app-ios.py File test/ios/gyptest-app-ios.py (right): https://codereview.chromium.org/825453002/diff/80001/test/ios/gyptest-app-ios.py#newcode17 test/ios/gyptest-app-ios.py:17: proc = subprocess.Popen(['file', file], stdout=subprocess.PIPE) nit: ...
6 years ago (2014-12-22 20:42:03 UTC) #3
sdefresne
On 2014/12/22 20:42:03, sdefresne wrote: > lgtm with nit > > https://codereview.chromium.org/825453002/diff/80001/test/ios/gyptest-app-ios.py > File test/ios/gyptest-app-ios.py ...
5 years, 9 months ago (2015-02-27 10:08:21 UTC) #4
justincohen
PTAL. Changed to use proper xcode flags. https://codereview.chromium.org/825453002/diff/80001/test/ios/gyptest-app-ios.py File test/ios/gyptest-app-ios.py (right): https://codereview.chromium.org/825453002/diff/80001/test/ios/gyptest-app-ios.py#newcode17 test/ios/gyptest-app-ios.py:17: proc = ...
5 years, 9 months ago (2015-03-06 19:28:03 UTC) #7
sdefresne
Still LGTM
5 years, 9 months ago (2015-03-09 08:54:29 UTC) #8
justincohen
mark@ ptal!
5 years, 9 months ago (2015-03-09 12:54:54 UTC) #9
Mark Mentovai
https://codereview.chromium.org/825453002/diff/120001/pylib/gyp/xcode_emulation.py File pylib/gyp/xcode_emulation.py (right): https://codereview.chromium.org/825453002/diff/120001/pylib/gyp/xcode_emulation.py#newcode219 pylib/gyp/xcode_emulation.py:219: return self.xcode_settings[configname].get('INFOPLIST_OUTPUT_FORMAT', INFOPLIST_OUTPUT_FORMAT should be a textual name like ...
5 years, 9 months ago (2015-03-09 13:11:22 UTC) #10
justincohen
Thanks Mark, I corrected the binary/xml check and added two new tests. PTAL! https://codereview.chromium.org/825453002/diff/120001/pylib/gyp/xcode_emulation.py File ...
5 years, 9 months ago (2015-03-09 14:28:31 UTC) #11
Mark Mentovai
Nice, LGTM.
5 years, 9 months ago (2015-03-09 15:28:24 UTC) #12
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 9 months ago (2015-03-09 17:02:09 UTC) #16
justincohen
5 years, 9 months ago (2015-03-09 17:49:21 UTC) #17
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
d9823985797fd193c691624632e4f9e614507891 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698