diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBundleLibrary.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBundleLibrary.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBundleLibrary.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBundleLibrary.java index c7ae890d47..46b0a21af1 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBundleLibrary.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBundleLibrary.java @@ -58,13 +58,16 @@ public class ObjcBundleLibrary implements RuleConfiguredTargetFactory { } AppleConfiguration appleConfiguration = ruleContext.getFragment(AppleConfiguration.class); + + // Platform is purposefully not validated on this BundleSupport. Multi-arch validation and + // resource de-duplication should only take place at the level of the bundling rule. new BundleSupport(ruleContext, appleConfiguration, appleConfiguration.getMultiArchPlatform(PlatformType.IOS), bundling, new ExtraActoolArgs()) + .validateResources(common.getObjcProvider()) .registerActions(common.getObjcProvider()) - .validate(common.getObjcProvider()) .addXcodeSettings(xcodeProviderBuilder); if (ruleContext.hasErrors()) { |