diff options
author | Googler <noreply@google.com> | 2017-06-26 16:45:45 +0200 |
---|---|---|
committer | Marcel Hlopko <hlopko@google.com> | 2017-06-26 18:42:47 +0200 |
commit | 192422d2e554d297972c1cdc02127b1ca8be54ab (patch) | |
tree | 6974ef64d77fb9305a453fc383b79164bc8179df /src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java | |
parent | 0507fd5eaa0b30fcabe39db02ef9fb090ef7edc6 (diff) |
ResourceFilter properly handles special language qualifiers
Two special types of language qualifiers are commonly used:
Serbian can be written in Latin or Cyrillic characters. Serbian in Latin
characters is referred to as sr-Latn (or, with a misplaced region prefix,
sr-rLatn, or with the permutation common in some code for the old verions of
regions supported by Aapt, sr_Latn).
Spanish spoken across Latin America and the Caribbean can be represented by
es-419 (or, using the permutation for old qualifier formats, es_419).
For both of these, transform the resource qualifier into an appropriate BCP-47
representation that can be handled by FolderConfiguration.
Also, add attribute warnings when these qualifiers are used in their specially-handled form (instead of in BCP-47 form).
RELNOTES: none
PiperOrigin-RevId: 160143247
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java')
0 files changed, 0 insertions, 0 deletions