diff options
author | Googler <noreply@google.com> | 2018-06-26 06:12:33 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-26 06:14:14 -0700 |
commit | acd21a57bbe47e30f46e6fd6a843e63196c28078 (patch) | |
tree | 78b55e724de0219015c82a26f21c032885c0aaa4 /src/main/java/com/google/devtools/build/lib | |
parent | f63b0201c5c5fc83a0ce97f8be3565005daa6c5c (diff) |
Specify that some resources in objc_bundle_library are post processed before they are used on the phone.
RELNOTES: None.
PiperOrigin-RevId: 202117007
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ObjcRuleClasses.java | 8 |
1 files changed, 5 insertions, 3 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 721209cf40..92cad34d22 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 @@ -421,9 +421,11 @@ public class ObjcRuleClasses { /* <!-- #BLAZE_RULE($objc_resources_rule).ATTRIBUTE(resources) --> Files to include in the final application bundle. - They are not processed or compiled in any way besides the processing - done by the rules that actually generate them. These files are placed - in the root of the bundle (e.g. Payload/foo.app/...) in most cases. + Files that are processable resources, like .xib, .storyboard, .strings, .png, and others, + will be processed by the Apple bundling rules that have those files as dependencies. Other + file types that are not processed will be copied verbatim. + + These files are placed in the root of the bundle (e.g. Payload/foo.app/...) in most cases. However, if they appear to be localized (i.e. are contained in a directory called *.lproj), they will be placed in a directory of the same name in the app bundle. |