Commit graph

40759 commits

Author SHA1 Message Date
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
Chih-hung Hsieh
f886546409 Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni"
am: a3addf1187

Change-Id: I92e0317804176a295c079aa81e7b01fc03a852d9
2017-11-03 00:51:12 +00:00
Chih-hung Hsieh
a3addf1187 Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni" 2017-11-03 00:47:18 +00:00
Chih-Hung Hsieh
fab2c3c0ea Use -Werror in packages/inputmethods/LatinIME/native/jni
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I6b91302908e147077bb4fd0a8718c39357337133
2017-11-02 10:18:54 -07:00
Bill Yi
bd08799b4a Import translations. DO NOT MERGE
Change-Id: Ibbdbe5ae6503c20da9a53d82ee2cb3d68e11a397
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-10-30 17:24:56 -07:00
Chih-hung Hsieh
e04f43ca92 Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni" am: f3681fed6d am: 707fd5c3d2
am: 4424dbc80b

Change-Id: If238e8ffc1e7c4f0d7b436fcc568fca4bb098d78
2017-10-30 19:56:45 +00:00
Chih-hung Hsieh
4424dbc80b Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni" am: f3681fed6d
am: 707fd5c3d2

Change-Id: Ie6eb2d7f07c5cc734fe442315ecf57d68512180d
2017-10-30 19:45:38 +00:00
Chih-hung Hsieh
707fd5c3d2 Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni"
am: f3681fed6d

Change-Id: Ib83bfbc92d482f4b242255200da1311a00141cd6
2017-10-30 19:40:45 +00:00
Chih-hung Hsieh
f3681fed6d Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni" 2017-10-30 19:26:28 +00:00
Chih-Hung Hsieh
1da7b0c5bb Use -Werror in packages/inputmethods/LatinIME/native/jni
* Suppress warning on unused loop index variable.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ia3f0f9cc4cb0ebeeac9b1ff51955597a725c87ef
2017-10-20 15:19:55 -07:00
Bill Yi
01e4844599 Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 21a3e7ef7a -s ours am: 26fe9fffde -s ours
am: ffa65d4823  -s ours

Change-Id: I96c17177380528b7b56145071aaa9a6050d4409e
2017-10-20 17:46:51 +00:00
Bill Yi
ffa65d4823 Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 21a3e7ef7a -s ours
am: 26fe9fffde  -s ours

Change-Id: Id187f0e0713127cd572edb95cbc2418d7ccc36d6
2017-10-20 17:16:39 +00:00
Bill Yi
26fe9fffde Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 21a3e7ef7a  -s ours

Change-Id: Ib2495b632cfeccf0b16c9c559738bad81d87b51e
2017-10-20 16:39:22 +00:00
Bill Yi
10b9317d30 Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 0a366715cd -s ours am: 93774e5a5e -s ours
am: a588e32070  -s ours

Change-Id: Ia3236f778905d26a349a4f751dc2b3786d5a0234
2017-10-20 16:11:05 +00:00
Bill Yi
0de7a9f776 Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 93be386157 -s ours am: 086c57be76 -s ours
am: 20fee8e668  -s ours

Change-Id: Iff98c6dc6296053f8866d84aa3aaf9129aa76be6
2017-10-20 16:10:41 +00:00