aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-03-24 06:01:12 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-03-24 10:31:47 +0000
commit2cac67bbc4b8e5fac6f5d590620e12f841b97778 (patch)
tree88314418cfdd35bc96f6921876048ffacd1db611 /third_party
parentf962a385861922f0011d76a9d95a47e5bdb399d0 (diff)
Adding ProductType for watch OS 1 extension and application.
RELNOTES: Add ProductType for watch OS 1 extension and application. -- MOS_MIGRATED_REVID=118003005
Diffstat (limited to 'third_party')
-rw-r--r--third_party/java/buck-ios-support/README1
-rw-r--r--third_party/java/buck-ios-support/java/com/facebook/buck/apple/xcode/xcodeproj/PBXTarget.java4
2 files changed, 4 insertions, 1 deletions
diff --git a/third_party/java/buck-ios-support/README b/third_party/java/buck-ios-support/README
index c0d75d8712..3eddb27093 100644
--- a/third_party/java/buck-ios-support/README
+++ b/third_party/java/buck-ios-support/README
@@ -14,3 +14,4 @@ Add FILE_REFERENCE(2) to the PBXContainerItemProxy.ProxyType enum.
Update LastUpgradeCheck from 600 to 610
Add logic to automatically detect XCVersionGroup type even if there is no currentVersion set
Removed code not used by Bazel.
+Add WATCH_OS1_EXTENSION and WATCH_OS1_APPLICATION to PBXTarget.ProductType
diff --git a/third_party/java/buck-ios-support/java/com/facebook/buck/apple/xcode/xcodeproj/PBXTarget.java b/third_party/java/buck-ios-support/java/com/facebook/buck/apple/xcode/xcodeproj/PBXTarget.java
index 0dc599832c..7aa16ae06c 100644
--- a/third_party/java/buck-ios-support/java/com/facebook/buck/apple/xcode/xcodeproj/PBXTarget.java
+++ b/third_party/java/buck-ios-support/java/com/facebook/buck/apple/xcode/xcodeproj/PBXTarget.java
@@ -38,7 +38,9 @@ public abstract class PBXTarget extends PBXProjectItem {
APPLICATION("com.apple.product-type.application"),
UNIT_TEST("com.apple.product-type.bundle.unit-test"),
IN_APP_PURCHASE_CONTENT("com.apple.product-type.in-app-purchase-content"),
- APP_EXTENSION("com.apple.product-type.app-extension");
+ APP_EXTENSION("com.apple.product-type.app-extension"),
+ WATCH_OS1_APPLICATION("com.apple.product-type.application.watchapp"),
+ WATCH_OS1_EXTENSION("com.apple.product-type.watchkit-extension");
public final String identifier;
private ProductType(String identifier) {