Commit Graph

32962 Commits

Author SHA1 Message Date
Treehugger Robot
ea6cc3fbbb Merge "Update tests due to clang variable and struct naming changes." am: 8b3339921b am: 972cbb2a83
Original change: https://android-review.googlesource.com/c/platform/development/+/2133256

Change-Id: Id38abf46ca6ddc06eca2dc4a69adb262486e12b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 08:45:52 +00:00
Treehugger Robot
972cbb2a83 Merge "Update tests due to clang variable and struct naming changes." am: 8b3339921b
Original change: https://android-review.googlesource.com/c/platform/development/+/2133256

Change-Id: Id5ed56ed3d7f4431457d776499f010c53ed4daf2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 08:29:09 +00:00
Treehugger Robot
8b3339921b Merge "Update tests due to clang variable and struct naming changes." 2022-06-22 07:58:27 +00:00
Mu-Le Lee
e5f137adf2 Update tests due to clang variable and struct naming changes.
Test: ANDROID_BUILD_TOP=`realpath .` \
      PATH=$PATH:`realpath out/soong/dist/bin`:`realpath out/soong/host/linux-x86/bin` \
      development/vndk/tools/header-checker/tests/test.py
Bug: 236780777
Change-Id: I794bcb9e9c922c642c3fbf0808fb60de4445ab65
2022-06-22 04:10:43 +00:00
Raju Kulkarni
d27810a4a1 Bump SDK revision number to ship an update with Beta 4 am: d16b8ab5ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/19014235

Change-Id: I062380a2ab0acbb661507df0b48ab50948c0334a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-21 20:59:02 +00:00
Raju Kulkarni
d16b8ab5ba Bump SDK revision number to ship an update with Beta 4
Bug: 236727709
Change-Id: I89f73dab0430435ee5afd7bf64e80f55b6420630
Test: N/A
2022-06-21 18:32:25 +00:00
Elliott Hughes
9b084add6d [automerger skipped] Work around an lldb bug with "localhost". am: bc119c2898 -s ours
am skip reason: Merged-In I3414201712ffe0f808899e2a2f206e813bb609a7 with SHA-1 fc6da790d9 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/18912685

Change-Id: Ie2136abb47348b88d2d3f0be6841903d14f93fe3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 00:06:32 +00:00
Elliott Hughes
bc119c2898 Work around an lldb bug with "localhost".
Bug: http://b/234034124
Test: reputed to work
Change-Id: I3414201712ffe0f808899e2a2f206e813bb609a7
(cherry picked from commit fc6da790d9)
Merged-In: I3414201712ffe0f808899e2a2f206e813bb609a7
2022-06-15 15:20:48 +00:00
Elliott Hughes
1f33349fdd Merge "Work around an lldb bug with "localhost"." am: d70c7045c1 am: 7497000703
Original change: https://android-review.googlesource.com/c/platform/development/+/2125714

Change-Id: I471f1a99640521b57197fae35fae1dc98b9c1173
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 15:11:14 +00:00
Elliott Hughes
7497000703 Merge "Work around an lldb bug with "localhost"." am: d70c7045c1
Original change: https://android-review.googlesource.com/c/platform/development/+/2125714

Change-Id: I0cc8a3515bd5f368997cd4e4b0f7370ae48827a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 14:39:59 +00:00
Elliott Hughes
d70c7045c1 Merge "Work around an lldb bug with "localhost"." 2022-06-15 14:26:05 +00:00
Matthew Maurer
ac52de81b2 Merge changes Ie8ff0e35,I4aebdb5e,I4d9b906f am: 270633f6ca am: 36ecd66b48
Original change: https://android-review.googlesource.com/c/platform/development/+/2125661

Change-Id: I547139fa320857d1cccd0254d2d3bcaab3201d6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 01:24:04 +00:00
Elliott Hughes
fc6da790d9 Work around an lldb bug with "localhost".
Bug: http://b/234034124
Test: reputed to work
Change-Id: I3414201712ffe0f808899e2a2f206e813bb609a7
2022-06-14 17:59:32 -07:00
Matthew Maurer
36ecd66b48 Merge changes Ie8ff0e35,I4aebdb5e,I4d9b906f am: 270633f6ca
Original change: https://android-review.googlesource.com/c/platform/development/+/2125661

Change-Id: I3668e64a68a4d0a97c7c163a2c7f5e97a336f9be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 00:55:24 +00:00
Matthew Maurer
270633f6ca Merge changes Ie8ff0e35,I4aebdb5e,I4d9b906f
* changes:
  c2a: Only use postsubmit when configured
  c2a: Denylist additional Rust tests modules
  c2a: Do not assume test_mapping.json exists
2022-06-14 23:29:35 +00:00
Matthew Maurer
e1d07ba872 c2a: Only use postsubmit when configured
Previous logic would place tests in both presubmit and postsubmit if the
postsubmit_tests configuration was not specified. This is both
unnecessary and wastes resources because presubmit tests are also run in
postsubmit.

Bug: 236006683
Test: Regenerate all TEST_MAPPINGs, manually check postsubmit removal
Change-Id: Ie8ff0e351776711e07bf7646efd916d970254e9c
2022-06-14 16:28:36 -07:00
Matthew Maurer
037b445ed8 c2a: Denylist additional Rust tests modules
These modules are not suitable for direct execution on cuttlefish, but
are still built as `rust_test` to get the harness.

Bug: 233924440
Test: Regenerate all TEST_MAPPINGs, pass presubmit
Change-Id: I4aebdb5e36cf3a80780483e0a7ebeb83e9735d29
2022-06-14 14:32:15 -07:00
Matthew Maurer
3f7f7e2236 c2a: Do not assume test_mapping.json exists
update_crate_tests would previously assume test_mapping.json existed
when trying to generate a TEST_MAPPING update. This made updating
mappings for the majority of existing crates fail.

Bug: 233924440
Test: Regenerate all Rust TEST_MAPPINGs
Change-Id: I4d9b906f4db233ee0223a3035c1b63bf1ca681f4
2022-06-14 14:32:00 -07:00
Treehugger Robot
eaf1d60e74 Merge "Allow ABI dumps to contain ANDROID_BUILD_TOP that is not a path prefix" am: 1a4e4daf49 am: 57d34a4b72
Original change: https://android-review.googlesource.com/c/platform/development/+/2122585

Change-Id: Iac81cc503a0b7e819cd80a4d5a19c475aaa5ba23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 10:46:58 +00:00
Treehugger Robot
57d34a4b72 Merge "Allow ABI dumps to contain ANDROID_BUILD_TOP that is not a path prefix" am: 1a4e4daf49
Original change: https://android-review.googlesource.com/c/platform/development/+/2122585

Change-Id: I42ea1f542eeaf7ca8cd1b8309f59ea882cdb465a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 10:28:48 +00:00
Treehugger Robot
1a4e4daf49 Merge "Allow ABI dumps to contain ANDROID_BUILD_TOP that is not a path prefix" 2022-06-13 10:05:10 +00:00
Hsin-Yi Chen
2ed4052a06 Allow ABI dumps to contain ANDROID_BUILD_TOP that is not a path prefix
Test: ./create_reference_dumps.py -products aosp_x86_64 -libs libm
Bug: 235300136
Change-Id: I75fa175018d6ed0da7a0949ff133869fd874c667
2022-06-13 16:47:32 +08:00
Anton Hansson
d79a014469 [automerger skipped] Remove non-existing dependency am: 5708cfea1c -s ours
am skip reason: Merged-In I14e47d6418f355c6c7db7444a25c3030f36a3f92 with SHA-1 1710a2efc7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/18599348

Change-Id: Ib5ae80567d19d97072c44e796d17f167b92feb48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 16:42:09 +00:00
Anton Hansson
82da12193e [automerger skipped] Remove system-images files from the SDK am: c92fe23901 -s ours
am skip reason: Merged-In I7ba2eb244a5930721c82895cd2947a1d2aff63e2 with SHA-1 ae04c5c358 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/18599347

Change-Id: Ia2037da504c6725eff94784afa9d6bbd73c2d9ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 16:42:03 +00:00
Anton Hansson
e526270068 [automerger skipped] Stop building the system-image zip am: dd5a6d5c95 -s ours
am skip reason: Merged-In I11a9aaea89c307d4698787e228fb47228244ab74 with SHA-1 897fe05053 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/18599346

Change-Id: Ie95a5b087282938f07b5c19039bfed239780fbcf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 16:41:56 +00:00
Anton Hansson
5708cfea1c Remove non-existing dependency
We have removed the system-images sdk zip, so remove the tracking of it
as a dependency for the addon.

Bug: 205008975
Test: presubmit
Merged-In: I14e47d6418f355c6c7db7444a25c3030f36a3f92
Change-Id: I14e47d6418f355c6c7db7444a25c3030f36a3f92
2022-05-25 13:16:11 +00:00
Anton Hansson
c92fe23901 Remove system-images files from the SDK
The system images distributed externally are created by a separate
set of rules than these. There are no known consumers of these
legacy system-image files.

This makes the SDK zip architecture-agnostic.

Bug: 205008975
Test: m sdk sdk_repo dist
Test: diff sdk zips from sdk_phone_arm64 and sdk_phone_x86 (no diff)
Merged-In: I7ba2eb244a5930721c82895cd2947a1d2aff63e2
Change-Id: I7ba2eb244a5930721c82895cd2947a1d2aff63e2
2022-05-25 13:16:10 +00:00
Anton Hansson
dd5a6d5c95 Stop building the system-image zip
The system images distributed externally are created by a separate
set of rules than these. There are no known consumers of these
legacy system-image zip files.

Bug: 205008975
Test: m sdk sdk_repo dist
Merged-In: I11a9aaea89c307d4698787e228fb47228244ab74
Change-Id: I11a9aaea89c307d4698787e228fb47228244ab74
2022-05-25 13:16:07 +00:00
Yi-yo Chiang
b1beda3e95 Merge "create_reference_dumps.py: Always rebuild lsdump_paths.txt" am: c38fa6eb0a am: f80aa1285c
Original change: https://android-review.googlesource.com/c/platform/development/+/2096997

Change-Id: I9d4ed4a7685a2d74ac1602020b0a4e52418a3f20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 04:44:39 +00:00
Yi-yo Chiang
f80aa1285c Merge "create_reference_dumps.py: Always rebuild lsdump_paths.txt" am: c38fa6eb0a
Original change: https://android-review.googlesource.com/c/platform/development/+/2096997

Change-Id: I216f5f6c765ef9ca50b23a20e0d9417dddfadf7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 04:18:27 +00:00
Yi-yo Chiang
c38fa6eb0a Merge "create_reference_dumps.py: Always rebuild lsdump_paths.txt" 2022-05-25 04:03:43 +00:00
Yi-Yo Chiang
43271c7bc8 create_reference_dumps.py: Always rebuild lsdump_paths.txt
If the contents of lsdump_paths.txt was corrupted,
create_reference_dumps.py might not rebuild lsdump_paths.txt due to
incremental build mechanism. Manually unlink and rebuild
lsdump_paths.txt in create_reference_dumps.py so that it always get the
up-to-date lsdump_paths.txt.

Bug: 233562033
Test: $ development/vndk/tools/header-checker/utils/create_reference_dumps.py -l libbinder -product aosp_arm64
  $ echo "" > $ANDROID_PRODUCT_OUT/lsdump_paths.txt
  $ development/vndk/tools/header-checker/utils/create_reference_dumps.py -l libbinder -product aosp_arm64
Change-Id: Iedccba6ffb659b3348c4f3fb57b82e38de8e53c3
2022-05-24 18:25:38 +08:00
Treehugger Robot
68cbc67553 Merge "create_reference_dumps.py: Clear SKIP_ABI_CHECKS" am: 323c559e2e am: 765adcd583
Original change: https://android-review.googlesource.com/c/platform/development/+/2101513

Change-Id: I1d681b86b5beb56ff1eef06de1a42cebd0c4f06d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 09:17:02 +00:00
Treehugger Robot
765adcd583 Merge "create_reference_dumps.py: Clear SKIP_ABI_CHECKS" am: 323c559e2e
Original change: https://android-review.googlesource.com/c/platform/development/+/2101513

Change-Id: Iaad05eacd4cbb77da78bbf69b2c8d338638e33fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 08:31:22 +00:00
Treehugger Robot
323c559e2e Merge "create_reference_dumps.py: Clear SKIP_ABI_CHECKS" 2022-05-24 08:03:43 +00:00
Yi-Yo Chiang
ec469d15ea create_reference_dumps.py: Clear SKIP_ABI_CHECKS
It's possible that a developer would set SKIP_ABI_CHECKS during
development, and only execute create_reference_dumps.py before
submitting the change. If the developer forgot to clear SKIP_ABI_CHECKS
before running create_reference_dumps.py, the developer would be hit by
a confusing error (something about lsdump_paths.txt has invalid format),
because some preconditions of create_reference_dumps.py aren't met.
The error message isn't helpful as it doesn't tell the developer how to
resolve the error.
Let's just unset SKIP_ABI_CHECKS in create_reference_dumps.py, so
create_reference_dumps.py can be as fool-proof as possible.
The developer doesn't need to know the preconditions of
create_reference_dumps.py as it should handle it by itself.

Bug: 233562033
Test: export SKIP_ABI_CHECKS=true && ./create_reference_dumps.py
Change-Id: I397f1fcad7f0a1f9a7cb2781f32d85cdf2439e60
2022-05-24 14:29:01 +08:00
Treehugger Robot
da6908fec7 Merge "Fix adb proxy get device id on windows" am: 120f46ef53 am: 5d4f0e7546
Original change: https://android-review.googlesource.com/c/platform/development/+/2098153

Change-Id: I519a1541f823739faefa347a97a05525557dd53f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 15:16:00 +00:00
Treehugger Robot
5d4f0e7546 Merge "Fix adb proxy get device id on windows" am: 120f46ef53
Original change: https://android-review.googlesource.com/c/platform/development/+/2098153

Change-Id: I0af71f0dbb26c1dfd0b52aadf6c68ec20bca6c65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 14:57:42 +00:00
Treehugger Robot
120f46ef53 Merge "Fix adb proxy get device id on windows" 2022-05-23 14:42:21 +00:00
zengshuchuan
a7526ac28b Fix adb proxy get device id on windows
Window adb device contains a '\r' character,
translate string to integer comparing.

Bug: 232488036
Test: 1. Excute python.exe winscope_proxy.py on Window Powershell.
2. Launch winscope index.html and set the Winscope token.
3. Tablet connect adb and winscope select the device.
4. Tap the 'DUMP STATE' button.

Change-Id: I8c261da523763982ea4a4bfae6883694b221883c
2022-05-13 16:58:41 +08:00
Anton Hansson
664f937fc6 Merge "Use lint database from api_versions_public" am: 4f9305a51c am: 0f1b793d59
Original change: https://android-review.googlesource.com/c/platform/development/+/2092064

Change-Id: I1fa57fb66e062e8ae9c37275fb20b4eb914b195b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-11 20:48:08 +00:00
Anton Hansson
0f1b793d59 Merge "Use lint database from api_versions_public" am: 4f9305a51c
Original change: https://android-review.googlesource.com/c/platform/development/+/2092064

Change-Id: Id3b47831f9a0d1a4966b7248c7e8110d9ef902f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-11 20:41:59 +00:00
Anton Hansson
4f9305a51c Merge "Use lint database from api_versions_public" 2022-05-11 08:11:45 +00:00
Anton Hansson
1d75c7fe31 Use lint database from api_versions_public
These two databases are (nearly) identical but the latter is generated
in a much more efficient way.

The diffs are very minor and it's not clear to me which versions is more
correct than the other, though I'm fairly confident they don't matter.

https://paste.googleplex.com/5567994005553152

Bug: 187398174
Test: diff api-versions.xml
Change-Id: I97375e0d72675bc8ff102551b3e3913e684be683
2022-05-09 10:46:38 +00:00
Raju Kulkarni
068f90107c Reset version number for SDK and Build tools with SDK Finalization complete for API Level 33 am: 70032a2eed
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/18186516

Change-Id: I2cdbfa1a465c4bd0b51f5e926c87a2c438565b91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-08 06:02:37 +00:00
Raju Kulkarni
70032a2eed Reset version number for SDK and Build tools with SDK Finalization complete for API Level 33
Bug: 225745567
Change-Id: I9b9f643dbbd31d26ccc3adfb1ea230199aa61c71
Test: N/A
2022-05-08 04:44:26 +00:00
Treehugger Robot
4c5cb4d16d Merge "Bumping package version number for next release Test: N/A Bug: b/230461482 Change-Id: I8b5d925e556e493ab56fa52cedfed7476df46260" am: 430aa3f2a4 am: a830ff7604
Original change: https://android-review.googlesource.com/c/platform/development/+/2090346

Change-Id: I47d5d67427a9707f872fa2cd64e944d5766c02a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-07 00:03:03 +00:00
Treehugger Robot
a830ff7604 Merge "Bumping package version number for next release Test: N/A Bug: b/230461482 Change-Id: I8b5d925e556e493ab56fa52cedfed7476df46260" am: 430aa3f2a4
Original change: https://android-review.googlesource.com/c/platform/development/+/2090346

Change-Id: I303503a53c9062fd119f00948d968007e3d687e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 23:21:07 +00:00
Treehugger Robot
430aa3f2a4 Merge "Bumping package version number for next release Test: N/A Bug: b/230461482 Change-Id: I8b5d925e556e493ab56fa52cedfed7476df46260" 2022-05-06 22:54:02 +00:00
Raju Kulkarni
fc22586cb5 Bumping package version number for next release
Test: N/A
Bug: b/230461482
Change-Id: I8b5d925e556e493ab56fa52cedfed7476df46260
2022-05-06 21:36:19 +00:00