Commit Graph

26184 Commits

Author SHA1 Message Date
Felix Elsner
a8ac452536 soong_config: Plat->SystemExt*SepolicyDirs am: 501ca68fd5 am: e85e3ff721
Original change: https://android-review.googlesource.com/c/platform/build/+/1273730

Change-Id: Ieac6beae177c6e8c4eb691a0429c6a58c7d5c096
2020-10-12 04:32:09 +00:00
Felix Elsner
e85e3ff721 soong_config: Plat->SystemExt*SepolicyDirs am: 501ca68fd5
Original change: https://android-review.googlesource.com/c/platform/build/+/1273730

Change-Id: I1f376a67e2df7b14a8f84212f6b1ef55bf75278b
2020-10-12 04:20:10 +00:00
Treehugger Robot
6d34f734ae Merge changes from topic "board-system-ext-sepolicy"
* changes:
  soong_config: Support SYSTEM_EXT* sepolicy vars
  soong_config: Plat->SystemExt*SepolicyDirs
2020-10-12 03:49:24 +00:00
android-build-team Robot
542f17a311 Make change and version bump to RQ2A.201012.001
Change-Id: I422e87de0040d5eb6a4129cc7067d85a6b73d767
2020-10-11 21:18:06 +00:00
android-build-team Robot
72ebf5b100 Make change and version bump to RQ2A.201011.001
Change-Id: Iee20b6d321bef42cc4e4798b77db35db7626fabf
2020-10-10 21:17:12 +00:00
Colin Cross
e8ac9951d8 Package proguard_usage.zip files in jacoco-report-classes-all.jar
The coverage infrastructure will use the proguard_usage.zip files
to filter out classes that were stripped by R8.

Test: forrest
Bug: 170337718
Change-Id: Ia7c07770ff520aaf0a8de213edbe22d6fca5b98a
2020-10-09 18:41:58 -07:00
android-build-team Robot
aa40fe7b42 Version bump to RQ1A.201004.005 [core/build_id.mk]
Change-Id: I18fdd1e80cb3b532498f9b19b65ef8ca100d7785
2020-10-10 00:32:24 +00:00
android-build-team Robot
6f11145b35 Make change and version bump to RQ2A.201010.001
Change-Id: Iee076f9b6b249b82ca072d408a4c46db470fccc8
2020-10-09 23:16:42 +00:00
Yifan Hong
97abaede42 Merge "Build otatools files before building OTA packages." am: 49ccbb3729 am: e5491533ae
Original change: https://android-review.googlesource.com/c/platform/build/+/1455215

Change-Id: Ic220fc582739c513363f152857f99f8713aebe68
2020-10-09 18:57:13 +00:00
Treehugger Robot
c2b2a519c5 Merge "Various fixes to PRODUCT_BUILD_<IMAGE> variables." am: 9b7cce9417 am: 2f7b994a6f
Original change: https://android-review.googlesource.com/c/platform/build/+/1453726

Change-Id: Ib224b45b354efc77597252d8c2158ad93e94d91e
2020-10-09 18:08:06 +00:00
Yifan Hong
49ccbb3729 Merge "Build otatools files before building OTA packages." 2020-10-09 18:06:43 +00:00
Treehugger Robot
9b7cce9417 Merge "Various fixes to PRODUCT_BUILD_<IMAGE> variables." 2020-10-09 17:37:39 +00:00
Joe Onorato
3e40a3a26a Merge "Refactor OWNERS files in platform/build/make." am: f09dce28d3 am: 871d07c67d
Original change: https://android-review.googlesource.com/c/platform/build/+/1455497

Change-Id: If76efb5048a9764f00c3528855b5d377c7c91817
2020-10-09 04:59:32 +00:00
Dan Shi
d3f62629ba Merge "Add missing target-native-copy-pairs util" am: a98b188e50 am: f6e0927f4a
Original change: https://android-review.googlesource.com/c/platform/build/+/1455016

Change-Id: I76d7fab04e6f90e8e75d14c6e9b51d332266b0d9
2020-10-09 04:25:47 +00:00
Joe Onorato
f09dce28d3 Merge "Refactor OWNERS files in platform/build/make." 2020-10-09 03:59:38 +00:00
Dan Shi
a98b188e50 Merge "Add missing target-native-copy-pairs util" 2020-10-09 03:31:30 +00:00
Yifan Hong
33fd5d4277 Add <ramdisk>/system/etc/ramdisk/build.prop.
Add a build.prop file for ramdisk. Properties uses the
name ro.[product.]bootimage*.

These ro.[product.]bootimage.* properties are also included in recovery
properties.

The file is installed to system/etc/ramdisk/build.prop under ramdisk.

On devices with dedicated recovery partition, the file is
installed to ramdisk/, which is installed to the ramdisk in the boot
image. The file is NOT installed to recovery/root to prevent
collision.

On devices with recovery_as_boot, in addition to ramdisk/, it is also
installed to recovery/root, which is installed to the ramdisk in the
boot image.

Test: m bootimage and inspect output
Bug: 169169031
Bug: 162623577
Bug: 170411692
Bug: 170364317

Change-Id: Ica6515b2a4e0f4a7fe4440434a3d7085fde64387
2020-10-09 00:48:37 +00:00
android-build-team Robot
f7ca2350b9 Make change and version bump to RQ2A.201009.001
Change-Id: Icc81f3fe8c15e4874c999a4899fc7ec3c5648e8c
2020-10-08 23:17:33 +00:00
Joe Onorato
ba048cb758 Refactor OWNERS files in platform/build/make.
Pulls out all of the per-file rules into their relevant directories
and includes platform/build/soong:/OWNERS as the authoritative
list of approvers.

Test: treehugger
Bug: 170407947
Change-Id: Icb885fc25a638f2f5134f6223df656ef4438bb67
2020-10-08 16:14:44 -07:00
android-build-team Robot
cfb0d67fc4 Version bump to RQ1A.201004.004 [core/build_id.mk]
Change-Id: I824fdbae50cbd8a14f5b33abbafb44311814fdc3
2020-10-08 23:12:56 +00:00
Yifan Hong
56c3ef1ca3 Merge "Revert "Add timestamp to ramdisk."" am: fa1349600e am: c22d741274
Original change: https://android-review.googlesource.com/c/platform/build/+/1455675

Change-Id: If97b4ed79d9916b84303416fb52f8fbe7038506c
2020-10-08 22:45:46 +00:00
Daniel Norman
42879ff536 Various fixes to PRODUCT_BUILD_<IMAGE> variables.
- Introduces PRODUCT_BUILD_VENDOR_BOOT_IMAGE.
  - Controls vendor_boot.img, replacing TARGET_NO_VENDOR_BOOT.
  - Matches the naming convention of other similar vars.
- Guards boot-debug.img behind BUILDING_BOOT_IMAGE
- Restructures BUILDING_BOOT_IMAGE to give priority to
  PRODUCT_BUILD_BOOT_IMAGE, as do other partitions.
- ^ for BUILDING_RECOVERY_IMAGE.

Test: PRODUCT_BUILD_{BOOT,RECOVERY,VENDOR_BOOT}_IMAGE := false
      m dist
      Observe no boot, boot-debug, recovery, or vendor_boot images.
Bug: 169968221
Bug: 170423509
Change-Id: I629bf08ba08e5db14c1bf92bb338fb3ce59d5b73
2020-10-08 22:31:52 +00:00
Yifan Hong
fa1349600e Merge "Revert "Add timestamp to ramdisk."" 2020-10-08 22:28:43 +00:00
Yifan Hong
0bbbc93c31 Revert "Add timestamp to ramdisk."
This reverts commit 7a532ab1e9.

Reason for revert: conflicts with device-specific sepolicy

Bug: 170364317
Bug: 170411692
Change-Id: I9e7094e5f7be6f2c53ed27c658530370d794a5e2
2020-10-08 22:14:44 +00:00
Anton Hansson
351a317cd5 Remove apidiff task and droiddoc jdiff support
Nothing uses these anymore.

Bug: 158465496
Test: m
Change-Id: Iaef4f7ca7e5d21b1850d7491247f13782c9bb23a
2020-10-08 19:06:21 +01:00
Dan Shi
ab42cd0eb9 Add missing target-native-copy-pairs util
The function was in test/framework/build/utils/vtslab_package_utils.mk
It was removed as part of the cleanup of vts10.
Function target-native-copy-pairs is still used to package kernel native
tests.

Bug: 170339160
Test: m vts
Change-Id: I0097022f05fc9adc47a664c63a8341040b4af106
2020-10-08 10:13:40 -07:00
Yifan Hong
5c1b199b87 Build otatools files before building OTA packages.
Test: m otapackage, then check $ANDROID_HOST_OUT

Bug: 169169031
Change-Id: I0d943d6c5b4054783094c8eb38c6660e9c49e201
2020-10-08 09:51:36 -07:00
Treehugger Robot
ae134e24fc Merge "Add timestamp to ramdisk." am: 396b0a2074 am: bdf813163f
Original change: https://android-review.googlesource.com/c/platform/build/+/1438074

Change-Id: I8f3602fc299c7016e46376f538b1cd78498dadf9
2020-10-08 04:27:29 +00:00
Treehugger Robot
396b0a2074 Merge "Add timestamp to ramdisk." 2020-10-08 03:50:37 +00:00
Treehugger Robot
a9a4378208 Merge "Skip unneeded notice files for DATA modules." am: 3592aedd78 am: 2899375ad9
Original change: https://android-review.googlesource.com/c/platform/build/+/1453719

Change-Id: Idae969035023be47f16366ea848fc05dd9571819
2020-10-08 02:56:36 +00:00
android-build-team Robot
6c57ca15f8 Make change and version bump to RQ2A.201008.001
Change-Id: Ia17b94dc0c65450bed91c940a5d76cb11abcdc25
2020-10-07 23:17:39 +00:00
Jesse Hall
a16690c38c Skip unneeded notice files for DATA modules.
Non-installable generated intermediate data modules can have
notice files attached when they're defined in the same LOCAL_PATH
as the installable module that depends on them. This makes uninstallable
DATA modules silently ignore the fact that the build doesn't know where
to install the notice file.

Bug: 160248517
Test: build
Change-Id: I09a8a253dda52c2d78a1ebc0c33cd96e3505e2e3
Merged-In: I09a8a253dda52c2d78a1ebc0c33cd96e3505e2e3
2020-10-07 14:01:12 -07:00
Martin Stjernholm
bf4e8f4708 Make the build fail when the executable prebuilt target check fails.
Amends https://r.android.com/1439191; I realised echo-error doesn't
imply a false status.

Test: m art-check-{release,debug,testing}-apex-gen-fakebin
  without https://r.android.com/1441933.
Bug: 169375644
Change-Id: Ice75aeab30120e781df50a28c3dce3874ec0bfd1
2020-10-07 21:04:51 +01:00
Felix Elsner
d7df770c4a soong_config: Support SYSTEM_EXT* sepolicy vars
The new variable name reflects its actual usage.

Keep compatibility with BOARD_PLAT_* because it has been a
convention for years. Also add warning messages for BOARD_PLAT_*
variables via KATI_deprecated_var.

Test: `make selinux_policy` with
      `SYSTEM_EXT_{PUBLIC,PRIVATE_SEPOLICY_DIRS}` set,
      observe additions in `$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/selinux`

Signed-off-by: Felix Elsner <google@ix5.org>
Change-Id: I58c64839cc513ae082cd3ee3c1e108843ea7439e
2020-10-07 15:56:52 +08:00
Felix Elsner
501ca68fd5 soong_config: Plat->SystemExt*SepolicyDirs
Align with changes in build/soong and system/sepolicy.

Test: build

Signed-off-by: Felix Elsner <google@ix5.org>
Change-Id: I73b773a4fb0bd626a989251d5c61381fcafaa1eb
2020-10-07 15:56:03 +08:00
android-build-team Robot
64482e35b4 Version bump to RQ1A.201004.003 [core/build_id.mk]
Change-Id: I5f01b8604ec60143eeffa9b49efa7d5f4851dfb8
2020-10-06 23:41:51 +00:00
android-build-team Robot
a674035f46 Make change and version bump to RQ2A.201007.001
Change-Id: I90ace437b3da6c0b019bbbb9a20e5265055e6767
2020-10-06 23:17:08 +00:00
Yifan Hong
7a532ab1e9 Add timestamp to ramdisk.
Add a build.prop file for ramdisk. Properties uses the
name ro.[product.]bootimage*.

These ro.[product.]bootimage.* properties are also included in recovery
properties.

The file is installed to boot/etc/build.prop under ramdisk.

On devices with dedicated recovery partition, the file is
installed to ramdisk/, which is installed to the ramdisk in the boot
image. The file is NOT installed to recovery/root to prevent
collision.

On devices with recovery_as_boot, in addition to ramdisk/, it is also
installed to recovery/root, which is installed to the ramdisk in the
boot image.

Test: m bootimage and inspect output
Bug: 169169031
Bug: 162623577

Change-Id: I94b993ce3214356036d038b6db57c4e1b755c111
2020-10-06 16:10:38 -07:00
The Android Open Source Project
a4c45b8d52 DO NOT MERGE - Merge RP1A.201005.006
Bug: 168212094
Merged-In: Id3cbd4d6528f827eba6ac410ba2eb92d91d40901
Change-Id: Ic9c7b4d7339ab624418c1fbc95e66674cffdef71
2020-10-06 16:48:22 +00:00
android-build-team Robot
edb1ad44a8 Version bump to RQ2A.201006.001 [core/build_id.mk]
Change-Id: I3c1f3ddcce0e7201acb5a4e643a6feaeb9ea8492
2020-10-06 16:22:35 +00:00
Treehugger Robot
385a043d90 Merge "Remove build tasks for vts10" am: 70b4738324 am: e57ea5ed1b
Original change: https://android-review.googlesource.com/c/platform/build/+/1449155

Change-Id: Idebca2d02a97631f7aa283ddf9e9075e97a7210f
2020-10-06 04:04:01 +00:00
Jooyung Han
c5b0744fe7 Merge "Use file_contexts for flattened apexes" am: a00c0f1f23 am: 674721e97f
Original change: https://android-review.googlesource.com/c/platform/build/+/1435451

Change-Id: I15c3e183a0e262fc926026dffd1522f20d288221
2020-10-06 04:01:24 +00:00
Treehugger Robot
70b4738324 Merge "Remove build tasks for vts10" 2020-10-06 03:30:31 +00:00
Jooyung Han
a00c0f1f23 Merge "Use file_contexts for flattened apexes" 2020-10-06 03:26:14 +00:00
Treehugger Robot
271dd85506 Merge "tasks: find-sharedui-violation: Partition location" am: b1fbb747b8 am: 5da79a1876
Original change: https://android-review.googlesource.com/c/platform/build/+/1321234

Change-Id: I7b713e9cfc1588dbb1fd6d42498a83ad538efde4
2020-10-06 02:57:53 +00:00
Treehugger Robot
b1fbb747b8 Merge "tasks: find-sharedui-violation: Partition location" 2020-10-06 02:14:47 +00:00
android-build-team Robot
6d6590b55f Version bump to RQ1A.201004.002 [core/build_id.mk]
Change-Id: I168d3d782a3e3f079e86e5ee1bf37ab6f8be3170
2020-10-05 23:36:19 +00:00
Dan Shi
82c4cb74c6 Remove build tasks for vts10
Bug: 169581727
Test: build
Change-Id: I865553ae07bc6eac3b90f87a494537102c398280
2020-10-05 10:17:21 -07:00
android-build-team Robot
3c31d572f4 Make change and version bump to RQ1A.201004.001
Change-Id: I5c8774e902f3b461d792666442dd2b1a2439b044
2020-10-03 21:16:25 +00:00
android-build-team Robot
b2980ef786 Make change and version bump to RQ1A.201003.001
Change-Id: I0783dea2d9e13d225110688ea679fb8f2481a003
2020-10-02 23:16:41 +00:00