Commit graph

60111 commits

Author SHA1 Message Date
Jaewoong Jung
29714ecda6 Add LOCAL_APKCERTS_FILE support.
This is used when Soong and Make don't know the full output file list,
and so use a tool to generate a per-module apkcerts.txt file instead.

Fixes: 160119159
Test: m apkcerts-list
Change-Id: I48183bc8cbf9dcc521f791812734205ed3f28f4c
2020-06-29 19:47:21 -07:00
Colin Cross
b6ff8225b1 Rename Native_coverage to GcovCoverage in Soong
Pass the NATIVE_COVERAGE Make variable to Soong as the more accurate
GcovCoverage.  Also remove NATIVE_LINE_COVERAGE, it doesn't do anything
different from NATIVE_COVERAGE, and NATIVE_COVERAGE is always set when
NATIVE_LINE_COVERAGE is set.

Bug: 159059537
Test: m checkbuild
Merged-In: Ib26a0e29f09b87400fd8bc41d2c06a4a8a397a19
Change-Id: Ib26a0e29f09b87400fd8bc41d2c06a4a8a397a19
2020-06-29 18:01:40 -07:00
Roland Levillain
14323e5cf0 Introduce product variables to select Java code coverage paths in Make.
Introduce product variables `JavaCoveragePaths` and
`JavaCoverageExcludePaths` (resp. populated from environment variables
`JAVA_COVERAGE_PATHS` and `JAVA_COVERAGE_EXCLUDE_PATHS`). Use them to
control which Java modules are candidate for instrumentation based on
their source path. By default (when `JavaCoveragePaths` is empty),
have all Java modules be candidate for instrumentation, to preserve
the existing behavior.

Test: export EMMA_INSTRUMENT=true \
        && export EMMA_INSTRUMENT_FRAMEWORK=true \
        && export JAVA_COVERAGE_PATHS=art \
        && m
Bug: 158212027
Bug: 156284897
Merged-In: I5de6eb460709d7d66d81e3432e11f94ff14dd1c9
Change-Id: I5de6eb460709d7d66d81e3432e11f94ff14dd1c9
2020-06-29 18:01:25 -07:00
Roland Levillain
bdb1b4c79a Rename native code coverage paths product variables in Make.
Rename `CoveragePath` and `CoverageExcludePaths` as
`NativeCoveragePath` and `NativeCoverageExcludePaths` (resp.).
Also, populate `NativeCoveragePath` and `NativeCoverageExcludePaths`
from environment variables `NATIVE_COVERAGE_PATHS` and
`NATIVE_COVERAGE_EXCLUDE_PATHS` (resp.).

Test: m nothing
Bug: 158212027
Merged-In: I409dbb04b09744a7bd95a4b69361e858b9f89e23
Change-Id: I409dbb04b09744a7bd95a4b69361e858b9f89e23
(cherry picked from commit bad8b386e6)
2020-06-29 17:54:08 -07:00
Paul Scovanner
dca1803d95 Update Security String to 2020-09-01
Bug: 160158282
Change-Id: Ibf5c36e135398ed14a730d31fd1b5a306f7b9db3
2020-06-29 19:08:46 +00:00
SzuWei Lin
07534d8362 Merge "Rename the boot image for avb validation" into rvc-dev am: d7dabee7fe am: 9bac3d1c94
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12005766

Change-Id: I8fc99715a42a04e3c232be43cd598bf440daafda
2020-06-26 17:08:36 +00:00
SzuWei Lin
9bac3d1c94 Merge "Rename the boot image for avb validation" into rvc-dev am: d7dabee7fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12005766

Change-Id: I015e98609a6099671eed0bedafe01aab74eb12da
2020-06-26 16:54:47 +00:00
SzuWei Lin
d7dabee7fe Merge "Rename the boot image for avb validation" into rvc-dev 2020-06-26 16:45:17 +00:00
Tianjie
8c2d9096e3 Rename the boot image for avb validation
Starting from http://go/aog/1328118, we chained the 1st GKI
boot image into vbmeta. However, this fails avb validation;
because the avbtool constructs the image path based by using
"partition name + ext".

This cl works around the issue by renaming boot-5.4.img to
boot.img, so avbtool can find the image correctly.

Bug: 159656873
Test: run validate target file
Change-Id: I577226596e139e5b5f3e6ca3c28ced02431ca392
Merged-Id: I577226596e139e5b5f3e6ca3c28ced02431ca392
(cherry picked from commit 5ec1a7a66a)
2020-06-26 16:44:14 +00:00
Jaewoong Jung
74395cf29d Mark android_app_set modules PRESIGNED. am: 077891d190 am: 851b30ec32
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12000545

Change-Id: I1968e4cc1d8763eb01971c283164594fad4717e8
2020-06-26 04:04:11 +00:00
Jaewoong Jung
851b30ec32 Mark android_app_set modules PRESIGNED. am: 077891d190
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12000545

Change-Id: I0d6deda10dde3697ffb61792cd17c6e16d7ed8e3
2020-06-26 03:49:22 +00:00
Jaewoong Jung
077891d190 Mark android_app_set modules PRESIGNED.
Test: m apkcerts-list
Fixes: 159921591
Change-Id: Ie83a05be0d71280644843eddffdbea6bcb429c74
2020-06-25 16:06:21 -07:00
Tianjie Xu
ea764307de Merge "Add lz4 to otatools" into rvc-dev am: c35ea185b0 am: d38eafeb9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11992672

Change-Id: I1367aab07fab43d1e8a2d05a7e536f18cecaa13f
2020-06-25 02:56:21 +00:00
Tianjie Xu
d38eafeb9e Merge "Add lz4 to otatools" into rvc-dev am: c35ea185b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11992672

Change-Id: I63c59cb95f3e93c04c151d0d16940dca852aefdf
2020-06-25 02:39:20 +00:00
Tianjie Xu
c35ea185b0 Merge "Add lz4 to otatools" into rvc-dev 2020-06-25 02:25:02 +00:00
TreeHugger Robot
b8bbb0ee7e Merge "Use inclusive language in build/make part 2" into rvc-dev am: b6d0be942a am: 5d995f06c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11991738

Change-Id: Ia4b72a14189ea8a45d80ebb1ca5881284ae2e595
2020-06-25 01:56:03 +00:00
TreeHugger Robot
5d995f06c2 Merge "Use inclusive language in build/make part 2" into rvc-dev am: b6d0be942a
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11991738

Change-Id: I3b9f833d96fc86da5141b4e5e0d0bf9898303e87
2020-06-25 01:41:57 +00:00
TreeHugger Robot
b6d0be942a Merge "Use inclusive language in build/make part 2" into rvc-dev 2020-06-25 01:20:16 +00:00
Tianjie
e6369cec6b Add lz4 to otatools
A call to lz4 was added in http://go/aog/1329115. But the binary
isn't added to otatools, leading to a signing failure.

Bug: 159656873
Test: build otatools
Change-Id: I9cab00f36ce3c39cc174b4c9feffdf360f0364ef
(cherry picked from commit 3031c29905)
2020-06-24 16:50:18 -07:00
Colin Cross
74c7561dcc Use inclusive language in build/make part 2
Test: m checkbuild
Bug: 158889297
Change-Id: I63bac680cc63a8564f35ae85dda1a0b09c9fd541
Merged-In: I63bac680cc63a8564f35ae85dda1a0b09c9fd541
(cherry picked from commit d1cbfeaa3a)
2020-06-24 15:00:05 -07:00
TreeHugger Robot
0fb4465e69 Merge "Switch to using llvm-strip for modules" into rvc-dev am: 30d5c93f47 am: bd4f94ecd9
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11935858

Change-Id: I9b1c8ff35538d70738d488125859ed78301d5b0f
2020-06-23 20:48:51 +00:00
TreeHugger Robot
bd4f94ecd9 Merge "Switch to using llvm-strip for modules" into rvc-dev am: 30d5c93f47
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11935858

Change-Id: I8bafa1ed61f54f782a8f1195f89e275c632cc8ef
2020-06-23 20:33:23 +00:00
TreeHugger Robot
30d5c93f47 Merge "Switch to using llvm-strip for modules" into rvc-dev 2020-06-23 20:17:52 +00:00
Jooyung Han
b561831f12 Merge "GSI: install flattened cts shim" into rvc-dev am: cd1aaed4f0 am: 80fa750236
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11910091

Change-Id: I9b910780c114e4242dd5d940b7f989d0134a29f3
2020-06-22 17:34:59 +00:00
Jooyung Han
80fa750236 Merge "GSI: install flattened cts shim" into rvc-dev am: cd1aaed4f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11910091

Change-Id: I1a460d80415f045a73e164e3dd14dfb5c7d002c4
2020-06-22 17:20:49 +00:00
Jooyung Han
cd1aaed4f0 Merge "GSI: install flattened cts shim" into rvc-dev 2020-06-22 17:05:58 +00:00
J. Avila
74d50ccb69 Switch to using llvm-strip for modules
The gcc tools are deprecated; replace with the llvm equivalent.

Bug: 158484106
Merged-In: I9c3717bde281667eec82cc21dc63dc7fd5592a46
Change-Id: I9c3717bde281667eec82cc21dc63dc7fd5592a46
2020-06-22 15:31:27 +00:00
Jooyung Han
15f9085595 GSI: install flattened cts shim
The flattened version of com.android.apex.cts.shim.v1 should be
explicitly installed because the shim apex is prebuilt one and
PRODUCT_INSTALL_EXTRA_FLATTENED_APEXES is not supported for
prebuilt_apex modules yet.

Bug: 158169437
Bug: 159392784
Test: m com.android.apex.cts.shim.v1_with_prebuilts.flattened
      # should install the prebuilts of shim APKs
Change-Id: I8b37a320d2130d7b33aca856bc067dce37d1fb30
2020-06-19 20:09:06 +09:00
Chen Xu
b92a8b0237 Merge "Do not include CellBroadcastLegacy for Go devices" into rvc-dev am: 99e317ce2d am: 3af5f639bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11922002

Change-Id: Id19122df28a1ddf74e84506ff3c744526c500af6
2020-06-19 06:18:25 +00:00
Chen Xu
3af5f639bb Merge "Do not include CellBroadcastLegacy for Go devices" into rvc-dev am: 99e317ce2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11922002

Change-Id: I47f22a1465bc6a4b89d376d151e1fdfcd58f17b5
2020-06-19 06:00:06 +00:00
Chen Xu
99e317ce2d Merge "Do not include CellBroadcastLegacy for Go devices" into rvc-dev 2020-06-19 05:49:39 +00:00
TreeHugger Robot
5e074117fd Merge "iorap: Turn off pinner by default for large memory devices." into rvc-dev am: b8f8fc6a88 am: 7f78fbe044
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11923072

Change-Id: I71275d2ed20368ebb90aa98245aae8240a367cdb
2020-06-19 03:59:06 +00:00
TreeHugger Robot
7f78fbe044 Merge "iorap: Turn off pinner by default for large memory devices." into rvc-dev am: b8f8fc6a88
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11923072

Change-Id: I72a9b35421440dbe4d38e09b01bb8a2f76618803
2020-06-19 03:41:35 +00:00
TreeHugger Robot
b8f8fc6a88 Merge "iorap: Turn off pinner by default for large memory devices." into rvc-dev 2020-06-19 03:20:24 +00:00
TreeHugger Robot
7bf4d709ee Merge "notice files in system_other becomes included in system's one" into rvc-dev am: 22f98f1885 am: a47ca3bb29
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11910080

Change-Id: I767e6fa1f6255f4d5b0280e98f061a14e78c6d9d
2020-06-19 01:58:22 +00:00
TreeHugger Robot
a47ca3bb29 Merge "notice files in system_other becomes included in system's one" into rvc-dev am: 22f98f1885
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11910080

Change-Id: I9b88e5dbecd5a140058570640bfcdaf2138b7fdc
2020-06-19 01:40:30 +00:00
TreeHugger Robot
22f98f1885 Merge "notice files in system_other becomes included in system's one" into rvc-dev 2020-06-19 01:23:26 +00:00
yawanng
77107a17e5 iorap: Turn off pinner by default for large memory devices.
Bug: 157667363
Test: Make
Change-Id: I980a470596da3bf4e500bbd6c517e1a022c2d1a0
2020-06-19 00:47:17 +00:00
Chen Xu
ced4dd2d99 Do not include CellBroadcastLegacy for Go devices
CellBroadcastLegacy app is for migrating data from pre-mainline world.
Go devices do not take mainline module, thus excluding this apk
from build. Otherwise, both CellBroadcastLegacy app and
CellBroadcastAppPlatform will have the same package name
com.android.cellbroadcastreceiver

Bug: 157702986
Test: build go target:  walleye_svelte-userdebug
Change-Id: I254a8af334580b79ffdbc9e8bfa95b23500f507e
2020-06-18 15:41:23 -07:00
TreeHugger Robot
8181ac26ac Merge "Skip mount /oem on GSI" into rvc-dev am: aec1debc65 am: eb0aebcffb
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11882406

Change-Id: Id4670dba528e377a2fab8b2dded119255d0783ad
2020-06-18 16:04:58 +00:00
TreeHugger Robot
eb0aebcffb Merge "Skip mount /oem on GSI" into rvc-dev am: aec1debc65
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11882406

Change-Id: Id1e7b856f8c3a645faba8d2af88fe28e8631a891
2020-06-18 15:49:08 +00:00
TreeHugger Robot
aec1debc65 Merge "Skip mount /oem on GSI" into rvc-dev 2020-06-18 15:32:41 +00:00
Paul Duffin
de3452fce2 Merge "Fail check-boot-jars if boot jar contains 0 .class files" into rvc-dev am: c5fd7066f5 am: 9f58d77268
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11895739

Change-Id: Iaefa8978cc068a95bb3d6dc5a9aa7cae45c23a5d
2020-06-18 12:51:46 +00:00
Paul Duffin
9f58d77268 Merge "Fail check-boot-jars if boot jar contains 0 .class files" into rvc-dev am: c5fd7066f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11895739

Change-Id: I7b0884a337f3842dad52cdaff17797c6100eccb2
2020-06-18 12:30:09 +00:00
Paul Duffin
c5fd7066f5 Merge "Fail check-boot-jars if boot jar contains 0 .class files" into rvc-dev 2020-06-18 12:16:47 +00:00
Jeongik Cha
9917520fc2 notice files in system_other becomes included in system's one
system_other is relevant partition to system over vendor.
so move notice files from system_other from vendor to system

Bug: 159189171
Test: m nothing && check ninja dependency
Change-Id: Ib69bd3faae03f174671d5db8366a59b7d28a9d9d
2020-06-18 20:44:51 +09:00
Jing-yan, Jang
b74357aab7 Merge "Identity: Add credstore" into rvc-dev am: dd592d87ec am: 08ab3caa0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11736599

Change-Id: Id672a9ecc14d58822346e9ea6cb00fa8dfdb087e
2020-06-18 06:57:24 +00:00
Jing-yan, Jang
08ab3caa0c Merge "Identity: Add credstore" into rvc-dev am: dd592d87ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11736599

Change-Id: I65b41cb1fc9f933cc2e909d0b6256ad71d56c8c8
2020-06-18 06:52:50 +00:00
Jing-yan, Jang
dd592d87ec Merge "Identity: Add credstore" into rvc-dev 2020-06-18 06:47:03 +00:00
TreeHugger Robot
0e868862c3 Merge "Remove ANGLE from base_system.mk" into rvc-dev am: ddca499c5c am: 4763cf420d
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11897778

Change-Id: Ia00cd67fac94a523030d6ddd4ca3f27d7c57e73e
2020-06-17 21:14:13 +00:00