diff options
author | Fredrik Roubert <roubert@google.com> | 2015-01-16 17:19:30 +0100 |
---|---|---|
committer | Fredrik Roubert <roubert@google.com> | 2015-02-19 19:34:21 +0100 |
commit | 1e8701d9e349e6abd8d603a8dbaec90709ccc19d (patch) | |
tree | b10153427e8802629eef77ff5a29c15cba1228e8 /icu4j/main/tests | |
parent | 6ca77297c41daa5697bd08338d4cc501bafa593b (diff) | |
download | android_external_icu-1e8701d9e349e6abd8d603a8dbaec90709ccc19d.tar.gz android_external_icu-1e8701d9e349e6abd8d603a8dbaec90709ccc19d.tar.bz2 android_external_icu-1e8701d9e349e6abd8d603a8dbaec90709ccc19d.zip |
Add build rules to modify ICUConfig.properties to set dataPath.
The ICUConfig.properties in the source tree doesn't set any value for
dataPath, which is how it should be when loading ICU4J data from the
JAR. But for the BUILD_STATIC_JAVA_LIBRARY build rule, which builds the
library to be executed on an actual device, dataPath should be set to
the location of the ICU4C data files in the Android device file system,
so that ICU4J prefers to load ICU4C data files instead of using its own.
These new build rules will dynamically generate an ICUConfig.properties
file with the dataPath value appended and include this file instead of
the one from the source tree in the generated JAR.
This change also removes the BUILD_STATIC_JAVA_LIBRARY dependency on the
ICU4J data JARs, which are no longer needed when loading ICU4C data.
Change-Id: I63a254a640f1831677ca4c6378246cec09ef5edb
Diffstat (limited to 'icu4j/main/tests')
0 files changed, 0 insertions, 0 deletions