summaryrefslogtreecommitdiff
path: root/tools/srcgen/common.sh
AgeCommit message (Collapse)Author
2019-12-19Add tools/misc/src/com/ibm/icu/dev/tool/locale to android_icu4j test sourcesNikita Iashchenko
Test: ./tools/srcgen/generate_android_icu4j.sh Change-Id: Ie8e51cdbf7bc6e77a4398faae6c66c672875904d
2018-10-02Add CorePlatformApi annotation to generated ICU4JNeil Fuller
Add @libcore.api.CorePlatformApi annotations to parts of ICU so that framework can depend on them in future. This change makes a small fix to srcgen indentation which causes a whitespace only change to PluralRules. Bug: 113148576 Test: build / inspection of generated signature .txt file Change-Id: I99405c8ccc252464ed52aa1008d07750edb93b16
2018-09-26Add rules to generate android_icu4j sources during build timeVictor Chang
In the downstream branch master-icu-dev, we intend to generate the sources during build time. See the details in http://b/71896732#comment13 The commit checks in the build rules in AOSP, but we use the rule in the master-icu-dev branch, because we want to minimize the diff in the build files between the 2 branches, and changes in AOSP - Add java_binary_host rule to build the tool binary in order to use the tool during the build time Bug: 71896732 Test: tools/srcgen/generate_android_icu4j.sh (without arguments) generates no new change Test: m droid cts Test: emulator booted Test: atest CtsIcuTestCases:android.icu.dev.test.serializable.CompatibilityTest Change-Id: I96efc8c9bfb89239a656fe670c05909fc087be2d
2018-07-13Move srcgen over to using .bp filesNeil Fuller
Test: make currysrc Test: ./generate_android_icu4j.sh Change-Id: Ia09f5a9bf2454cc1dcfb93827a10164116a27fd7
2016-10-25Android srcgen updated for ICU 58.Paul Duffin
With the new JUnit based test framework the testall subdirectory is gone and there is no longer any need to annotate test classes with @RunWith. Change-Id: I6a46cd3002c151734084acbba0303b65d31f121d
2016-06-08Allow overriding of the java binaryandroid-n-preview-4Neil Fuller
Optionally specify the SRCGEN_JAVA_BINARY environment variable to set an alternative java binary to use when running the ICU srcgen. Bug: 27775477 Change-Id: I66c059893db969c28c4843bcd5158a7e7f0338b6
2016-02-29Remove non-existent directory.Paul Duffin
(cherry picked from ab00ae12175ad4a3994a490a1038b2bc902c3e8b) Change-Id: I665d942926d1d5592495ffe9c86bc763fefa1df9
2016-02-29Add repackaged version of the ICU testsPaul Duffin
Adds a new android-icu4j-tests target to build the repackaged tests. The repackages tests were generated by running the following script which was modified to repackage the tests in addition to the source and sample. tools/srcgen/generate_android_icu4j.sh Bug: 22023363 (cherry picked from aefe4d1f8f1773ead1a52f7a5d2c9e0009353600) Change-Id: I083baac898c587e4a6787e408b22f811010167eb
2015-12-04Fix srcgen build for people without acp / guavalib alreadyNeil Fuller
The Android.mk files were not properly formed. The use of mm required all dependencies outside of srcgen had already been built. Change-Id: I0f13f27fb59a231aa4e59b1343cbe588d1326504
2015-11-03Add support for @.jcite references in srcgenNeil Fuller
Convert {@.jcite .... to Doclava's {@sample .... format. Generate source code for ICU4J sample code repackaged to android.icu. Only some of the ICU4J samples are repackaged: the aim is to compile these against the latest APIs once they become public. The android.icu.util.Output class has been added to the public API as it is required to use them. Refactoring of currysrc / srcgen to avoid some code duplication. This change also contains the regenerated android_icu4j source code. Bug: 22023363 Change-Id: I2661041998898bafe1592522f9c9ec758c96da3b
2015-10-27Tool changes to handle making some of ICU publicNeil Fuller
Handles the whitelisting of some classes and hiding deprecated elements within that set. Bug: 22023363 Change-Id: Iafcb25530de016d04534e4d4d80c0b95a16f7f9c