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

Unified Diff: pylib/gyp/xcodeproj_file.py

Issue 762673002: Add support for iOS WatchKit apps in GYP (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Fix syntax error and remove unneeded files Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pylib/gyp/xcodeproj_file.py
diff --git a/pylib/gyp/xcodeproj_file.py b/pylib/gyp/xcodeproj_file.py
index a9deb1549e086c5166bac32b986c5d0a500ad806..a3b28ab6da813cb1d2e47cbbe502acd59953cbce 100644
--- a/pylib/gyp/xcodeproj_file.py
+++ b/pylib/gyp/xcodeproj_file.py
@@ -2240,24 +2240,22 @@ class PBXNativeTarget(XCTarget):
# prefix : the prefix for the file name
# suffix : the suffix for the file name
_product_filetypes = {
- 'com.apple.product-type.application': ['wrapper.application',
- '', '.app'],
- 'com.apple.product-type.app-extension': ['wrapper.app-extension',
- '', '.appex'],
- 'com.apple.product-type.bundle': ['wrapper.cfbundle',
- '', '.bundle'],
- 'com.apple.product-type.framework': ['wrapper.framework',
- '', '.framework'],
- 'com.apple.product-type.library.dynamic': ['compiled.mach-o.dylib',
- 'lib', '.dylib'],
- 'com.apple.product-type.library.static': ['archive.ar',
- 'lib', '.a'],
- 'com.apple.product-type.tool': ['compiled.mach-o.executable',
- '', ''],
- 'com.apple.product-type.bundle.unit-test': ['wrapper.cfbundle',
- '', '.xctest'],
- 'com.googlecode.gyp.xcode.bundle': ['compiled.mach-o.dylib',
- '', '.so'],
+ 'com.apple.product-type.application': ['wrapper.application', '', '.app'],
justincohen 2014/11/26 20:12:04 this seems harder to read.
+ 'com.apple.product-type.app-extension': ['wrapper.app-extension', '',
+ '.appex'],
+ 'com.apple.product-type.watchkit-extension': ['wrapper.app-extension', '',
+ '.appex'],
+ 'com.apple.product-type.application.watchapp': ['wrapper.application', '',
+ '.app'],
+ 'com.apple.product-type.bundle': ['wrapper.cfbundle', '', '.bundle'],
+ 'com.apple.product-type.framework': ['wrapper.framework', '', '.framework'],
+ 'com.apple.product-type.library.dynamic': ['compiled.mach-o.dylib', 'lib',
+ '.dylib'],
+ 'com.apple.product-type.library.static': ['archive.ar', 'lib', '.a'],
+ 'com.apple.product-type.tool': ['compiled.mach-o.executable', '', ''],
+ 'com.apple.product-type.bundle.unit-test': ['wrapper.cfbundle', '',
+ '.xctest'],
+ 'com.googlecode.gyp.xcode.bundle': ['compiled.mach-o.dylib', '', '.so'],
}
def __init__(self, properties=None, id=None, parent=None,

Powered by Google App Engine
This is Rietveld 408576698