Commit Graph

28151 Commits

Author SHA1 Message Date
Raju Kulkarni
fd29ac8a5e Updating platform SDK version for R
* Reset package versions
  * Update VNDK lib list

Bug:152953870

Test: N/A

Exempt-From-Owner-Approval: merge conflict resolution

Change-Id: I765b1467af5a7a32a48e0d78a29486f320266577
Merged-In: I765b1467af5a7a32a48e0d78a29486f320266577
2020-05-02 14:38:47 -07:00
bohu
627104e99a [automerger skipped] emulator: package ramdisk-qemu.img to image zip am: e3c06cb247 -s ours
am skip reason: Change-Id I7949daa15edafeeb51e80d320bcbb5a450cd0a49 with SHA-1 7b21036ee9 is in history

Change-Id: Ic9184d3ac0ec23f623c74f33b938ef65b7a71fd3
2020-05-01 23:42:07 +00:00
bohu
e3c06cb247 emulator: package ramdisk-qemu.img to image zip
BUG: 149826779
Test: build
Change-Id: I7949daa15edafeeb51e80d320bcbb5a450cd0a49
Merged-In: I7949daa15edafeeb51e80d320bcbb5a450cd0a49
2020-05-01 20:01:53 +00:00
Treehugger Robot
0dffe3ada2 Merge "Switch to clang-r383902" am: a0ba9fab45 am: c8baaa410e
Change-Id: I25f23bd8f558944b4826ba56ffd00d750a04ecbf
2020-05-01 18:35:15 +00:00
Treehugger Robot
c8baaa410e Merge "Switch to clang-r383902" am: a0ba9fab45
Change-Id: I039499a777e7dc3bfb46ae23e0205862dfb8cd93
2020-05-01 18:20:31 +00:00
Treehugger Robot
a0ba9fab45 Merge "Switch to clang-r383902" 2020-05-01 18:11:01 +00:00
Yi Kong
bf61605531 Switch to clang-r383902
This change also adapts to llvm::StringRef losing its implicit
conversion to std::string().

Test: ./build-prebuilts.sh
Change-Id: I32e2ca71fde4d39726a5061d641e933121e9bafe
2020-05-01 03:41:51 -07:00
David Gross
f7aab5ddfc Place a dummy file at the location of each (previously removed) old GNU linker am: 940757220e
Change-Id: I05de83c6e641cb67ada7dae413ba3c211ab3eec1
2020-04-30 01:42:18 +00:00
David Gross
940757220e Place a dummy file at the location of each (previously removed) old GNU linker
Previously, old GNU linkers were removed, in favor of the LLVM linker
lld.  However, old versions of AGP consider the absence of those linkers
to mean that the build tools are corrupted.  To solve this problem, we
provide a (non-executable) dummy file in place of each old GNU linker to
keep AGP satisfied.  A compatibility mode RenderScript build by those
old versions of AGP will fail (as it would have without the dummy
files), but everything else should work.

Bug: 153685081
Bug: 144040336
Bug: 142590626

Test: (gLinux) m TARGET_PRODUCT=sdk_phone_armv7 TARGET_BUILD_VARIANT=userdebug sdk dist sdk_repo
      (gLinux) m TARGET_PRODUCT=sdk_phone_armv7 TARGET_BUILD_VARIANT=userdebug win_sdk dist sdk_repo
Change-Id: I7574c850bfb593df5bcb9131ea8915061b0083e1
2020-04-29 14:26:10 -07:00
Feng Cao
163ec3ea06 Update sample IME and autofill provider to use the new support lib APIs am: 0c501136ca
Change-Id: I0c63cb8c944e2b16ace4f648423fe9c7930a9d0a
2020-04-28 21:26:04 +00:00
Chih-hung Hsieh
babf3b6db0 Merge "Accept and fetch multiple packages" am: 066b315b2c am: 0bb869f863
Change-Id: Iac261b4ef886350548aca1ff1fb15200fbd71235
2020-04-28 17:58:00 +00:00
Chih-hung Hsieh
0bb869f863 Merge "Accept and fetch multiple packages" am: 066b315b2c
Change-Id: I1a3f250a7d1747258b94b99a4aca3f0497974277
2020-04-28 17:42:15 +00:00
Chih-hung Hsieh
066b315b2c Merge "Accept and fetch multiple packages" 2020-04-28 17:22:14 +00:00
Feng Cao
0c501136ca Update sample IME and autofill provider to use the new support lib APIs
* refactor the autofill provider code
* keyboard now uses wrap_content when inflating

Test: manual
Bug: 154178486

Change-Id: Ie540178d8f063e3a8e9afb76284b15ab40ada344
2020-04-28 00:04:20 -07:00
Josh Gao
9b1e69ee2e Merge "Increment platform-tools version to 30.0.1." am: 0879b4757c am: 5cc3c95c3b
Change-Id: I6f0bb5c28968167fab9441f22c0bf73542697baa
2020-04-27 21:04:44 +00:00
Josh Gao
5cc3c95c3b Merge "Increment platform-tools version to 30.0.1." am: 0879b4757c
Change-Id: I994240200ed17cc0664f0ac3be5e0de91b014c3f
2020-04-27 20:52:04 +00:00
Josh Gao
0879b4757c Merge "Increment platform-tools version to 30.0.1." 2020-04-27 20:36:55 +00:00
Josh Gao
9c5c241581 Increment platform-tools version to 30.0.1.
Bug: http://b/155027579
Test: none
Change-Id: Ib6dc124bfc4ce0406d13c07ee41989f38e8ce88e
2020-04-27 20:36:35 +00:00
Chih-Hung Hsieh
23a7406de1 Accept and fetch multiple packages
* Duplicated package names are skipped.
* A package name can be a simple base name like 'syn',
  or with version number like 'syn-1.0.5'.

Test: get_rust_pkg.py -h
Test: get_rust_pkg.py pkg1 pkg2 pkg3
Test: get_rust_pkg.py -o tmp -v pkg1 pkg2 pkg1
Change-Id: I5757f20c9a7cb244dc4b06113e28fcf4585c0703
2020-04-24 13:24:14 -07:00
Yo Chiang
7ee04ece2e Merge "repo_diff: workspace mustn't be in existing tree" am: 36f1452bd4 am: 401bea0161
Change-Id: I85c671b6fd0e7907ccee4cd78508c583c887f7d8
2020-04-24 07:26:19 +00:00
Yo Chiang
401bea0161 Merge "repo_diff: workspace mustn't be in existing tree" am: 36f1452bd4
Change-Id: I7c86b1b19e23da89e60bbb1176a17e0c76863182
2020-04-24 07:16:13 +00:00
Yo Chiang
36f1452bd4 Merge "repo_diff: workspace mustn't be in existing tree" 2020-04-24 07:09:51 +00:00
TreeHugger Robot
79289b6516 Merge "Fix NPE when run the testing in IntentPlayground" into rvc-dev am: 44b11dd142
Change-Id: I7a63deb14b0e9727e53c5c1a01a20c83a86d26e5
2020-04-24 02:51:27 +00:00
TreeHugger Robot
44b11dd142 Merge "Fix NPE when run the testing in IntentPlayground" into rvc-dev 2020-04-24 02:34:41 +00:00
Yo Chiang
9e4a1bad45 repo_diff: workspace mustn't be in existing tree
Check that |workspace| is not a sub-directory of an Android tree, so
that we don't `repo init` to a directory outside of |workspace|.

Test: mkdir /tmp/test && cd /tmp/test && repo init [AOSP]
Test: ./repo_diff_android.py  # Should fail to repo-init
Test: rm -rf .repo/ && ./repo_diff_android.py  # Should success
Change-Id: I3e1b94e8e3664cc50ab790aaa7e27b2a8d3feef0
2020-04-23 17:53:47 +08:00
Treehugger Robot
b153393313 Merge "Add a script for generating the NDK documentation." am: eedf0b0986 am: e5d9a4ede0
Change-Id: Ic19d6e1cda8c363fe2b647b1d7e068f7fc53b3f7
2020-04-23 00:37:31 +00:00
Treehugger Robot
e5d9a4ede0 Merge "Add a script for generating the NDK documentation." am: eedf0b0986
Change-Id: If1c153ea0ce0b64d9049e94509e29fd478245778
2020-04-23 00:22:39 +00:00
Treehugger Robot
eedf0b0986 Merge "Add a script for generating the NDK documentation." 2020-04-23 00:08:30 +00:00
Dan Albert
987b0998c7 Add a script for generating the NDK documentation.
This is not going to exactly match the view on devsite since that goes
through a different layer of tooling and is themed differently, but
it's a decent approximation for checking most formatting issues.

Longer term, we need to get prebuilts for doxygen into the tree so we
can revive `m ndk-docs`.

Test: ./build_ndk_docs.py
Bug: http://b/115644359
Change-Id: Ib1533a8f45731a1ae2fbec79d463d17e9124beaa
2020-04-22 14:20:42 -07:00
Colin Cross
064a52e424 [automerger skipped] Package core-current-stubs-for-system-modules into the SDK am: 18b3f5f895 -s ours
am skip reason: Change-Id I9d67344f159f9482567323f27c5a8e4e060e1f1a with SHA-1 89c5517a28 is in history

Change-Id: I7d646dd40659c9a6669513e5898ec0acfca4737a
2020-04-22 18:35:44 +00:00
Colin Cross
18b3f5f895 Package core-current-stubs-for-system-modules into the SDK
core-current-stubs-for-system-modules needs to be distributed
in the SDK to allow apps to be built with javac -source 9 -target 9.

Bug: 143209928
Test: m TARGET_PRODUCT=sdk_phone_x86 TARGET_BUILD_VARIANT=userdebug sdk sdk_repo dist
Change-Id: I9d67344f159f9482567323f27c5a8e4e060e1f1a
Merged-In: I9d67344f159f9482567323f27c5a8e4e060e1f1a
(cherry picked from commit 89c5517a28)
2020-04-22 08:59:03 -07:00
Colin Cross
dd5163124e Merge "Package core-current-stubs-for-system-modules into the SDK" am: 56d21f5ebb am: 73e25944a0
Change-Id: I6aeef43fe3e2a4e0a2e5a15fc54c1a600b2923e7
2020-04-21 23:11:35 +00:00
Ady Abraham
de40eecb8d remove obsolete path from frameworks/native am: ea7685211d
Change-Id: I8d5aa00cca31a577fab7c26f6775b05232fb1a87
2020-04-21 22:51:23 +00:00
Colin Cross
73e25944a0 Merge "Package core-current-stubs-for-system-modules into the SDK" am: 56d21f5ebb
Change-Id: I59f542a35b61c8cbc52adbb13c14ff1e2ed230c5
2020-04-21 22:46:19 +00:00
Colin Cross
56d21f5ebb Merge "Package core-current-stubs-for-system-modules into the SDK" 2020-04-21 22:25:26 +00:00
Ady Abraham
ea7685211d remove obsolete path from frameworks/native
ag/11038755 removed some tests from SurfaceFlinger, so we need
to update CMakeLists.txt as well.

Test: Open CLion on fameworks/native project
Bug: b/77585359
Change-Id: Ide31716c85dca3c80979221577b444ecaffb6b32
2020-04-21 13:45:44 -07:00
Jeff Chang
6275634b9e Fix NPE when run the testing in IntentPlayground
StartActivity with a null intent lead to the NPE when execute
the Intent testing.

This CL make sure the intent is good before run the testing

Bug: 154568140
Test: Manual to run the intent tesing.
Change-Id: I8d8bc8e1347ae5f095e01f4a718f2ab936574fcc
2020-04-21 10:34:53 +00:00
Treehugger Robot
09836adb6e Merge changes Ibfc261d8,I2c9001ef am: 13954964bc am: 1536cb65fd
Change-Id: I3a803c1e1e4260729c018e1b9631475a0d30adf2
2020-04-21 04:13:58 +00:00
Treehugger Robot
1536cb65fd Merge changes Ibfc261d8,I2c9001ef am: 13954964bc
Change-Id: I0727390174eaf490a9355f22a163c745640b5e41
2020-04-21 03:52:45 +00:00
Treehugger Robot
13954964bc Merge changes Ibfc261d8,I2c9001ef
* changes:
  repo_pull: Handle abnormal responses
  repo_review: Add --add-reviewer, --delete-reviewer
2020-04-21 03:34:17 +00:00
Yo Chiang
dc9a2b7ec9 repo_pull: Handle abnormal responses
urllib.error.HTTPError works as a http response object (same type that
urlopen() returns). Handle the exception by reading and parsing the
response body of the error.

Test: ./repo_review.py --add-reviewer [invalid username] [query]
Test: ./repo_review.py --add-reviewer [ambiguous username] [query]
Change-Id: Ibfc261d83f2f9efd7873835f74ce8d5e980821c9
2020-04-21 02:56:08 +00:00
Yo Chiang
c8827d1fd8 repo_review: Add --add-reviewer, --delete-reviewer
Test: ./repo_review.py --add-reviewer [lint bot] [query]
Test: ./repo_review.py --delete-reviewer [lint bot] [query]
Change-Id: I2c9001ef83e48656053db1dbfe7d373ce2b26eea
2020-04-20 17:00:30 +08:00
Colin Cross
89c5517a28 Package core-current-stubs-for-system-modules into the SDK
core-current-stubs-for-system-modules needs to be distributed
in the SDK to allow apps to be built with javac -source 9 -target 9.

Bug: 143209928
Test: m TARGET_PRODUCT=sdk_phone_x86 TARGET_BUILD_VARIANT=userdebug sdk sdk_repo dist
Change-Id: I9d67344f159f9482567323f27c5a8e4e060e1f1a
2020-04-17 18:18:18 -07:00
Yo Chiang
096bd75397 Merge "Specify import library of DLL prebuilt" am: 9be83948cb am: 88a5770cb7
Change-Id: I2be443774bdb5d60e1745544f80b2da5711aea9d
2020-04-17 01:41:39 +00:00
Yo Chiang
88a5770cb7 Merge "Specify import library of DLL prebuilt" am: 9be83948cb
Change-Id: Ie7cefa322263c1a49c928673826c050274cfe9cc
2020-04-17 01:21:17 +00:00
Yo Chiang
9be83948cb Merge "Specify import library of DLL prebuilt" 2020-04-17 01:07:03 +00:00
Orion Hodson
842130c0f0 Merge "Add explicit dependency on jni_headers" am: d7b8f6e0fb am: 34c9491836
Change-Id: I2472aedfdefa230faccf9b53dd8d8eb4f7f3eb54
2020-04-16 10:51:59 +00:00
Orion Hodson
34c9491836 Merge "Add explicit dependency on jni_headers" am: d7b8f6e0fb
Change-Id: I629822f820e148b797ba20499155c8cfac39c51e
2020-04-16 10:38:05 +00:00
Orion Hodson
d7b8f6e0fb Merge "Add explicit dependency on jni_headers" 2020-04-16 10:25:11 +00:00
Orion Hodson
d54dc1d789 Add explicit dependency on jni_headers
Preparation for removing implicit include paths for jni.h from soong.

Bug: 152482542
Test: m checkbuild
Change-Id: I1801621549689111b058fa611d2d3e2b08ee2a45
Exempt-From-Owner-Approval: build refactoring
2020-04-16 08:25:53 +00:00