diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 07:16:51 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 07:16:51 +0000 |
commit | c3f6e948f80886bfbea2c2409539b99e669e04ce (patch) | |
tree | 6edad9dd3a01422def2e9b06a1cb17e754dd4aa5 /Android.mk | |
parent | 109c2beeed753e908248ff37d0f2641c845a54d1 (diff) | |
parent | a42eeae00d531da3436e1aabf4edcdb63b225f86 (diff) | |
download | hyphenation-patterns-c3f6e948f80886bfbea2c2409539b99e669e04ce.tar.gz |
Snap for 8564071 from a42eeae00d531da3436e1aabf4edcdb63b225f86 to mainline-art-releaseaml_art_331813100aml_art_331813010aml_art_331711080aml_art_331612010aml_art_331413030aml_art_331314010aml_art_331113000aml_art_331012050android13-mainline-art-release
Change-Id: I061c8383f32af76f5131708fe5be93cd9e8c6530
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -18,16 +18,20 @@ ifneq ($(TARGET_BUILD_PDK),true) LOCAL_PATH := $(call my-dir) pattern_locales := \ + af/af \ + am/mul-ethi \ as/as \ be/be \ bn/bn \ bg/bg \ + cs/cs \ cu/cu \ cy/cy \ da/da \ de/de-1901 \ de/de-1996 \ de/de-ch-1901 \ + el/el \ en-GB/en-gb \ en-US/en-us \ es/es \ @@ -36,25 +40,36 @@ pattern_locales := \ Ethi/und-ethi \ fr/fr \ ga/ga \ + gl/gl \ gu/gu \ hi/hi \ hr/hr \ hu/hu \ hy/hy \ + it/it \ + ka/ka \ kn/kn \ la/la \ + lt/lt \ + lv/lv \ ml/ml \ mn/mn-cyrl \ mr/mr \ nb/nb \ + nl/nl \ nn/nn \ or/or \ pa/pa \ pt/pt \ + ru/ru \ + sk/sk \ sl/sl \ + sq/sq \ + sv/sv \ ta/ta \ te/te \ - tk/tk + tk/tk \ + uk/uk # TODO: we have data for sa/sa, but it requires special case handling for case # folding and normalization, so don't build it until that's fixed. @@ -73,6 +88,9 @@ define build-one-pattern-module $(eval include $(CLEAR_VARS))\ $(eval LOCAL_MODULE := $(addprefix hyph-, $(2)))\ $(eval LOCAL_SRC_FILES := $(addprefix $(1)/hyph-, $(addprefix $(2), .pat.txt .chr.txt .hyp.txt)))\ +$(eval LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT SPDX-license-identifier-BSD-3-Clause SPDX-license-identifier-FSFAP SPDX-license-identifier-Unicode-DFS SPDX-license-identifier-LGPL-2.1 SPDX-license-identifier-MPL)\ +$(eval LOCAL_LICENSE_CONDITIONS := notice reciprocal restricted)\ +$(eval LOCAL_NOTICE_FILE := $(wildcard $(addprefix $(LOCAL_PATH)/$(1), /NOTICE /LICENSE)))\ $(eval include $(BUILD_HYB))\ $(eval include $(CLEAR_VARS))\ $(eval LOCAL_MODULE := $(addprefix $(addprefix hyph-, $(2)), .lic.txt))\ @@ -83,7 +101,7 @@ $(eval LOCAL_MODULE_PATH := $(TARGET_OUT)/usr/hyphen-data)\ $(eval include $(BUILD_PREBUILT)) endef -$(foreach l, $(pattern_locales), $(call build-one-pattern-module, $(dir $(l)), $(notdir $l))) +$(foreach l, $(pattern_locales), $(call build-one-pattern-module,$(dir $(l)),$(notdir $l))) build-one-pattern-module := pattern_locales := |