diff options
author | Narayan Kamath <narayan@google.com> | 2014-06-03 16:24:30 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-07-08 18:04:25 +0100 |
commit | 8d05787d6a4b5762d790ccd2a9ed9dc8885986ef (patch) | |
tree | 62124f23889f13a3996160f1069e3fa72a29df10 /Android.mk | |
parent | 5d1b0c9f348c25f01c6f2f5be04d2409409c08fe (diff) | |
download | messageformat-8d05787d6a4b5762d790ccd2a9ed9dc8885986ef.tar.gz |
Import message format.
Imported from mscherer's SVN repository:
svn checkout http://source.icu-project.org/repos/icu/icu4j/branches/markus/simplemsg
at revision 35802:
Local changes include :
- Removal of commented code.
- Addition of android makefiles
- JUnit test + caliper benchmark.
Scenario{vm=app_process, trial=0, benchmark=Genders} 45870.31 ns; σ=58.09 ns @ 3 trials
Scenario{vm=app_process, trial=0, benchmark=Plurals} 109590.42 ns; σ=209.97 ns @ 3 trials
Change-Id: I868f18bd3cbeb2581e799ef68ff2ad4e701e033e
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..b55e954 --- /dev/null +++ b/Android.mk @@ -0,0 +1,36 @@ +# Copyright (C) 2014 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE := messageformat +LOCAL_SRC_FILES := $(call all-java-files-under, src/) + +include $(BUILD_STATIC_JAVA_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := messageformat-tests +LOCAL_STATIC_JAVA_LIBRARIES := messageformat junit-targetdex +LOCAL_SRC_FILES := $(call all-java-files-under, tests/src/) +include $(BUILD_STATIC_JAVA_LIBRARY) + +# Also build a host side library +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(call all-java-files-under, src/) + +LOCAL_MODULE := messageformat_host + +include $(BUILD_HOST_JAVA_LIBRARY) |