f643ba7a90
This reverts commit bf8dad281e
.
Reason for revert: Need to fix infra Housekeeper bot
Original change's description:
> Add launch screen to iOS apps
>
> Bug: skia:
> Change-Id: I7ebe94213c26c31c1b0dbd1b8951f87263cd41a3
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/175826
> Commit-Queue: Jim Van Verth <jvanverth@google.com>
> Reviewed-by: Hal Canary <halcanary@google.com>
TBR=jvanverth@google.com,halcanary@google.com,benjaminwagner@google.com
Change-Id: Ie540cc4d3209cf5e92d4c66812243721b1ac7fc2
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/239105
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
35 lines
999 B
Python
35 lines
999 B
Python
#!/usr/bin/env python2.7
|
|
#
|
|
# Copyright 2017 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import os
|
|
import sys
|
|
|
|
# Arguments to the script:
|
|
# app path to binary to package, e.g. out/Debug/gen/dm
|
|
app, = sys.argv[1:]
|
|
|
|
out, app = os.path.split(app)
|
|
|
|
# Write a minimal Info.plist to name the package and point at the binary.
|
|
with open(os.path.join(out, app + '_Info.plist'), 'w') as f:
|
|
f.write('''
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleVersion</key> <string>0.1.0</string>
|
|
<key>CFBundleShortVersionString</key> <string>0.1.0</string>
|
|
<key>CFBundleExecutable</key> <string>{app}</string>
|
|
<key>CFBundleIdentifier</key> <string>com.google.{app}</string>
|
|
<key>CFBundlePackageType</key> <string>APPL</string>
|
|
<key>LSRequiresIPhoneOS</key> <true/>
|
|
<key>UIDeviceFamily</key> <array>
|
|
<integer>1</integer>
|
|
<integer>2</integer>
|
|
</array>
|
|
</dict>
|
|
</plist>
|
|
'''.format(app=app))
|