Commit Graph

67935 Commits

Author SHA1 Message Date
Bob Badour a9cdd08ce5 Merge "[LSC] Add LOCAL_LICENSE_KINDS to build/make" 2021-04-01 15:18:49 +00:00
Treehugger Robot 41944d9612 Merge "Adding bootimage_test_harness artifact to droidcore" am: 8a42f673ac am: f1350276c7
Original change: https://android-review.googlesource.com/c/platform/build/+/1659677

Change-Id: I432b95d800e9ea4e777c36a577a9293377b778d6
2021-04-01 15:01:53 +00:00
Treehugger Robot f1350276c7 Merge "Adding bootimage_test_harness artifact to droidcore" am: 8a42f673ac
Original change: https://android-review.googlesource.com/c/platform/build/+/1659677

Change-Id: I9343ea0fc25317931f0bdb5ef34648eb0b857f9d
2021-04-01 14:24:35 +00:00
Treehugger Robot 8a42f673ac Merge "Adding bootimage_test_harness artifact to droidcore" 2021-04-01 13:51:50 +00:00
Ulyana Trafimovich 9b8c4a77c1 Merge "Add documentation for <uses-library> checks." am: c6baae04c0 am: 41a2ed7460
Original change: https://android-review.googlesource.com/c/platform/build/+/1658103

Change-Id: I26f2887357193b0d4bb951fa5bb09384c149b381
2021-04-01 11:29:16 +00:00
Ulyana Trafimovich 41a2ed7460 Merge "Add documentation for <uses-library> checks." am: c6baae04c0
Original change: https://android-review.googlesource.com/c/platform/build/+/1658103

Change-Id: I21712e5197b3cb06e82e476f4c2f7277142034e9
2021-04-01 10:49:07 +00:00
Ulyana Trafimovich c6baae04c0 Merge "Add documentation for <uses-library> checks." 2021-04-01 09:54:43 +00:00
Bob Badour bfa8d0cacc [LSC] Add LOCAL_LICENSE_KINDS to build/make
Added SPDX-license-identifier-Apache-2.0 to:
  tools/rbcrun/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I6a1c75458115b15d9d0d9f0dbc11e0acffc1fe7b
2021-03-31 19:57:06 -07:00
jiajia tang f3f842b676 Fix error if ramdisk is minigzip compression
This change intends to fix if ramdisk is not "lz4" compression.
Legacy is "minigzip" compression.

If not lz4, the following error will happen when exec build_super_image.py:
  Unable to get boot image build props: Failed to run command '['lz4', '-d', '/tmp/boot_omdZZ8.img/ramdisk', '/tmp/boot_omdZZ8.img/uncompressed_ramdisk']' (exit code 44):
  Error 44 : Unrecognized header : file cannot be decoded

Change-Id: I71248387bbeecbf184e0c24e6346c235d728518e
Signed-off-by: jiajia tang <tangjiajia@xiaomi.com>
2021-04-01 10:41:00 +08:00
Ryan Prichard 6d74870a67 Revert^2 "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt"
This reverts commit 9cd4aff304.

Bug: http://b/153025717
Test: treehugger
Change-Id: I548ca3dd5bdddb52199b4b5e1455832ee1d28125
2021-03-31 15:33:35 -07:00
Alexander Smundak 0222b39ca5 Merge changes from topic "product_config_star" am: fe5799af6b am: a0b657ef80
Original change: https://android-review.googlesource.com/c/platform/build/+/1486492

Change-Id: I332521fb5eba623d7981a3e311ae1745dd229d70
2021-03-31 20:32:46 +00:00
Sasha Smundak fad8cd4f4c Roboleaf product configuration runner am: 24159db21e am: b112214e43
Original change: https://android-review.googlesource.com/c/platform/build/+/1475299

Change-Id: I589bc3621bcdc2da26834c86bfb7f467804d49b1
2021-03-31 20:32:22 +00:00
Alexander Smundak a0b657ef80 Merge changes from topic "product_config_star" am: fe5799af6b
Original change: https://android-review.googlesource.com/c/platform/build/+/1486492

Change-Id: Ia0f8f086e4841635bc02769a5cd134d771a1f7e2
2021-03-31 19:54:52 +00:00
Sasha Smundak b112214e43 Roboleaf product configuration runner am: 24159db21e
Original change: https://android-review.googlesource.com/c/platform/build/+/1475299

Change-Id: I99ab1bfb16819cebd794050c87a73a7eb8687a53
2021-03-31 19:52:48 +00:00
Alexander Smundak fe5799af6b Merge changes from topic "product_config_star"
* changes:
  Product configuration in Starlark support files.
  Roboleaf product configuration runner
2021-03-31 18:28:50 +00:00
Yi-Yo Chiang df13f6f6c8 gsi_skip_mount.cfg skips system sub-mountpoints
Bug: 184132970
Test: GSI Boot test
Change-Id: I6cb6735d41b6dc6c19a27d730226b200d362bc1d
2021-04-01 00:59:16 +08:00
Ulya Trafimovich 4b4fd16c11 Add documentation for <uses-library> checks.
Bug: 132357300
Test: m nothing
Test: check that markdown looks ok in gitiles on gerrit
Change-Id: I2019f65cc69b467889f8dda720b2a4264eae36d7
2021-03-31 11:56:45 +01:00
Ryan Prichard 619b6c54cd Merge "Revert "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt"" am: cf5487e07f am: 4637ec0d30
Original change: https://android-review.googlesource.com/c/platform/build/+/1658965

Change-Id: Ib4de6cd44fbc8feda4d8ccd92d98c58b01bc30fd
2021-03-31 05:53:09 +00:00
Ryan Prichard 4637ec0d30 Merge "Revert "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt"" am: cf5487e07f
Original change: https://android-review.googlesource.com/c/platform/build/+/1658965

Change-Id: I8c535beddd2c435f8a557bd189d8c369049a4634
2021-03-31 05:52:22 +00:00
Yo Chiang a1f6052853 Merge "Mark PRODUCT_CHECK_ELF_FILES as obsolete" am: d054de08c3 am: cece85f781
Original change: https://android-review.googlesource.com/c/platform/build/+/1657819

Change-Id: I51c4345b7d77242d63379c16d1fb20cb0666fd00
2021-03-31 05:52:20 +00:00
Ryan Prichard cf5487e07f Merge "Revert "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt"" 2021-03-31 05:29:51 +00:00
Yo Chiang cece85f781 Merge "Mark PRODUCT_CHECK_ELF_FILES as obsolete" am: d054de08c3
Original change: https://android-review.googlesource.com/c/platform/build/+/1657819

Change-Id: I2a36a905e049c584e1c4f944ed7f4e6f857e3037
2021-03-31 05:01:24 +00:00
Yo Chiang d054de08c3 Merge "Mark PRODUCT_CHECK_ELF_FILES as obsolete" 2021-03-31 04:26:06 +00:00
Yi-Yo Chiang f35afe97b1 Mark PRODUCT_CHECK_ELF_FILES as obsolete
Follow-up of aosp/1655468.

Bug: 149715904
Test: Presubmit
Change-Id: I3998c7356e3a41adaa00ab3d1d2c2ec66e2e37d7
2021-03-31 04:25:55 +00:00
Ryan Prichard 9cd4aff304 Revert "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt"
This reverts commit 85a1213232.

Reason for revert: b/184095989

Change-Id: I4643a7bb2fea6411d7c673ec4017fdbab6070b9d
2021-03-31 03:25:26 +00:00
Bowgo Tsai 42131496c8 Adding bootimage_test_harness artifact to droidcore
Currently bootimage_test_harness is only built on a few targets
on release branches. However, we might have a last minute build
breakage on release branches as bootimage_test_harness is not
built on dev branches. Moving it to droidcore so we can have more
completed build coverage on pre-submit/post-submit builds.

Bug: 183865297
Test: `make` then check $OUT
Change-Id: I496609401a9444706726256d2f7b45c6bb69ee94
2021-03-31 03:11:14 +00:00
Jaewoong Jung 5cefc9b46f Merge "Fix the help script." am: a0e69fc900 am: 84dd7e4a69
Original change: https://android-review.googlesource.com/c/platform/build/+/1654388

Change-Id: I3d62d45c87217c932a86f06b4f73e3a659ed917f
2021-03-30 23:30:22 +00:00
Dan Albert 4916ac7bc0 Merge "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt" am: ee90c8856e am: 77809d7654
Original change: https://android-review.googlesource.com/c/platform/build/+/1554922

Change-Id: I242dffc67c73cc612b4765fa0e167b1e731bd30f
2021-03-30 23:29:53 +00:00
Jaewoong Jung 84dd7e4a69 Merge "Fix the help script." am: a0e69fc900
Original change: https://android-review.googlesource.com/c/platform/build/+/1654388

Change-Id: I2890abcf9da08da88ed868b9c3e506d79304e00e
2021-03-30 23:10:10 +00:00
Dan Albert 77809d7654 Merge "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt" am: ee90c8856e
Original change: https://android-review.googlesource.com/c/platform/build/+/1554922

Change-Id: Id2b6bf2f7a968b30c64d38137eaad4f3678153aa
2021-03-30 23:09:19 +00:00
Jaewoong Jung a0e69fc900 Merge "Fix the help script." 2021-03-30 23:05:52 +00:00
Dan Albert ee90c8856e Merge "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt" 2021-03-30 21:44:35 +00:00
Chris Wailes ea8111cff4 Add the service-art JAR to the System Server classpath.
Bug: 177273468
Test: m
Merged-In: Iddf07fb98a86d626c993b7b175a25413f42b833c
Change-Id: Iddf07fb98a86d626c993b7b175a25413f42b833c
2021-03-30 12:38:01 -07:00
Nicolas Geoffray 3867fb6616 Merge "Preopt apps with updatable boot classpath too." am: 01545ef795 am: d0b090354a
Original change: https://android-review.googlesource.com/c/platform/build/+/1654960

Change-Id: I60b852f578ca33e13b2c5c914b872fbbc6c97e45
2021-03-30 14:59:23 +00:00
Nicolas Geoffray d0b090354a Merge "Preopt apps with updatable boot classpath too." am: 01545ef795
Original change: https://android-review.googlesource.com/c/platform/build/+/1654960

Change-Id: I44cec1de6806af9451e4b60a9702a27e2830fada
2021-03-30 14:23:25 +00:00
Nicolas Geoffray 01545ef795 Merge "Preopt apps with updatable boot classpath too." 2021-03-30 13:40:57 +00:00
Yo Chiang aae46f8170 Merge "Remove obsolete var PRODUCT_CHECK_ELF_FILES" am: 08b0004c9c am: 2028ab10b7
Original change: https://android-review.googlesource.com/c/platform/build/+/1655468

Change-Id: I64131b31df1fb6adc9d0d4d79d883d5d2361279f
2021-03-30 11:16:51 +00:00
Yo Chiang 2028ab10b7 Merge "Remove obsolete var PRODUCT_CHECK_ELF_FILES" am: 08b0004c9c
Original change: https://android-review.googlesource.com/c/platform/build/+/1655468

Change-Id: I94a8103d4e45d6325cce3210b560f35a7e939927
2021-03-30 09:19:37 +00:00
Yo Chiang 08b0004c9c Merge "Remove obsolete var PRODUCT_CHECK_ELF_FILES" 2021-03-30 08:54:24 +00:00
Yo Chiang 862dd38076 Merge "Revert^2 "Nextgen release: Don't build super_empty.img"" am: 910d352ee6 am: 1fe7d8ccae
Original change: https://android-review.googlesource.com/c/platform/build/+/1652241

Change-Id: I85039f4084566191762da1dec9782f7601b7c819
2021-03-30 08:00:00 +00:00
Yo Chiang 489ee98ae0 Merge "Revert^2 "Add option to allow product makefiles to skip building s..."" am: 3060ba5048 am: 5e13f508dc
Original change: https://android-review.googlesource.com/c/platform/build/+/1652240

Change-Id: I13d727111544da2de37a60cd7abc3412ffe9cab6
2021-03-30 07:59:59 +00:00
Yo Chiang 1fe7d8ccae Merge "Revert^2 "Nextgen release: Don't build super_empty.img"" am: 910d352ee6
Original change: https://android-review.googlesource.com/c/platform/build/+/1652241

Change-Id: I0e6a67d105801f4f82b9d9e4d0b47a37a15d3b6e
2021-03-30 07:10:40 +00:00
Yo Chiang 5e13f508dc Merge "Revert^2 "Add option to allow product makefiles to skip building s..."" am: 3060ba5048
Original change: https://android-review.googlesource.com/c/platform/build/+/1652240

Change-Id: I199e060070997c52f5ef862717f5d78c8af30e41
2021-03-30 07:10:17 +00:00
Yo Chiang 910d352ee6 Merge "Revert^2 "Nextgen release: Don't build super_empty.img"" 2021-03-30 06:29:09 +00:00
Yo Chiang 3060ba5048 Merge "Revert^2 "Add option to allow product makefiles to skip building s..."" 2021-03-30 06:29:09 +00:00
Ulyana Trafimovich 199c6f2943 Merge "Don't enforce <uses-library> checks if dexpreopt for apps is disabled." am: e06dbb7a76 am: d0f58507ec
Original change: https://android-review.googlesource.com/c/platform/build/+/1655691

Change-Id: If1edc4321a2dcb9b4f5ed02532e248dfee352bac
2021-03-29 17:40:22 +00:00
Ulyana Trafimovich d0f58507ec Merge "Don't enforce <uses-library> checks if dexpreopt for apps is disabled." am: e06dbb7a76
Original change: https://android-review.googlesource.com/c/platform/build/+/1655691

Change-Id: Ib6389db6c8985da92e44ff9f525497a3b2b521e0
2021-03-29 16:57:06 +00:00
Ulyana Trafimovich e06dbb7a76 Merge "Don't enforce <uses-library> checks if dexpreopt for apps is disabled." 2021-03-29 16:21:24 +00:00
Ulya Trafimovich 03befa00fe Don't enforce <uses-library> checks if dexpreopt for apps is disabled.
Otherwise the check fails, as it depend on non-existent dexpreopt.config
files. This CL fixes broken build cf_x86_phone-userdebug_coverage.

Bug: 183931403
Bug: 132357300
Test: forrest build for cf_x86_phone-userdebug_coverage.
Change-Id: I6f977c1e0c2d2160b1813d2d1c36459f0641235e
2021-03-29 15:01:05 +01:00
Nicolas Geoffray 5bfe9267f8 Preopt apps with updatable boot classpath too.
Test: m
Test: egrep 'ethernet-service[^ ]*odex' out/soong/build.ninja \
    | grep updatable
  # is empty
  egrep 'oat-file=[^ ]*Gallery2[^ ]*odex' out/soong/build.ninja \
    | egrep -o 'Xbootclasspath:[^ ]*' \
    | sed 's/:/\n/g' \
    | grep updatable_bootjars
  # lists updatable boot jars
  egrep -o 'Xbootclasspath:[^ ]*' \
      -o `find out -name dexpreopt.sh | grep Dialer` \
    | sed 's/:/\n/g' \
    | grep updatable_bootjars
  # lists updatable boot jars
Bug: 178467404
Change-Id: Ia5d4e59bac3e32bc77f1a0ab9e1abb18768a7ee7
2021-03-29 14:03:12 +01:00