aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-06Import translations. DO NOT MERGEBill Yi13-22/+22
Change-Id: Idfea205cf778dcf8ca4a0e7794fb4b9632441c1f Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
2017-08-06Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I27db96d1703710e6a8417a3020cc4039979c6086 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
2017-07-26Import translations. DO NOT MERGEBill Yi4-8/+8
Change-Id: I83d6d6794644e7bf00bcd3e9d24f801dd0f26ec7 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
2017-07-26Import translations. DO NOT MERGEBill Yi3-5/+5
Change-Id: Ie2ee3d601e39084145911761b1204e5f4cafd219 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
2017-07-26Clean up Makefiles, remove HOST_JDK_IS_64BIT_VERSIONDan Willemsen2-19/+0
This builds on Darwin fine, so remove the non-standard darwin checks. Remove HOST_JDK_IS_64BIT_VERSION, it's always true now, and this is the only user. Test: mmm packages/inputmethods/LatinIME/tools/dicttool:liblatinime-aosp-dicttool-host Change-Id: I750c6baa29cf1d27a885ff064f0daf9d986db0b9
2017-06-14Fix dependencies of packages that target earlier releasesPaul Duffin1-2/+3
A previous change added legacy-android-test as a static dependency to all packages that build against the current, test_current or system_current and failed to compile when the junit and android.test classes were removed from the API. Unfortunately, those changes did not take into account that some of those packages target earlier API versions and so will always have the classes available at runtime. This change replaces those static dependencies with dynamic dependencies for any package that targets an earlier API version. The file changes were made automatically by a tool that constructed and then analyzed a full dependency graph of all the Android Java modules. The individual changes were checked manually to ensure that the changes matched the intent. The affected modules were built against an API with the junit and android.test classes removed. Any issues found during this process resulted in either the tool being updated to address the issue or a separate change being made to fix an existing problem with the build. A sample of the affected packages were run to ensure that they worked as expected at runtime; no issues were found during testing. The following change descriptions were generated automatically and so may be a little repetitive. They are provided to give the reviewer enough information to check the comments match what has actually been changed and check the reasoning behind the changes. * tests/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because LatinIMETests's manifest file (AndroidManifest.xml) targets API level 21 and dynamically includes the android.test.runner library at runtime so there is no point in statically including the classes. Added 'android.test.mock.sdk' and 'legacy-android-test' to LOCAL_JAVA_LIBRARIES because module LatinIMETests builds against 'LOCAL_SDK_VERSION := current' and uses classes from packages android.test and android.test.mock (possibly indirectly) so will no longer compile once they are removed from the API. Dependency 'android.test.mock.sdk' is used instead of 'android.test.mock' because module LatinIMETests builds against the API not internal jars and so should use libraries that build against the API not internal jars. A future change will replace the dependency on 'legacy-android-test', which builds against the internal jars with a dependency on 'android.legacy.test' which will build against the API. Bug: 30188076 Test: make checkbuild and ran a sample of tests Change-Id: I63f1a8ad16a76aba0da89b69a64cdae4400af5a0 Merged-In: Icab8a4c4801536f112e29dfd2dc66be8b90b811d
2017-06-13Fix dependencies of packages that target earlier releasesPaul Duffin1-2/+3
A previous change added legacy-android-test as a static dependency to all packages that build against the current, test_current or system_current and failed to compile when the junit and android.test classes were removed from the API. Unfortunately, those changes did not take into account that some of those packages target earlier API versions and so will always have the classes available at runtime. This change replaces those static dependencies with dynamic dependencies for any package that targets an earlier API version. The file changes were made automatically by a tool that constructed and then analyzed a full dependency graph of all the Android Java modules. The individual changes were checked manually to ensure that the changes matched the intent. The affected modules were built against an API with the junit and android.test classes removed. Any issues found during this process resulted in either the tool being updated to address the issue or a separate change being made to fix an existing problem with the build. A sample of the affected packages were run to ensure that they worked as expected at runtime; no issues were found during testing. The following change descriptions were generated automatically and so may be a little repetitive. They are provided to give the reviewer enough information to check the comments match what has actually been changed and check the reasoning behind the changes. * tests/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because LatinIMETests's manifest file (AndroidManifest.xml) targets API level 21 and dynamically includes the android.test.runner library at runtime so there is no point in statically including the classes. Added 'android.test.mock.sdk' and 'legacy-android-test' to LOCAL_JAVA_LIBRARIES because module LatinIMETests builds against 'LOCAL_SDK_VERSION := current' and uses classes from packages android.test and android.test.mock (possibly indirectly) so will no longer compile once they are removed from the API. Dependency 'android.test.mock.sdk' is used instead of 'android.test.mock' because module LatinIMETests builds against the API not internal jars and so should use libraries that build against the API not internal jars. A future change will replace the dependency on 'legacy-android-test', which builds against the internal jars with a dependency on 'android.legacy.test' which will build against the API. Bug: 30188076 Test: make checkbuild and ran a sample of tests Change-Id: Icab8a4c4801536f112e29dfd2dc66be8b90b811d
2017-05-17Revert "Revert "Use AAPT2""Adam Lesinski1-1/+6
This reverts commit af1177453d95d727651cf48a380d7979dc94ae45. Reason for revert: Bug in aapt2 was fixed b/38152130 Change-Id: I2701d67f581165d371a745749367c0c825168e22
2017-05-15Revert "Use AAPT2"Alan Viverette1-6/+1
This reverts commit 0f6f5c017629befcc4b8d9f1111e18d3505bfac1. Change-Id: Ibba7d35846cdbf6086877fd2859c2e2c91dcf2ee
2017-05-10Import translations. DO NOT MERGEBill Yi13-25/+25
Change-Id: Icaa3e3e60a2e632a02a317b0dad32c9c6e3c1072 Auto-generated-cl: translation import
2017-05-10Import translations. DO NOT MERGEBill Yi3-4/+4
Change-Id: Id738f4b110ee27a2c18cf8ade15afe67e5b150f8 Auto-generated-cl: translation import
2017-05-10Import translations. DO NOT MERGEBill Yi2-2/+2
Change-Id: I79556fca866d6054a2327222d73809e93ba80185 Auto-generated-cl: translation import
2017-05-10Prepare for removal of junit and android.test classes from Android API (step 1)Paul Duffin1-1/+4
In preparation for removing junit and android.test classes from the Android API this change adds explicit dependencies on junit and/or legacy-android-test to ensure that modules will compile properly once it is removed. Care was taken to ensure that any targets that depended, directly or indirectly, on android-support-test did not also depend on junit or hamcrest as they conflict with the versions embedded within android-support-test. Bug: 30188076 Test: make checkbuild Change-Id: Icf844999082db141cffcb099aa4004afc7a7c749 Merged-In: I743f9e20e1e60836ceba9b9051fa17835deba3a2
2017-05-08Prepare for removal of junit and android.test classes from Android API (step 1)Paul Duffin1-1/+4
In preparation for removing junit and android.test classes from the Android API this change adds explicit dependencies on junit and/or legacy-android-test to ensure that modules will compile properly once it is removed. Care was taken to ensure that any targets that depended, directly or indirectly, on android-support-test did not also depend on junit or hamcrest as they conflict with the versions embedded within android-support-test. Bug: 30188076 Test: make checkbuild Change-Id: I160c136ecd1089a2b13d5cdba9eee1287aad93f9 Merged-In: I743f9e20e1e60836ceba9b9051fa17835deba3a2
2017-04-28Import translations. DO NOT MERGEBill Yi14-33/+33
Change-Id: Ide2d46f805a5bb36b32d6ebaec8d987973b816ab Auto-generated-cl: translation import
2017-04-28Import translations. DO NOT MERGEBill Yi2-2/+2
Change-Id: I98560e277103ff606353cff46889ecdb4d7a3b86 Auto-generated-cl: translation import
2017-04-28Import translations. DO NOT MERGEBill Yi4-6/+6
Change-Id: I19cf3418e3bb56a10729741b0d7514533a92f6be Auto-generated-cl: translation import
2017-04-28Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I13becab3eb65dbb5466387d2781af7226f8dee0e Auto-generated-cl: translation import
2017-04-28Import translations. DO NOT MERGEBill Yi1-2/+2
Change-Id: Ib3dc9dfc6748012de4882a5421993b7bbe825deb Auto-generated-cl: translation import
2017-04-26Use AAPT2Alan Viverette1-1/+6
Test: make checkbuild Change-Id: I8478dd61a2edf8f87437276025ed57092c1b047c
2017-04-10Import translations. DO NOT MERGEBill Yi2-2/+2
Change-Id: Ia6a62ea85b0a61cf94e4dbe20bddcb5aa0e99eba Auto-generated-cl: translation import
2017-04-10Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I57c2a9e284ad880ee56a8d40bf88a02a74554069 Auto-generated-cl: translation import
2017-04-02Import translations. DO NOT MERGEBill Yi77-823/+824
Auto-generated-cl: translation import Bug: 36832302 Change-Id: I33c7a3e55084f5f827b1833fed0142e800a38950
2017-04-02Import translations. DO NOT MERGEBill Yi12-18/+18
Auto-generated-cl: translation import Bug: 36832302 Change-Id: I6b9237cb556259ed9803ae1bef977d284d93d618
2017-04-02Import translations. DO NOT MERGEBill Yi2-17/+17
Auto-generated-cl: translation import Bug: 36832302 Change-Id: I383339746de9527c4a03e2e73697771f9c2310da
2017-04-02Import translations. DO NOT MERGEBill Yi23-52/+52
Auto-generated-cl: translation import Bug: 36832302 Change-Id: I6f0c71c1cf7d5fda940bcc2a164ccef590d1db4d
2017-04-02Import translations. DO NOT MERGEBill Yi1-1/+1
Auto-generated-cl: translation import Bug: 36832302 Change-Id: Ia1da75e3245c7fd496cf2874661b52a32ca24fd1
2017-04-02Import translations. DO NOT MERGEBill Yi1-2/+2
Auto-generated-cl: translation import Bug: 36832302 Change-Id: I445089565caa6c65a090b8f09a6b6502c32c2de0
2017-04-02Import translations. DO NOT MERGEBill Yi4-4/+4
Auto-generated-cl: translation import Bug: 36832302 Change-Id: I1982e54320535710dbdc834c27ef2d1fa8943d2b
2017-03-18Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: Ied425f74e8a9ed970d58a1786cceaf4a65dafd25 Auto-generated-cl: translation import
2017-03-11Import translations. DO NOT MERGEBill Yi1-4/+4
Change-Id: I88f3eaab760d31e0a6033fc5139eb3d895615868 Auto-generated-cl: translation import
2017-02-27Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: Ic5d0884ead532df33d687f97b77427505f781854 Auto-generated-cl: translation import
2017-02-27Import translations. DO NOT MERGEBill Yi2-3/+3
Change-Id: I0b37f25bb865080e1af2bbbcda9f75c75df61ace Auto-generated-cl: translation import
2017-02-22Import translations. DO NOT MERGEBill Yi2-2/+2
Change-Id: I9d6915a04bb30cbd529bac3d8b494ab7a4d9373b Auto-generated-cl: translation import
2017-02-15Import translations. DO NOT MERGEBill Yi2-2/+2
Change-Id: I65cc4ee1caea5d9d8e9a704549175e52611ba0b9 Auto-generated-cl: translation import
2017-02-15Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: If68282123e97f900198a68725a1a98dc633115b7 Auto-generated-cl: translation import
2017-02-13Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: Ia23561952613167121f2b8a71e0f513d9b94c3fc Auto-generated-cl: translation import
2017-02-13Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I25fd4ba408b5cac17e59bde1bce35fe3a873b667 Auto-generated-cl: translation import
2017-02-06Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I85ab7357304db2675724e05d922f9d6580769cac Auto-generated-cl: translation import
2017-02-06Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: Ib8e0ccb864801edb08db48c6470571ba09509f68 Auto-generated-cl: translation import
2017-02-02Import translations. DO NOT MERGEBill Yi13-23/+23
Change-Id: I9a224565bb46caa20ead911a74702c773ea2a282 Auto-generated-cl: translation import
2017-02-02Import translations. DO NOT MERGEBill Yi1-2/+2
Change-Id: I7796f5a735a49337ada20e07143db34574a40017 Auto-generated-cl: translation import
2017-02-02Import translations. DO NOT MERGEBill Yi4-6/+6
Change-Id: I81c09641bd1dd7c3366bb9de425888c0f536763e Auto-generated-cl: translation import
2017-01-25Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: Ib8e5286840792ffe1821fd30864f0cbcd4dfb6cc Auto-generated-cl: translation import
2017-01-25Import translations. DO NOT MERGEBill Yi1-1/+1
Change-Id: I1bee68444978c18ee1fd22e013d1d257577bc076 Auto-generated-cl: translation import
2017-01-20Import translations. DO NOT MERGEBill Yi1-2/+2
Change-Id: I571ae882876a8860c8ab8e37932627f9c2c70336 Auto-generated-cl: translation import
2017-01-10Rename language+country resources to just languageRoozbeh Pournader248-0/+0
Bug: 26496609 Test: none Change-Id: I3eb7d265cc3c5ebbbc4ef737deb24f099757e821
2017-01-09Import translations. DO NOT MERGEBill Yi2-2/+2
Change-Id: I5c3a1725ec353a319a707f7518f9f606c5815d0b Auto-generated-cl: translation import
2017-01-04Import translations. DO NOT MERGEBill Yi1-2/+2
Change-Id: I9bc416790e89a6bbc0f4bbc874ba6490eba9e627 Auto-generated-cl: translation import
2017-01-04Import translations. DO NOT MERGEBill Yi1-2/+2
Change-Id: I9ddc4f8034ff38e90c78b3383ef9eaf418082843 Auto-generated-cl: translation import