Commit Graph

20491 Commits

Author SHA1 Message Date
android-build-team Robot
4ef234f134 Version bump to QP1A.190410.005
Change-Id: Ia5633e000688db66f955eb7526ebdcec57442b43
2019-04-11 00:22:47 +00:00
Dan Willemsen
5606d2b53b Split ALL_MODULES.*.REQUIRED and friends between target/host
So that we actually respect different LOCAL_REQUIRED_MODULES for the
host and device versions instead of unioning them. That got particularly
problematic when LOCAL_SHARED_LIBRARIES is implicitly added to
LOCAL_REQUIRED_MODULES. We also used to walk through device-only modules
when filling out the list of required modules, which triggered even more
extra installations.

This also changes the requirements for PRODUCT_HOST_PACKAGES so that it
no longer accepts target-only phony modules (since we can now
differentiate them). They were all removed in previous patches.

Bug: 123925742
Fixes: 129719937
Test: treehugger; diff resulting builds
Test: diff list of product_target_FILES and product_host_FILES
Change-Id: I2ed8950320d31f5693323ad8cef6ec5b6780b7d4
Merged-In: I2ed8950320d31f5693323ad8cef6ec5b6780b7d4
(cherry picked from commit 8e96a794ac)
2019-04-10 17:04:48 -07:00
android-build-team Robot
d3bf5fe450 Version bump to QP1A.190410.004
Change-Id: I7ab1462482793840e4b91989dff06d9ff4b48425
2019-04-10 23:49:10 +00:00
android-build-team Robot
bdac4525cc Version bump to QP1A.190410.003
Change-Id: I62683f50d758416bc714e4a09f8303bb697d0b5b
2019-04-10 22:49:28 +00:00
Anton Hansson
9ce8087afc Merge "Move board-info props to vendor/build.prop" into qt-dev 2019-04-10 12:39:24 +00:00
Anton Hansson
0643efcc5a Move board-info props to vendor/build.prop
This change moves the ro.build.require.* props extracted from
TARGET_BOARD_INFO_FILE to vendor/build.prop as opposed to
system/build.prop. These typically contain what bootloader and
baseband the build requires, which are very device-specific.

Bug: 130025216
Test: make, inspect props
Test: flash blueline
Change-Id: I48642485bdc853884d465d1fe00f2ceae69a4736
Merged-In: I48642485bdc853884d465d1fe00f2ceae69a4736
2019-04-10 12:38:59 +00:00
Dan Willemsen
2ab5c90e9c Add BUILD_BROKEN_USES_NETWORK
Some people apparently still talk to the network during their build.
Allow this temporarily with a BUILD_BROKEN_USES_NETWORK check.

Bug: 129992021
Test: attempt to talk to the network during the build with and without
      this flag
Change-Id: I45612ad6165f92f123847b4057338c0dfc3424ee
Merged-In: I45612ad6165f92f123847b4057338c0dfc3424ee
(cherry picked from commit 0586c65780)
2019-04-09 21:52:19 -07:00
android-build-team Robot
0fad9ba7d9 Version bump to QP1A.190410.002
Change-Id: I2c9d8c564d586efdaba9d2fbaaf526f521654539
2019-04-10 04:39:26 +00:00
TreeHugger Robot
a26d2189d1 Merge "Q Branch prefix is QP1A" into qt-dev 2019-04-10 04:31:28 +00:00
android-build-team Robot
ec55e0a1cb Make change and version bump to QP1A.190410.001
Change-Id: I33be98a94be09455429e71cf476493f4fbdcad95
2019-04-10 03:18:38 +00:00
Ian Pedowitz
0f38bfccab Q Branch prefix is QP1A
Bug: 128934651
Bug: 129683166
Bug: 129943426
Test: source build/envsetup.sh && lunch aosp_blueline-userdebug
Test: m -j cts docs tests
Change-Id: I34c360a68c6721e8fef9e39be30c8af7bca90c39
2019-04-09 13:44:24 -07:00
Paul Scovanner
9231b34069 [DO NOT MERGE] Update Security String to 2019-06-01 Bug:129374896 Merged-In:1f8f84de6133f82df8210fa9214475d7c5aaa2f0
am: 3e8a1393a7

Change-Id: I2a8ce7b192ccb2bbf23c342c88da45d9c3b3f070
2019-04-09 13:06:43 -07:00
Paul Scovanner
b196cc6543 Merge "Update Security String to 2019-06-01 Bug:129374896" into qt-dev 2019-04-09 18:49:36 +00:00
Anton Hansson
d4f9d62625 Move bootimage props to vendor/build.prop
Prior to this change the properties were in system/etc/default.prop.
These properties are device-specific and don't really belong on the
/system partition.

I anticipate further change to these properties in the future:
- pruning down the set of properties, as the .product. props
  don't make much sense for the boot image
- moving them to the ramdisk instead

Bug: 130025216
Test: boot into recovery, observe title (shows bootimage fingerprint)
Change-Id: I9e92c1ec7068ae18fa0d709c77eac22a6b88c3d8
Merged-In: I9e92c1ec7068ae18fa0d709c77eac22a6b88c3d8
2019-04-09 16:28:22 +01:00
android-build-team Robot
1d75088b95 Make change and version bump to QP1A.190409.001
Change-Id: I63f9669478c544a25cc6eab619ba1d3f29dc6df0
2019-04-09 03:16:56 +00:00
android-build-team Robot
5c97f35000 Version bump to QP1A.190408.002
Change-Id: I30ecabc17df13e43fdba225d09923aa1e47474bd
2019-04-08 23:57:21 +00:00
Nicolas Geoffray
7b504b7b75 Merge "Move the profile rule out of dex_preopt_libart.mk." into qt-dev 2019-04-08 21:51:02 +00:00
Paul Scovanner
3e8a1393a7 [DO NOT MERGE] Update Security String to 2019-06-01
Bug:129374896
Merged-In:1f8f84de6133f82df8210fa9214475d7c5aaa2f0
2019-04-08 21:48:10 +00:00
Paul Scovanner
1f8f84de61 [DO NOT MERGE] Update Security String to 2019-06-01
Bug:129374896
2019-04-08 18:01:43 +00:00
Paul Scovanner
1453ddd306 Update Security String to 2019-06-01 Bug:129374896 2019-04-08 17:45:33 +00:00
Paul Scovanner
42fc9b3217 Merge "Update Security String to 2019-05-05 Bug:128322951" into qt-dev 2019-04-08 17:38:06 +00:00
Nicolas Geoffray
c2e947715e Move the profile rule out of dex_preopt_libart.mk.
We only need to define it once. dex_preopt_libart.mk can be read
multiple times if there are many boot image.

Test: m && no warning
Bug:119800099

(cherry picked from commit 7e8ca9a174)

Change-Id: I16d67b77142fce93c6d4acc15f557ad073b2de44
Merged-In: If5b8fbb0c3310eb42f676d7b5267dcee679f7e19
2019-04-08 09:56:29 +01:00
TreeHugger Robot
4a6b93ba16 Merge "Don't feed framework.jar to proguard for vendor apks" into qt-dev 2019-04-08 04:12:44 +00:00
android-build-team Robot
128e0abe56 Make change and version bump to QP1A.190408.001
Change-Id: I8f873b55aa700a6891a75953dec275020d8e0657
2019-04-07 23:28:30 +00:00
android-build-team Robot
57a3d14f3d Make change and version bump to QP1A.190407.001
Change-Id: I6fd8ce085c18bd2bc322a4790efbd4b29c04c6a7
2019-04-06 23:24:44 +00:00
Guang Zhu
be0cb591b1 Merge "Android Q is Android 10" into qt-dev 2019-04-06 00:07:10 +00:00
Paul Scovanner
5c17bbc567 Update Security String to 2019-05-05
Bug:128322951
2019-04-05 23:46:54 +00:00
Paul Scovanner
2db03695f4 [DO NOT MERGE] Update Security String to 2019-06-01
Bug:129374896
2019-04-05 23:32:13 +00:00
Nicolas Geoffray
0f25cbf342 Pass DEXPREOPT_USE_APEX_IMAGE to soong.
Test: lunch walleye_jitzygote-userdebug m && all odex file use the apex image
Bug: 119800099

(cherry picked from commit 0639b7de03)

Change-Id: Ic76f3ad6da0425479fbe660efe0a0677e60771a2
Merged-In: Ieb8f36b94264496a41998d4ceca30e1f41a98ebe
2019-04-05 13:59:04 +01:00
Jiyong Park
678ace7e77 Don't feed framework.jar to proguard for vendor apks
We used to add framework.jar to proguard via -systemjars option even
for the apks building againsd SDK. This was because the app might have
references to hidden APIs via static libraries, etc.

However, for vendor apks, the use of hidden API is strictly prohibited.
So it is fine to not include framework.jar. Furthermore, including
framework.jar even causes problems in some cases; if a java library
(e.g., android.hidl.base-V1.0-java) is statically linked to both the app
and the framework.jar, -systemjars frameworks.jar forcibly removes
classes in the library from the app to have references to the non-public
classes in framework.jar. This could fail some compliance tests.

Fixing the problem by not raising SDK for apks located in vendor or odm
partitions.

Bug: 128574081
Test: m
Merged-In: If2b658fead5b4bb4d8c023a37eb57a37ad9b741d
Change-Id: If2b658fead5b4bb4d8c023a37eb57a37ad9b741d
(cherry picked from commit eadd1bdb8e)
2019-04-05 21:41:00 +09:00
TreeHugger Robot
f9a550621b Merge "Build non-sparse super image if necessary." into qt-dev 2019-04-05 10:17:16 +00:00
TreeHugger Robot
da72f69a2b Merge "Remove 'column' from modules target" into qt-dev 2019-04-05 06:00:09 +00:00
android-build-team Robot
87b7be6e56 Version bump to QP1A.190404.005
Change-Id: Ie762695620863bcab9ae7d4f456d74b6612a1d0c
2019-04-05 05:20:08 +00:00
android-build-team Robot
1566accc02 Version bump to QP1A.190404.004
Change-Id: I257cfb072f40ab31db6582ce46d786db0c2ce8e3
2019-04-05 01:54:30 +00:00
android-build-team Robot
241c42df41 Version bump to QP1A.190404.003
Change-Id: Ic416fec9a383238e592ee6237b911b5fc8d296ea
2019-04-04 23:44:38 +00:00
Yifan Hong
c3664703f8 Build non-sparse super image if necessary.
If TARGET_USERIMAGES_SPARSE_EXT_DISABLED is set, don't provide
--sparse to lpmake, so that a non-sparse super image is built.

Test: build with the flag set.
Bug: 120041578
Change-Id: I5a26e4c793b0e2ddc89e9c38c8828ac21044e78a
Merged-In: I5a26e4c793b0e2ddc89e9c38c8828ac21044e78a
2019-04-04 16:36:25 -07:00
Yifan Hong
8b7fe36968 supernod: make intermediates directory.
Bug: 120041578

Test: delete the directory, then `m supernod`
Change-Id: If2f153fc8815b1bbf77774849be9cc2cdb5fd913
Merged-In: If2f153fc8815b1bbf77774849be9cc2cdb5fd913
2019-04-04 13:30:23 -07:00
Johan Harvyl
ca1dbcc809 Remove 'column' from modules target
The standard target modules stopped working when restrictions in
soong were introduced to which binaries are allowed to be used during
builds.

Listing a very large amount of modules in columns does not make it
more readable and harder to work with in tools so just drop it.

Bug: 129800175
Test: make modules

(cherry picked from commit 7005d4f4cc)

Change-Id: I317f6eb4ba5ea633264939a9a58f716bdb36596e
2019-04-04 13:19:51 -07:00
android-build-team Robot
f56af6d2fa Version bump to QP1A.190404.002
Change-Id: I2e3c296b28ba95139ad94622ca1b17e117746222
2019-04-04 19:40:04 +00:00
Ian Pedowitz
0772f2a498 Android Q is Android 10
Bug: 129683166
Bug: 129943426
Test: source build/envsetup.sh && lunch blueline-userdebug && m -j cts
docs tests
Test: Flashed build to blueline, ensured it booted
Test: Verified "10" under Settings -> About phone -> Android version
Change-Id: Idec1479d93876bc57711c31e70f34008a05881d1
2019-04-04 09:12:21 -07:00
android-build-team Robot
a6aa9832c0 Make change and version bump to QP1A.190404.001
Change-Id: Id3d96131cc045a9081ea06e5a44a12ce66a72863
2019-04-04 03:17:39 +00:00
android-build-team Robot
18a0c98d45 Version bump to QP1A.190403.002
Change-Id: Iea55aab1c1311cf5ac1be3d3bb53a2ff81c413b2
2019-04-03 23:21:26 +00:00
joker.yang
40301d8f1d Merge "Statements in build system such as ifeq (true,$(LOCAL_VENDOR_MODULE)) has a poor compatibility" am: 78ec599720 am: 0e2559c2d6
am: 680a116cba

Change-Id: I04cf92309e489b4304ca4f62c6ebce51489e5b9f
2019-04-03 09:40:15 -07:00
joker.yang
680a116cba Merge "Statements in build system such as ifeq (true,$(LOCAL_VENDOR_MODULE)) has a poor compatibility" am: 78ec599720
am: 0e2559c2d6

Change-Id: I4e1f9781f903b4d3ef55b30b087c89126bc09db6
2019-04-03 09:24:30 -07:00
joker.yang
0e2559c2d6 Merge "Statements in build system such as ifeq (true,$(LOCAL_VENDOR_MODULE)) has a poor compatibility"
am: 78ec599720

Change-Id: I7c6759b45b8e7af3df7cf31288a9d484098704cf
2019-04-03 09:07:49 -07:00
Treehugger Robot
78ec599720 Merge "Statements in build system such as ifeq (true,$(LOCAL_VENDOR_MODULE)) has a poor compatibility" 2019-04-03 15:27:21 +00:00
android-build-team Robot
1374d99fd8 Make change and version bump to QP1A.190403.001
Change-Id: Idf683fb658f34707670038d38a048346941afed0
2019-04-03 03:21:10 +00:00
joker.yang
a75c9a5079 Statements in build system such as ifeq (true,$(LOCAL_VENDOR_MODULE)) has a poor compatibility
We have developed a vendor module and set LOCAL_VENDOR_MODULE := true<space> (Added a space character at the end)
The android build system then can't installed it in the right partition until we removed the extra space character.

bug: 129725067

Change-Id: I081ffe7f39a9c850007ba304c815436500be694c
2019-04-03 01:31:43 +00:00
android-build-team Robot
533372cb0b Version bump to QP1A.190402.002
Change-Id: Ib2dfd6de105897e0312b5006a3a96e62453251b1
2019-04-03 00:59:31 +00:00
android-build-team Robot
87bb5ed9e6 Make change and version bump to QP1A.190402.001
Change-Id: Ib015719472805e547853212d61ebc8bc04a15f68
2019-04-02 03:19:48 +00:00