Commit Graph

40673 Commits (5629b59166b12dc1ca3b3528421e565f570d1bb1)

Author SHA1 Message Date
Bill Yi 87d2226e3b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I118125d24857d4aae99800775c0456ee94c56676
2017-12-19 17:33:50 -08:00
Paul Duffin 8a45a970ab Add android.test.base/stubs dependency
In preparation for the removal of the non-junit classes in the
android.test.base library from the android.jar this adds a dependency
on android.test.base/stubs to ensure this code will continue to
compile.

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
    Added 'android.test.base.stubs' to LOCAL_JAVA_LIBRARIES because
    LatinIMETests's will need them in order to compile once its classes
    are removed from the current SDK on which it currently depends.

Bug: 30188076
Test: make dist
Change-Id: I9f2244d4b5711620dc02dd24dc407807d726480e
2017-12-15 07:22:38 +00:00
Colin Cross fc55b74b57 Merge "Use a.t.mock.stubs instead of a.t.mock.sdk" am: 87c6fcf126 am: 88f12fdcce
am: d373b6c4a5  -s ours

Change-Id: I86e0ae275098b662783ca97b9a73bbcd80cac611
2017-12-13 01:58:08 +00:00
Colin Cross d373b6c4a5 Merge "Use a.t.mock.stubs instead of a.t.mock.sdk" am: 87c6fcf126
am: 88f12fdcce

Change-Id: I4ffe046c3b332cd065ba5735f23e19b8d067ac6b
2017-12-13 01:44:36 +00:00
Colin Cross 88f12fdcce Merge "Use a.t.mock.stubs instead of a.t.mock.sdk"
am: 87c6fcf126

Change-Id: Iaf8222d9bde062ebd6a75a610961b518a2fd65ca
2017-12-13 01:12:43 +00:00
Colin Cross 87c6fcf126 Merge "Use a.t.mock.stubs instead of a.t.mock.sdk" 2017-12-12 23:26:41 +00:00
TreeHugger Robot 48011de49f Merge "Import translations. DO NOT MERGE" 2017-12-08 20:00:11 +00:00
TreeHugger Robot a97cfc272a Merge "Import translations. DO NOT MERGE" 2017-12-08 05:29:23 +00:00
Xin Li 913ab6557d Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: d8a341b914 -s ours am: 6819b9691a
am: 55cf499d38  -s ours

Change-Id: I01d1445d4d5bedb92c343a464d0af9c21b1df3cd
2017-12-08 04:40:23 +00:00
Bill Yi 3d21834741 Import translations. DO NOT MERGE
Change-Id: I1fb69251a612e2f064b418a651e5c679aeb6f528
Auto-generated-cl: translation import
2017-12-07 17:02:42 -08:00
Bill Yi 4d9d9b3224 Import translations. DO NOT MERGE
Change-Id: I23bdefa3861b985df5f0cec0cfc84e85df449e58
Auto-generated-cl: translation import
2017-12-07 17:02:31 -08:00
Stephen Li aa43373fb8 Manually merge changes from giant AOSP topic
Change-Id: Ib64f9a5480b83acb2ef855d5c45a7defcdd5be8a
2017-12-07 23:29:32 +00:00
Paul Duffin 85c065986f Use a.t.mock.stubs instead of a.t.mock.sdk
Remove dependencies on android.test.mock.sdk as it is a duplicate of
android.test.mock.stubs and will be removed.

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
    Replaced 'android.test.mock.sdk' with 'android.test.mock.stubs' in
    LOCAL_JAVA_LIBRARIES because android.test.mock.sdk has been
    deprecated.

Bug: 30188076
Test: make checkbuild
Change-Id: I50a306c3bb80a9d7cdf2d19744734f304abf3bd1
Merged-In: I50a306c3bb80a9d7cdf2d19744734f304abf3bd1
(cherry picked from commit 097130d198)
2017-12-07 13:34:41 -08:00
Xin Li 55cf499d38 Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: d8a341b914 -s ours
am: 6819b9691a

Change-Id: Icafe49b5f116100b493ee86c0b1504f000d4210a
2017-12-07 15:39:59 +00:00
Xin Li 6819b9691a Merge "DO NOT MERGE: Merge Oreo MR1 into master"
am: d8a341b914  -s ours

Change-Id: I6553c89a7d7267cc2298572fd09d64202cffd858
2017-12-07 15:34:01 +00:00
Xin Li 7278f39f05 DO NOT MERGE: Merge Oreo MR1 into master am: f630b9d122 -s ours
am: be28cec210

Change-Id: Ide80325d76a65ff630b2583cc3a816820a2cd054
2017-12-07 07:08:24 +00:00
Xin Li be28cec210 DO NOT MERGE: Merge Oreo MR1 into master
am: f630b9d122  -s ours

Change-Id: Idadf26f4ef05cfbcf9b6f8b74d12d1e1ee28e017
2017-12-07 04:39:13 +00:00
Xin Li d8a341b914 Merge "DO NOT MERGE: Merge Oreo MR1 into master" 2017-12-06 23:18:26 +00:00
Xin Li f630b9d122 DO NOT MERGE: Merge Oreo MR1 into master
Exempt-From-Owner-Approval: Changes already landed internally
Change-Id: Ib1ef5bebfccf8eab11bb080c0e13cdf4cff9e79e
2017-12-06 14:24:54 -08:00
Paul Duffin 2ccdf50ae2 Flatten dependency hierarchy of legacy-android-test
Previous changes statically included legacy-android-test in preparation
for removing android.test.* and junit.* classes from the android.jar.
Unfortunately, that lead to duplicate classes between APKs and the
bootclasspath which caused build problems (Proguard) and also runtime
problems (when targeting and running on older releases).

Switching from statically including the classes to using the runtime
libraries cannot be done in one step because legacy-android-test is
statically included in libraries which are used in many APKs and so
removing it from those libraries requires that all APKs be updated at
once. Doing that atomically across dozens of projects is not practical.

This change modifies APKS that statically include the
legacy-android-test library indirectly.

* If the APK manifest uses the android.test.runner library then the APK
  is modified to stop statically including legacy-android-test and
  instead build against android.test.base/mock/runner libraries instead.

* Otherwise, the APK statically includes legacy-android-test.

Also, any libraries that statically include are modified to stop
statically including it and if it has source dependencies on the classes
is changed to build against the android.test.base/mock/runner libraries.

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
    Replaced 'legacy-android-test' with 'android.test.runner.stubs' in
    LOCAL_JAVA_LIBRARIES because LatinIMETests's source depends on its
    classes. The classes do not need to be statically included because
    the classes will be provided by the runtime, either from the
    default bootclasspath or from the android.test.runner library that
    LatinIMETests specifies in its manifest.

Bug: 30188076
Test: make checkbuild
Change-Id: I3c70889b35d402626f79c986771b9c2ea8823b8a
2017-12-05 18:36:57 +00:00
TreeHugger Robot 17b2ad33b3 Merge "Import translations. DO NOT MERGE" 2017-12-01 08:38:30 +00:00
TreeHugger Robot e3b9274f72 Merge "Import translations. DO NOT MERGE" 2017-12-01 08:31:24 +00:00
Bill Yi 3fc52c759c Import translations. DO NOT MERGE
Change-Id: I04edbba85dc4d86470666ec0ff9bad841af7524a
Auto-generated-cl: translation import
2017-11-30 16:23:02 -08:00
Bill Yi 1fb66b791f Import translations. DO NOT MERGE
Change-Id: I4e7b720ad4a2493ac24a44e66a4c52f8ef63ceac
Auto-generated-cl: translation import
2017-11-30 16:22:35 -08:00
Bill Yi d1a4333ce0 Import translations. DO NOT MERGE
Change-Id: Ib36b48a0a806dc351ffba5a5581f85c017ca348a
Auto-generated-cl: translation import
2017-11-30 16:22:18 -08:00
Bill Yi 6473e72066 Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: f99e090a59 -s ours
am: 6c15e41132  -s ours

Change-Id: I4ccdda15676463fc597708615c9050bc55d365e3
2017-11-30 01:57:45 +00:00
Bill Yi 6dcbe40953 Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: b6355a66f7 -s ours
am: 3357121876  -s ours

Change-Id: I9cae8dbc6e32f4fa4782585844ed24ce7c40c8e7
2017-11-30 01:57:24 +00:00
Bill Yi 438d7c9cc3 Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: b9d6be45b3 -s ours
am: 972a9c71a5  -s ours

Change-Id: Ie421017314ec9c394e95c84be43779bbcda256c8
2017-11-30 01:57:04 +00:00
Bill Yi 29752fad72 Import translations. DO NOT MERGE am: 39973180c7 -s ours
am: fee92ba29d  -s ours

Change-Id: I533dfeef8074487d1814b21b7ac0a275752e8f9d
2017-11-30 01:56:31 +00:00
Bill Yi 6c15e41132 Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: f99e090a59  -s ours

Change-Id: Ic128a8eb29da928630810de68c3604e4e635b880
2017-11-30 01:49:01 +00:00
Bill Yi 3357121876 Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: b6355a66f7  -s ours

Change-Id: I772e5ea1e784322fe2fcfdf5b9a6f445d4749cbc
2017-11-30 01:48:37 +00:00
Bill Yi 972a9c71a5 Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: b9d6be45b3  -s ours

Change-Id: I7ebb09e31141a4da80df3c98f18b394c3224252e
2017-11-30 01:48:13 +00:00
Bill Yi fee92ba29d Import translations. DO NOT MERGE
am: 39973180c7  -s ours

Change-Id: I3efb84c5ca812217047f1c3a7ecbd645a25fa755
2017-11-30 01:47:48 +00:00
TreeHugger Robot f99e090a59 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2017-11-30 01:30:16 +00:00
TreeHugger Robot b6355a66f7 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2017-11-30 01:30:00 +00:00
TreeHugger Robot b9d6be45b3 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2017-11-30 01:26:34 +00:00
Bill Yi 83cce9a2c6 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 69925163
Change-Id: I27a8a609dbedec443ec0efcb5a9624a30109a2dd
2017-11-29 15:24:23 -08:00
Bill Yi c34ef720ca Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 69925163
Change-Id: I24694255d2be60a04d11630f1f738b8e84eaeaa0
2017-11-29 15:14:33 -08:00
Bill Yi 507946daee Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 69925163
Change-Id: I04fb48059e4b43c0093ff661dc15f7471f58821b
2017-11-29 15:12:28 -08:00
Bill Yi 39973180c7 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 69925163
Change-Id: I0303d0946be41a5bea10906e4c83de2288720df0
2017-11-29 15:10:28 -08:00
Bill Yi 7a38b2ca38 Import translations. DO NOT MERGE
Change-Id: I9888f32b8fe115df2509ec58edf97fac514a6984
Auto-generated-cl: translation import
2017-11-26 11:33:43 -08:00
TreeHugger Robot 6020a29d49 Merge "Import translations. DO NOT MERGE" 2017-11-20 22:27:35 +00:00
Bill Yi 714c4d4dbf Import translations. DO NOT MERGE
Change-Id: I2ef7c3c9861f0b171d90c8224f5a9b11550a0482
Auto-generated-cl: translation import
2017-11-20 12:43:12 -08:00
Paul Duffin 097130d198 Use a.t.mock.stubs instead of a.t.mock.sdk
Remove dependencies on android.test.mock.sdk as it is a duplicate of
android.test.mock.stubs and will be removed.

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
    Replaced 'android.test.mock.sdk' with 'android.test.mock.stubs' in
    LOCAL_JAVA_LIBRARIES because android.test.mock.sdk has been
    deprecated.

Bug: 30188076
Test: make checkbuild
Change-Id: I50a306c3bb80a9d7cdf2d19744734f304abf3bd1
2017-11-16 12:57:31 +00:00
Xin Li 031c250ed2 Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am: a4843aaec0

Change-Id: I0462847f2e5bed2130ece4c1c729070189fd7849
2017-11-15 02:05:52 +00:00
Xin Li a4843aaec0 Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Change-Id: I09ea85c7e1d2723c995b7713ebe2c0cd512c5838
2017-11-14 16:38:24 -08:00
Xin Li e2a1657453 Merge commit 'e6db3dd483747a8f3055c003c706b0c7e7f14db0' into HEAD
Change-Id: I1dc30ae47185eb72a0c0cda05b336c429c20d6de
2017-11-13 14:35:47 -08:00
Bill Yi 99a877b0e2 Import translations. DO NOT MERGE
Change-Id: Id418d38eb98ab8208f06e5c7af1ca796296937dd
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-11-06 23:16:44 -08:00
Chih-hung Hsieh ae75ff8526 Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni" am: a3addf1187 am: f886546409
am: d04a2c6eaf

Change-Id: Id718f12529fba122c4dcef1403e9284c5ba576a8
2017-11-03 00:56:55 +00:00
Chih-hung Hsieh d04a2c6eaf Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni" am: a3addf1187
am: f886546409

Change-Id: I6087998abe17e2e37c9a2f67a27197681db218f3
2017-11-03 00:53:24 +00:00