summaryrefslogtreecommitdiff
path: root/patterns.mk
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2015-09-03 16:18:30 -0700
committerRaph Levien <raph@google.com>2015-09-30 14:17:35 -0700
commit9c07dd308499248830f6f9c423fdb0c7bc10ff24 (patch)
tree757ac71eb3f90f79e5c6580e524c8cf787bebf89 /patterns.mk
parent7104a91f415b1001b75909f837f3b54d54671ea3 (diff)
downloadhyphenation-patterns-9c07dd308499248830f6f9c423fdb0c7bc10ff24.tar.gz
Compile the hyphenation patterns to binary
Makefile updates to compile the hyphenation patterns to binary format on the device. Bug: 21562869 Bug: 21826930 Change-Id: I8b92ed16626d11dce299415280d2e1a075436481
Diffstat (limited to 'patterns.mk')
-rw-r--r--patterns.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/patterns.mk b/patterns.mk
index 82ee76e..bae5ea9 100644
--- a/patterns.mk
+++ b/patterns.mk
@@ -12,17 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# We have to use PRODUCT_PACKAGES (together with BUILD_PREBUILT) instead of
+# We have to use PRODUCT_PACKAGES (together with BUILD_HYPH) instead of
# PRODUCT_COPY_FILES to install the pattern files, so that the NOTICE file can
# get installed too.
pattern_locales := \
en-us eu hu hy \
- nb nn sa und-ethi
+ nb nn und-ethi
-PRODUCT_PACKAGES := \
- $(foreach locale, $(pattern_locales), \
- $(addprefix hyph-, $(addprefix $(locale), \
- .chr.txt .hyp.txt .lic.txt .pat.txt)))
+PRODUCT_PACKAGES := $(addprefix hyph-,$(pattern_locales)) \
+ $(addsuffix .lic.txt,$(addprefix hyph-,$(pattern_locales)))
pattern_locales :=