diff options
author | Chris Parsons <cparsons@google.com> | 2016-09-02 17:32:11 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-09-06 15:38:01 +0000 |
commit | b3ae3660b741ee0a7ea820ebb740de6d23a95495 (patch) | |
tree | 5641e739968379c957e0bd7096dcb0cc52048a7c /src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java | |
parent | 1e5add7a351de38a65f1811d0f257b80b65518dd (diff) |
Set family to constant "watch" for watchOS2 extension and application.
Also, the watch2 extension rule (and future bundling rules which depend on apple_binary) now depend on the combined-arch library
of that apple_binary dependency, instead of re-lipoing the binaries themselves.
--
MOS_MIGRATED_REVID=132077913
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java index 023b81ff80..ae9b7d8f48 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java @@ -1364,7 +1364,6 @@ public class ObjcRuleClasses { static final String WATCH_EXT_RESOURCES_ATTR = "ext_resources"; static final String WATCH_EXT_STRUCTURED_RESOURCES_ATTR = "ext_structured_resources"; static final String WATCH_EXT_STRINGS_ATTR = "ext_strings"; - static final String WATCH_EXT_FAMILIES_ATTR = "ext_families"; @Override public RuleClass build(Builder builder, RuleDefinitionEnvironment env) { @@ -1401,21 +1400,6 @@ public class ObjcRuleClasses { <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ .add(attr(WATCH_EXT_ENTITLEMENTS_ATTR, LABEL) .allowedFileTypes(ENTITLEMENTS_TYPE)) - /* <!-- #BLAZE_RULE($watch_extension_bundle_rule).ATTRIBUTE(ext_families) --> - The device families to which the watch extension is targeted. - - This is known as the <code>TARGETED_DEVICE_FAMILY</code> build setting - in Xcode project files. It is a list of one or more of the strings - <code>"iphone"</code> and <code>"ipad"</code>. - - <p>By default this is set to <code>"iphone"</code>, if explicitly specified may not be - empty.</p> - <p>The watch application is always built for <code>"watch"</code> for device builds and - <code>"iphone, watch"</code> for simulator builds. - <!-- #END_BLAZE_RULE.ATTRIBUTE -->*/ - .add( - attr(WATCH_EXT_FAMILIES_ATTR, STRING_LIST) - .value(ImmutableList.of(TargetDeviceFamily.IPHONE.getNameInRule()))) /* <!-- #BLAZE_RULE($watch_extension_bundle_rule).ATTRIBUTE(ext_infoplists) --> Infoplist files to be merged. The merged output corresponds to <i>appname</i>-Info.plist in Xcode projects. Duplicate keys between infoplist files will cause an error if |