Commit Graph

62860 Commits

Author SHA1 Message Date
Treehugger Robot
2738c3462d Merge "Install symbols for JNI libraries" 2020-07-16 22:43:53 +00:00
Yifan Hong
81a092ff88 Add odm_dlkm/etc/build.prop
Test: build and manual test
Bug: 156020364
Change-Id: I0b22280362fec499af5ff063a5984ed17131d89d
2020-07-16 12:34:30 -07:00
Yifan Hong
3d5e2c210a Install ODM dlkm to appropriate place and symlink
Test: builds
Bug: 156020364
Change-Id: Ib0e44fe827397d0d1ec6d7edfceba1e9a43c76a3
2020-07-16 12:34:30 -07:00
Yifan Hong
c83f9e922b Add notice files for odm_dlkm
Test: pass
Bug: 156020364
Change-Id: Ia7e562cb96b9f14fa7ab0b74c253bf75fb699f0b
2020-07-16 12:34:30 -07:00
Yifan Hong
1e6d21787a Create $OUT/{vendor,odm}/lib before symlink modules
Before creating symlinks $OUT/{vendor,odm}/lib/modules, make sure
parent directory exists first.

Test: build CF
Bug: 156020364
Change-Id: Id2a9e5273aae75944c1b31553fad3703540bf2f4
2020-07-16 12:34:30 -07:00
Yifan Hong
f496f1b94f Add odm_dlkm partition.
Test: define odm_dlkm in CF.
Bug: 156020364
Change-Id: I5593d09a1cdf13e651a13e951336555a7475865e
2020-07-16 12:34:29 -07:00
android-build-team Robot
1401d543b7 Make change and version bump to RP1A.200716.001
Change-Id: I77ab5d6fc76b738996525d2fb8768e8c29872219
2020-07-16 01:17:40 +00:00
Devin Moore
e46fd2d83d Add android.hardware.common and android.hardware.graphics.common
Added by calling update-vndk-list.sh

Test: Builds
Change-Id: I04f4ac48e9383faebed89a673dd4856d07dd5256
2020-07-15 15:46:17 -07:00
Anton Hansson
065676fbfb Remove reference to empty variable
Test: m
Change-Id: I1a79f1f468d937a9c1fd4fe9e0b5dd4f90f0d09d
2020-07-15 13:02:15 +01:00
Yo Chiang
204ba62996 Merge "Refine dump-files" am: 7c16b443c3 am: 3241e51595
Original change: https://android-review.googlesource.com/c/platform/build/+/1362417

Change-Id: If626546e8708a809b985e13b6721b61eb48468ea
2020-07-15 07:56:57 +00:00
Yo Chiang
3241e51595 Merge "Refine dump-files" am: 7c16b443c3
Original change: https://android-review.googlesource.com/c/platform/build/+/1362417

Change-Id: I80254a7e0d2e67bb462705dce8c667a8f6e21ec3
2020-07-15 07:41:39 +00:00
Yo Chiang
7c16b443c3 Merge "Refine dump-files" 2020-07-15 07:24:41 +00:00
Hung-ying Tyan
9ca864f88a Merge "Enable vbmeta_system for GSI targets" am: 6fa0dd9b94 am: 38267e1455
Original change: https://android-review.googlesource.com/c/platform/build/+/1359124

Change-Id: I85ad96c79f7d04c00a3aaee2fdbca7ddec709dad
2020-07-15 07:05:59 +00:00
Hung-ying Tyan
38267e1455 Merge "Enable vbmeta_system for GSI targets" am: 6fa0dd9b94
Original change: https://android-review.googlesource.com/c/platform/build/+/1359124

Change-Id: I1d4e89db0b408db8179c960eee3ba3c36920543e
2020-07-15 06:54:41 +00:00
Hung-ying Tyan
6fa0dd9b94 Merge "Enable vbmeta_system for GSI targets" 2020-07-15 06:34:34 +00:00
Tianjie
fb27b477d8 Use apksigner in check_target_files_signatures
Some apk files, e.g. Chrome.apk has switched to use v2+ scheme.
And the apk file no longer has a META-INF/CERT.RSA. So, the
signature parsing script should use apksigner to dump the cert
info.

Leave the parsing of META-INF/CERT.RSA as a fallback, as some apks
fail the `apksigner verify`. The script also switches to store the
digest of the cert instead of the raw bytes.

Bug: 157735036
Test: run check_target_files_signatures on aosp|signed target-files
(cherry picked from commit a9a50cf6e3)

Change-Id: I910cd1aa91d1e446bef7097871af4171c285685d
2020-07-14 21:48:48 -07:00
Tianjie Xu
25d2fb7a35 Merge "Use apksigner in check_target_files_signatures" am: 8542706908 am: e5eda8950f
Original change: https://android-review.googlesource.com/c/platform/build/+/1362881

Change-Id: I3c90e26190b8d07f1e57894f50b99a4919fa71fc
2020-07-15 03:57:33 +00:00
Tianjie Xu
e5eda8950f Merge "Use apksigner in check_target_files_signatures" am: 8542706908
Original change: https://android-review.googlesource.com/c/platform/build/+/1362881

Change-Id: I9c3eb3901165e0804f684b22b373b02b7022f9e2
2020-07-15 03:43:42 +00:00
Tianjie Xu
8542706908 Merge "Use apksigner in check_target_files_signatures" 2020-07-15 03:25:25 +00:00
Paul Scovanner
14bec32bb3 Update Security String to 2020-09-05 am: b751b77548
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12150174

Change-Id: I8d58f035d8f55ff8167c31c00a4b424930590837
2020-07-15 02:39:52 +00:00
android-build-team Robot
73d36484d6 Make change and version bump to RP1A.200715.001
Change-Id: I3504f35b157a94993a50a67124eba45852e2b7c8
2020-07-15 01:15:52 +00:00
Tianjie
a9a50cf6e3 Use apksigner in check_target_files_signatures
Some apk files, e.g. Chrome.apk has switched to use v2+ scheme.
And the apk file no longer has a META-INF/CERT.RSA. So, the
signature parsing script should use apksigner to dump the cert
info.

Leave the parsing of META-INF/CERT.RSA as a fallback, as some apks
fail the `apksigner verify`. The script also switches to store the
digest of the cert instead of the raw bytes.

Bug: 157735036
Test: run check_target_files_signatures on aosp|signed target-files

Change-Id: I910cd1aa91d1e446bef7097871af4171c285685d
2020-07-14 17:23:07 -07:00
Jiyong Park
c60c514e1a Rebuild buildinfo.prop after installclean
aosp/1317598 has made a regression that the dependency from
buildinfo.prop to INSTALLED_ANDROID_INFO_TXT_TARGET is removed. As a
result, buildinfo.prop is not re-builty even after installclean, which
caused inconsistency between  ro.build.display.id (from buildinfo.prop)
and ro.system.build.fingerprint (from build.prop which is re-built).

Fixing the issue by moving buildinfo.prop from $(call
intermediates-dir-for,ETC) to $(call intermediates-dir-for,PACKAGING)
so that it gets deleted by installclean.

Bug: 158583916
Test: m out/target/product/generic_arm64/system/build.prop
m installclean
m out/target/product/generic_arm64/system/build.prop
Inspect out/soong/verbose.gz and check that buildinfo.prop was newly
created.

Change-Id: Id82b8fdc872deffb6a1764ca6d3c7114301dee1d
2020-07-15 09:05:47 +09:00
Yifan Hong
b07289265f Merge changes from topic "vendor_dlkm" am: 6323e8b880 am: 7c6c8cc4c5
Original change: https://android-review.googlesource.com/c/platform/build/+/1351087

Change-Id: Ie5addc52830e1a1edd6ee2d135b709c35c2c13c7
2020-07-14 19:47:28 +00:00
Yifan Hong
c11bec7696 Install dlkm to appropriate place and symlink am: e51dff25ec am: 9a599be8df
Original change: https://android-review.googlesource.com/c/platform/build/+/1316439

Change-Id: I208c1fb5d1450442de4bbbe5d9134ec9033e3441
2020-07-14 19:47:24 +00:00
Yifan Hong
74034b6d64 Add notice files for vendor_dlkm am: 3d3f030c27 am: 271621a5d4
Original change: https://android-review.googlesource.com/c/platform/build/+/1312394

Change-Id: Ic676be5985440b82c9747fd6f725d6b026a2f15b
2020-07-14 19:47:21 +00:00
Yifan Hong
9fce02b625 Add vendor_dlkm partition. am: cfb917a1c7 am: 58af66905e
Original change: https://android-review.googlesource.com/c/platform/build/+/1316438

Change-Id: I84a4ffc60242ba92ade09dba87ba53a15394fe9f
2020-07-14 19:47:16 +00:00
Yifan Hong
7c6c8cc4c5 Merge changes from topic "vendor_dlkm" am: 6323e8b880
Original change: https://android-review.googlesource.com/c/platform/build/+/1351087

Change-Id: If2e8fb45ed158f0abb5873c31b815b92e68caecd
2020-07-14 19:29:10 +00:00
Yifan Hong
9a599be8df Install dlkm to appropriate place and symlink am: e51dff25ec
Original change: https://android-review.googlesource.com/c/platform/build/+/1316439

Change-Id: Ib3b05306dc2288a64cbf59e3bc366e7655c86186
2020-07-14 19:29:07 +00:00
Yifan Hong
271621a5d4 Add notice files for vendor_dlkm am: 3d3f030c27
Original change: https://android-review.googlesource.com/c/platform/build/+/1312394

Change-Id: I49a59ac1d90c1c5e9bb062f16e0e3b325c862361
2020-07-14 19:29:05 +00:00
Yifan Hong
58af66905e Add vendor_dlkm partition. am: cfb917a1c7
Original change: https://android-review.googlesource.com/c/platform/build/+/1316438

Change-Id: Iedf4f45d28bd060f6ab9fc980a8d9daadd055659
2020-07-14 19:29:02 +00:00
Yifan Hong
6323e8b880 Merge changes from topic "vendor_dlkm"
* changes:
  Add vendor_dlkm/etc/build.prop
  Install dlkm to appropriate place and symlink
  Add notice files for vendor_dlkm
  Add vendor_dlkm partition.
2020-07-14 19:15:12 +00:00
Paul Scovanner
b751b77548 Update Security String to 2020-09-05
Bug: 160158282
Change-Id: Ia207cf01e57df8539fbbbaf6e042bd610aa64956
2020-07-14 17:07:25 +00:00
Hung-ying Tyan
1785816ca1 Enable vbmeta_system for GSI targets
in order to mix GSI onto android10 Cuttlefish.

Bug: 158302764
Test: mixing GSI onto android10 Cuttlefish
Change-Id: I77385495583034324f5e29bed27c588dc98215e2
2020-07-14 16:04:20 +00:00
Treehugger Robot
ce233e134d Merge "Changes.md: Format section BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES" am: 5469096fbf am: d2d1bf1972
Original change: https://android-review.googlesource.com/c/platform/build/+/1362416

Change-Id: Iae871be7c6cc4143d65b6b3a37bdb6790f0047bb
2020-07-14 11:39:34 +00:00
Treehugger Robot
d2d1bf1972 Merge "Changes.md: Format section BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES" am: 5469096fbf
Original change: https://android-review.googlesource.com/c/platform/build/+/1362416

Change-Id: I600bb65504756fc23cf09485978034cdf66102a9
2020-07-14 11:22:27 +00:00
Treehugger Robot
5469096fbf Merge "Changes.md: Format section BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES" 2020-07-14 11:11:29 +00:00
Yo Chiang
561efbc1fb Refine dump-files
Dump $(modules_to_install) instead of $(product_target_FILES) to get a
more complete list of target files.

Use `echo $(modules_to_install) | tr -s ' ' '\n'` instead of
`$(foreach m,$(modules_to_install),$(info $(m)))`.
This way only one `echo` command is emitted instead of emitting `echo`
command for each file. This speeds up the invocation speed tremendously.

Bug: 159195410
Test: m dump-files
Change-Id: I06549cecc64177f1eb5a01e31a55d5eed307fcfd
2020-07-14 18:30:34 +08:00
Yo Chiang
3ca4980d36 Auto-generate dexpreopt boot image module
Add prebuilt modules that installs bootjar dexpreopt files generated by
soong, for example `dexpreopt_bootjar.boot_arm64` installs .art / .oat /
.vdex, etc for the framework boot image ("boot") for primary arch
("arm64").

Bug: 159196136
Test: TH built artifacts noop
Test: Check device boot images are installed
Test: ./prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-aosp_arm64.ninja -t browse
Test: Check that generated dependency graph is sane
Test: Check that bootjar dexpreopt bits are listed in `m dump-files`
Change-Id: Ia30b37be9be972c5e28b5840923801ea7237a237
2020-07-14 15:49:08 +08:00
Yo Chiang
d4741817e3 Changes.md: Format section BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES
Quote Make variable names in backtick and add section anchor.

Test: preview in gittiles
Change-Id: Ia661090f42d2191ca6a52dd9168d270100c488ad
2020-07-14 15:15:08 +08:00
android-build-team Robot
042144c22a Make change and version bump to RP1A.200714.001
Change-Id: Ie2f21a169ddd4886d5f9cf74d535f725657a4e57
2020-07-14 01:15:31 +00:00
Colin Cross
1a59e60e59 [automerger skipped] Use unzip -DD am: 5da1de831a -s ours
am skip reason: Change-Id I6f08ba8695d90a8225cfc04e679755e6296deed0 with SHA-1 c27d795b63 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12142355

Change-Id: I1b6b5d0127f570734335df1cf25919bfef1f8c05
2020-07-13 22:43:53 +00:00
Colin Cross
5da1de831a Use unzip -DD
We put reproducible timestamps in zip files so that the artifacts
are consistent, but that leads to old timestamps in the output
directory if they are unzipped as part of the build.  Use
unzip -DD when unzipping to update the timestamps.

Bug: 161015009
Test: touch -d 2020-01-01 ref; find $OUT/system -not -newer ref
Change-Id: I6f08ba8695d90a8225cfc04e679755e6296deed0
Merged-In: I6f08ba8695d90a8225cfc04e679755e6296deed0
(cherry picked from commit c27d795b63)
2020-07-13 14:26:25 -07:00
Yifan Hong
e51dff25ec Install dlkm to appropriate place and symlink
Test: builds
Bug: 156020364
Change-Id: I5958021ab54a2f99140796c3ef915b5329808ce3
2020-07-13 14:20:56 -07:00
Yifan Hong
3d3f030c27 Add notice files for vendor_dlkm
Test: pass
Bug: 156020364
Change-Id: I87e8b57a7a7f212071de4e530424740103a29434
2020-07-13 14:20:56 -07:00
Yifan Hong
cfb917a1c7 Add vendor_dlkm partition.
Test: define vendor_dlkm for CF.
Bug: 156020364

Change-Id: I459059e1c20df7a285a377b8b3bbc8decc60b124
2020-07-13 14:20:56 -07:00
Yifan Hong
51a971b1d5 Add vendor_dlkm/etc/build.prop
Test: builds and manual inspect
Bug: 156020364
Change-Id: Ic7606bc3cd8770ec56ddc7bea86c88625c38f32d
2020-07-13 14:20:56 -07:00
Patrice Arruda
57fa2b7073 Merge "Set ANDROID_ENABLE_METRICS_UPLOAD to the metrics_uploader path to upload metrics." am: 4a2e443ec2 am: 4c90b694e8
Original change: https://android-review.googlesource.com/c/platform/build/+/1360984

Change-Id: I4d16ce4c1c2559f28f898e96f4769d93db0a7875
2020-07-13 18:24:49 +00:00
Patrice Arruda
4c90b694e8 Merge "Set ANDROID_ENABLE_METRICS_UPLOAD to the metrics_uploader path to upload metrics." am: 4a2e443ec2
Original change: https://android-review.googlesource.com/c/platform/build/+/1360984

Change-Id: I852698af98313059afc92cfeca1b8bcb5ecef91d
2020-07-13 18:09:16 +00:00
Patrice Arruda
4a2e443ec2 Merge "Set ANDROID_ENABLE_METRICS_UPLOAD to the metrics_uploader path to upload metrics." 2020-07-13 17:56:27 +00:00