Commit Graph

21590 Commits

Author SHA1 Message Date
Dan Willemsen
c466d88cb6 Merge "Move BUILD_[HOST_]SHARED_TEST_LIBRARY to obsolete list" am: 03aebddf1d
am: 35aec48ac3

Change-Id: Ia93eba1ead9fee7676383426ab5b429592d062f6
2019-05-08 17:54:36 -07:00
Dan Willemsen
35aec48ac3 Merge "Move BUILD_[HOST_]SHARED_TEST_LIBRARY to obsolete list"
am: 03aebddf1d

Change-Id: I2bbfd7b85b349d0a576562915118c05360d7b183
2019-05-08 17:10:25 -07:00
Martin Stjernholm
e115e3cf07 Extend library absence check to Bionic libs and all ART debug libs.
Test: m systemimage
Test: build/soong/build_test.bash
Bug: 124293228
Change-Id: I1a25d8d45668638b7eb0d39ded9cad3ed30db33c
2019-05-09 01:07:56 +01:00
Treehugger Robot
03aebddf1d Merge "Move BUILD_[HOST_]SHARED_TEST_LIBRARY to obsolete list" 2019-05-08 23:44:47 +00:00
TreeHugger Robot
cfca3e591d Merge "Move ro.boot.dynamic_partitions to vendor/build.prop" into qt-dev 2019-05-08 23:28:51 +00:00
Dan Willemsen
36f64f907b Merge "Deprecate next set of make module types" am: 2cfbde6f38
am: cecb32f2af

Change-Id: I23fcec3a9c8d18e3bee712ee58fcae5f06139e68
2019-05-08 15:41:57 -07:00
Dan Willemsen
cecb32f2af Merge "Deprecate next set of make module types"
am: 2cfbde6f38

Change-Id: I316acef9e09e909a255ef3dcbcea808023fabf4a
2019-05-08 15:37:44 -07:00
android-build-team Robot
0b7be72f5d Version bump to QP1A.190508.002 [core/build_id.mk]
Change-Id: Ic95e3623365465962a4b40e95a7b0080e783a883
2019-05-08 22:34:11 +00:00
Hridya Valsaraju
6cf5155f31 Merge "Move ro.boot.dynamic_partitions to vendor/build.prop" am: e591ef32a0
am: 1c87bffec6

Change-Id: Iac569cd79d6cdbe33ed3761ffc6c2bbb3e3bb6d9
2019-05-08 15:29:56 -07:00
Treehugger Robot
2cfbde6f38 Merge "Deprecate next set of make module types" 2019-05-08 22:19:53 +00:00
Hridya Valsaraju
1c87bffec6 Merge "Move ro.boot.dynamic_partitions to vendor/build.prop"
am: e591ef32a0

Change-Id: I54134846c9b6657bc0987ca18348f23353d8e3b9
2019-05-08 15:09:41 -07:00
Hridya Valsaraju
ccd6279bef Move ro.boot.dynamic_partitions to vendor/build.prop
Bug: 132197773
Test: property present in vendor/build.prop

Currently, the property resides in product partition which gets
overwritten by the GSI image. Moving it to vendor will ensure
that the property is set even when a GSI image is flashed on the device.

Change-Id: I4d4a3c473194e15ba124a121f89bbb3ec1a73d19
Merged-In: I4d4a3c473194e15ba124a121f89bbb3ec1a73d19
2019-05-08 21:40:26 +00:00
Treehugger Robot
e591ef32a0 Merge "Move ro.boot.dynamic_partitions to vendor/build.prop" 2019-05-08 21:39:26 +00:00
Dan Willemsen
eb22c940ac Move BUILD_[HOST_]SHARED_TEST_LIBRARY to obsolete list
The implementation of these rules have been an $(error) for almost 3
years.

Test: treehugger
Change-Id: I2e258d297172532c0993c8cb8a2e19ad03ea281d
2019-05-08 12:37:10 -07:00
Dan Willemsen
fd84a92b82 Deprecate next set of make module types
BUILD_AUX_EXECUTABLE
 BUILD_AUX_STATIC_LIBRARY

These shouldn't be used anymore, they were an intermediate state to
build some firmware that is no longer being built in Android.

 BUILD_HOST_FUZZ_TEST
 BUILD_HOST_NATIVE_TEST
 BUILD_HOST_STATIC_TEST_LIBRARY
 BUILD_NATIVE_BENCHMARK
 BUILD_STATIC_TEST_LIBRARY

There are no users of these left.

Bug: 130735607
Bug: 130735003
Bug: 130691889
Bug: 130723134
Bug: 130722660
Bug: 130734558
Bug: 130735594
Test: build_test & check logs
Change-Id: I8a9385040316495f7e7262d045be871e91712920
2019-05-08 12:27:53 -07:00
Chris Gross
b56351ac7b Merge "Add BUILD_RECOVERY_IMAGE and BUILD_BOOT_IMAGE flags" am: 84c96eba1e
am: e9425427c2

Change-Id: I367fdc842308a47b6a68dd416788bffa61f11764
2019-05-08 11:35:40 -07:00
Chris Gross
e9425427c2 Merge "Add BUILD_RECOVERY_IMAGE and BUILD_BOOT_IMAGE flags"
am: 84c96eba1e

Change-Id: I66f4b0e3faaf3fcc16cd51a1e1f93d549fd708fd
2019-05-08 11:30:33 -07:00
Chris Gross
84c96eba1e Merge "Add BUILD_RECOVERY_IMAGE and BUILD_BOOT_IMAGE flags" 2019-05-08 18:21:42 +00:00
Hridya Valsaraju
1fd498d748 Move ro.boot.dynamic_partitions to vendor/build.prop
Bug: 132197773
Test: property present in vendor/build.prop

Currently, the property resides in product partition which gets
overwritten by the GSI image. Moving it to vendor will ensure
that the property is set even when a GSI image is flashed on the device.

Change-Id: I4d4a3c473194e15ba124a121f89bbb3ec1a73d19
2019-05-08 16:22:06 +00:00
Jiyong Park
b233b2bb09 Ensure TARGET_FLATTEN_APEX == true when ro.apex.updatable is not set
am: 18411a42f0

Change-Id: I55c69b9e1686f97daa6348e6829995f368882e71
2019-05-08 08:35:05 -07:00
Jiyong Park
18411a42f0 Ensure TARGET_FLATTEN_APEX == true when ro.apex.updatable is not set
TARGET_FLATTEN_APEX and ro.apex.updatable cannot be independently set.
For a device where updating APEXes is not supported, ro.apex.updatable
should not be set (or set to false) and TARGET_FLATTEN_APEX should be
set to true. For APEX-supporting devices, it is the opposite;
ro.apex.updatable == true and TARGET_FLATTEN_APEX is false (or not set).

To ensure this relationship, TARGET_FLATTEN_APEX is by default set to
true, and overridden to false when updatable_apex.mk is inherited.

Bug: 130623080
Test: choosecombo to Pixels 2 and later; get_build_var
TARGET_FLATTEN_APEX returns false.
choosecombo to the original Pixel and other non-Pixel targets;
get_build_var TARGET_FLATTEN_APEX returns true.
choosecombo to the cuttlefish; get_build_var TARGET_FLATTEN_APEX
returns false

Change-Id: Id73a594dd9838457e68e2793122592c11a84fc83
2019-05-08 20:51:21 +09:00
Isaac Chen
e9723507a1 Add PRODUCT_EXTRA_VNDK_VERSIONS product variables
PRODUCT_EXTRA_VNDK_VERSIONS should be in _product_list_vars
because it's used as a list with probably more than one version
included/set in differemt makefiles.

Bug: 132046980
Test: $ lunch aosp_x86_ab-userdebug
      $ m -j
      $ find $OUT/system/ -name vndk-* # vndk-27 directory is included

Change-Id: Iee9b7b678a23eed781cc761d820db9ff67ae5d34
2019-05-08 15:46:00 +08:00
Tao Bao
5a35c87281 Merge "Compute the needed shared libs for otatools." am: 5eba1c9a67
am: 5fd2a085c3

Change-Id: I1b82b6858c0b3e2578a1709f7e5ab65adf620735
2019-05-07 21:34:25 -07:00
Tao Bao
5fd2a085c3 Merge "Compute the needed shared libs for otatools."
am: 5eba1c9a67

Change-Id: I7a96636c6d61f0bed1d248c70eb7f58fb09a8ae6
2019-05-07 21:14:09 -07:00
Treehugger Robot
5eba1c9a67 Merge "Compute the needed shared libs for otatools." 2019-05-08 03:44:33 +00:00
android-build-team Robot
d58f40801a Make change and version bump to QP1A.190508.001
Change-Id: I0b07cf65ed32ebf7ed7157ead6aa2e73186ff453
2019-05-08 03:18:28 +00:00
Tao Bao
655eb08b7b Merge "Use the installed vboot_signer." am: 40c03ff116
am: f7d0b06ee9

Change-Id: I486195329cac8335fa64c37be38933493e045e68
2019-05-07 18:53:04 -07:00
Tao Bao
f7d0b06ee9 Merge "Use the installed vboot_signer."
am: 40c03ff116

Change-Id: I6369c9779b84c8d0cd9f5baafa9094426b946846
2019-05-07 17:51:20 -07:00
android-build-team Robot
90da6efe07 Version bump to QP1A.190507.002 [core/build_id.mk]
Change-Id: Ib69378726f03118b3492268d57ece4f44e9a6676
2019-05-08 00:49:44 +00:00
Tao Bao
40c03ff116 Merge "Use the installed vboot_signer." 2019-05-07 23:40:57 +00:00
Colin Cross
7d352e2e37 Merge "Use --ignore_missing_files when creating symbols.zip" am: 96ba044c94
am: 2022a3bea7

Change-Id: I8658224759864c9acfd94574117f6c2c972cd305
2019-05-07 15:34:14 -07:00
android-build-team Robot
24df732a99 Make change and version bump to PPRL.190505.001
Change-Id: Ib519bb6075266b713971491a5d67cd942c6d67a8
2019-05-07 22:12:39 +00:00
Colin Cross
2022a3bea7 Merge "Use --ignore_missing_files when creating symbols.zip"
am: 96ba044c94

Change-Id: I6374ab49d0307dfe55ca940880987f596bbb353c
2019-05-07 14:56:24 -07:00
Colin Cross
8d34244739 Use --ignore_missing_files when creating symbols.zip
symbols.zip is created while files that are not part of the platform
build but were requested on the Make command line (for example by
passing "tests") are still being installed.  Installation often
involves removing and then recreating the file.  If the file
exists when the list of files to be zipped is created, but is
removed when soong_zip is zipping, it fails with an error.  Pass
--ignore_missing_files to silence the error and keep zipping.

Fixes: 79503862
Test: m checkbuild
Change-Id: I1fbbf1f1396948288ee133c319b2e19dee97983b
2019-05-07 11:47:13 -07:00
Chris Gross
a784ef197c Add BUILD_RECOVERY_IMAGE and BUILD_BOOT_IMAGE flags
Bug: 123428770
Test: Built system-only image and checked that no boot.img or
recovery.img files where created. Booted the resulting merged build on
device.

Change-Id: I760476502775e68125907c39e66b8665e789a798
2019-05-07 11:00:37 -07:00
Anton Hansson
caebe98e39 Merge "Mark many single value variables as such" am: c43a3e1103
am: 4550977e75

Change-Id: I14dfb1471a7914ceeea0a81cb7b399e1203b311c
2019-05-07 02:38:52 -07:00
Anton Hansson
fc51b3379d Merge "Add support for single-value product variables" am: 3e29407793
am: 4d60168865

Change-Id: I742b3f366091d5eff94a909be28d8ecf115843c5
2019-05-07 02:38:02 -07:00
Anton Hansson
4550977e75 Merge "Mark many single value variables as such"
am: c43a3e1103

Change-Id: Ieae944df8cb9be17ab6af35bc43959ed532fac1e
2019-05-07 02:33:30 -07:00
Anton Hansson
4d60168865 Merge "Add support for single-value product variables"
am: 3e29407793

Change-Id: I190269b39392c5daf70e84d50b68432b80a66ef5
2019-05-07 02:32:48 -07:00
Bowgo Tsai
30a4eb54fc Using a test key to sign boot-debug.img if needed
When /boot partition is chained in AVB signing, libavb will try to
read AVB footer from the end of /boot partition, even if the device is
unlocked. However, this makes device unbootable when the unsigned
boot-debug.img is flashed on /boot partition. This CL uses a test key
from external/avb to sign the boot-debug.img if /boot partition is
chained.

Bug: 126493225
Bug: 129508966
Test: Enables chain partition for boot.img, `make bootimage_debug` then
      checks `avbtool info_image --image $OUT/boot-debug.img`
Test: `make bootimage_debug-nodeps`
Test: boot a device with a chained boot-debug.img

Change-Id: I870cb70c70b7d4d7a30b77bed58cbca6e007d5e3
Merged-In: I870cb70c70b7d4d7a30b77bed58cbca6e007d5e3
(cherry picked from commit 26b0a26e3e)
2019-05-07 17:27:43 +08:00
Anton Hansson
c43a3e1103 Merge "Mark many single value variables as such" 2019-05-07 09:18:53 +00:00
Anton Hansson
3e29407793 Merge "Add support for single-value product variables" 2019-05-07 09:14:27 +00:00
android-build-team Robot
1152538b08 Make change and version bump to QP1A.190507.001
Change-Id: Ifd14021d2792fe3ab23bdc29e2b1fc5845ad35d5
2019-05-07 03:17:57 +00:00
Tao Bao
96daeebd0e Compute the needed shared libs for otatools.
This keeps the packed shared libs in sync with their executables.

This CL also changes the packing location of mke2fs.conf, from
system/extras/ext4_utils/mke2fs.conf to bin/mke2fs.conf.

Bug: 34738751
Test: `m -j otatools-package`. Compare the packed files against the ones
      prior to this CL.
Change-Id: Icae88e3cd898460f5ba7dc11ab8a57350630c432
2019-05-06 20:03:57 -07:00
Tao Bao
d14c2f88df Use the installed vboot_signer.
Bug: 34738751
Test: Set `PRODUCT_SUPPORTS_VBOOT := true` and `m -j otatools-package`.
      Check the packed tools.
Test: Set `PRODUCT_SUPPORTS_VBOOT := true` and `m -j bootimage`.
Change-Id: Ia2ea475e3dc03cada1da524a299a21b8ad7ed536
2019-05-06 20:03:24 -07:00
Bowgo Tsai
dd0739a150 Merge "Using a test key to sign boot-debug.img if needed" am: 38809bdf99
am: f446127bfd

Change-Id: Ic674845eb69d1d73c7acc5c2014467ab88df7a08
2019-05-06 19:08:49 -07:00
Bowgo Tsai
f446127bfd Merge "Using a test key to sign boot-debug.img if needed"
am: 38809bdf99

Change-Id: Id87fa9dff8cb390a12fc41bb37bdba126a1ae2d1
2019-05-06 18:40:34 -07:00
Treehugger Robot
38809bdf99 Merge "Using a test key to sign boot-debug.img if needed" 2019-05-07 01:07:02 +00:00
android-build-team Robot
5b19517174 Version bump to QP1A.190506.002 [core/build_id.mk]
Change-Id: I226e70b47d4a80aa5acf55c76a58881078e04fe0
2019-05-06 20:33:17 +00:00
Tao Bao
ff18d4a79a Merge "Remove unused shared libs from otatools." am: 59c700154b
am: 844d65efe8

Change-Id: I3ae40279986e54cb87fbd889e60b9a4876eb4b50
2019-05-06 09:47:52 -07:00