183658a7d90dd769ad597edd23cd38b8a1e3245ebJean-Baptiste Queru# Copyright (C) 2008 The Android Open Source Project
256914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru#
356914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru# Licensed under the Apache License, Version 2.0 (the "License");
456914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru# you may not use this file except in compliance with the License.
556914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru# You may obtain a copy of the License at
656914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru#
756914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru#      http://www.apache.org/licenses/LICENSE-2.0
856914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru#
956914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru# Unless required by applicable law or agreed to in writing, software
1056914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru# distributed under the License is distributed on an "AS IS" BASIS,
1156914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1256914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru# See the License for the specific language governing permissions and
1356914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru# limitations under the License.
1456914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru
1547a68d3fbd2591734eaac7a65620025528d430c2Dan Bornstein#
1647a68d3fbd2591734eaac7a65620025528d430c2Dan Bornstein# Common definitions for all variants.
1747a68d3fbd2591734eaac7a65620025528d430c2Dan Bornstein#
187c971b21cb09c84a9bd948bdf2918b727d46992cJean-Baptiste Queru
1947a68d3fbd2591734eaac7a65620025528d430c2Dan BornsteinLOCAL_PATH:= $(call my-dir)
202975cc0d79d44d6978e64c4094125ee5bef62a9bJean-Baptiste Queru
219f63ddeb3088d9c76ab0b3fa696bd49bc96bf91aJean-Baptiste Queruinclude $(CLEAR_VARS)
229f63ddeb3088d9c76ab0b3fa696bd49bc96bf91aJean-Baptiste Queru
235b5e4f5360b972d26349d856e7f07e506af3f887Jean-Baptiste Queru# Build configuration:
245b5e4f5360b972d26349d856e7f07e506af3f887Jean-Baptiste Queru#
252fa654ec7c23a3928c3948dd29131286ccdd3521Elliott Hughes# 'all' includes all ICU's locale data, but is currently missing some Android
262fa654ec7c23a3928c3948dd29131286ccdd3521Elliott Hughes# extensions (mostly extra charset converters).
27c0805323bdbc5adadb3fd7f37e90be90e488a6b6Elliott Hughes#
282ab0fa6fd952981049d95dfbe41025013614035fElliott Hughes# 'default' (icudt48l-default.txt) includes all locales for 50+ languages.
292fa654ec7c23a3928c3948dd29131286ccdd3521Elliott Hughesconfig := default
302975cc0d79d44d6978e64c4094125ee5bef62a9bJean-Baptiste Queru
313a735c6f04eb50ed0cb3d41f70c3246038fd0304Jesse Wilsoninclude $(LOCAL_PATH)/root.mk
3256914233dc2553f6517f1dd232f681546c190eb7Jean-Baptiste Queru
339f63ddeb3088d9c76ab0b3fa696bd49bc96bf91aJean-Baptiste QueruLOCAL_MODULE := icu.dat
349f63ddeb3088d9c76ab0b3fa696bd49bc96bf91aJean-Baptiste QueruLOCAL_MODULE_TAGS := optional
359f63ddeb3088d9c76ab0b3fa696bd49bc96bf91aJean-Baptiste QueruLOCAL_MODULE_CLASS := ETC
369f63ddeb3088d9c76ab0b3fa696bd49bc96bf91aJean-Baptiste QueruLOCAL_MODULE_PATH := $(TARGET_OUT)/usr/icu
379f63ddeb3088d9c76ab0b3fa696bd49bc96bf91aJean-Baptiste QueruLOCAL_MODULE_STEM := $(root).dat
389f63ddeb3088d9c76ab0b3fa696bd49bc96bf91aJean-Baptiste QueruLOCAL_SRC_FILES := $(root)-$(config).dat
399f63ddeb3088d9c76ab0b3fa696bd49bc96bf91aJean-Baptiste Queruinclude $(BUILD_PREBUILT)
405b5e4f5360b972d26349d856e7f07e506af3f887Jean-Baptiste Queru
413a735c6f04eb50ed0cb3d41f70c3246038fd0304Jesse Wilsonifeq ($(WITH_HOST_DALVIK),true)
423a735c6f04eb50ed0cb3d41f70c3246038fd0304Jesse Wilson    $(eval $(call copy-one-file,$(LOCAL_PATH)/$(root)-$(config).dat,$(HOST_OUT)/usr/icu/$(root).dat))
433a735c6f04eb50ed0cb3d41f70c3246038fd0304Jesse Wilsonendif
44