Commit graph

7517 commits

Author SHA1 Message Date
Jiakai Zhang
5c55d4ab75 Merge "Remove dalvik.vm.dex2oat-updatable-bcp-packages-file." am: 315e32a904
Original change: https://android-review.googlesource.com/c/platform/build/+/1833558

Change-Id: Ib82b28114cc9eee3aff919e2207d71defcd09d1c
2021-09-27 11:55:00 +00:00
Jiakai Zhang
f7523888d8 Remove dalvik.vm.dex2oat-updatable-bcp-packages-file.
This system property is no longer needed.

Bug: 200241946
Test: Presubmits
Change-Id: If86551ac511f29e3ec2ff992695cecbb0dd58bb6
2021-09-26 03:36:30 +00:00
Treehugger Robot
d995c9e246 Merge "Renames boot-debug-*.img in GSI targets" am: b7aced88d6
Original change: https://android-review.googlesource.com/c/platform/build/+/1833559

Change-Id: I77024efd9f0281e40397bdebfab4160997bb50dc
2021-09-25 03:50:32 +00:00
Treehugger Robot
b7aced88d6 Merge "Renames boot-debug-*.img in GSI targets" 2021-09-25 03:33:40 +00:00
Bowgo Tsai
a2a5db4466 Renames boot-debug-*.img in GSI targets
Those boot-debug-*.img is used with `repack_bootimg` for a
vendor_boot-debug.img in VTS setup. It is not for GKI boot.img
release.

  https://source.android.com/compatibility/vts/vts-on-gsi#repacking

Renames boot-debug-*.img to boot-with-debug-ramdisk-*.img to
avoid confusion with the official GKI boot.img release.

Bug: 200878300
Test: `lunch gsi_arm64-user` then `make bootimage_debug`
Change-Id: Ia1f6ba847d5b7409fb7a8534432484d2aa972494
2021-09-23 22:19:52 +08:00
Sarah Chin
3628138f4c Add IRadio modules to VNDK
Test: build
Bug: 198331451
Change-Id: Ifdf60903e715cae26a06501aeb3c578f94d207fd
Merged-In: Ifdf60903e715cae26a06501aeb3c578f94d207fd
2021-09-23 03:55:06 +00:00
Sarah Chin
519c2211d5 Add IRadio modules to VNDK
Test: build
Bug: 198331451
Change-Id: Ifdf60903e715cae26a06501aeb3c578f94d207fd
2021-09-21 23:33:20 -07:00
Treehugger Robot
2ab762b6f7 Merge "Make native.bridge property overridable" am: 3c63667abb
Original change: https://android-review.googlesource.com/c/platform/build/+/1832764

Change-Id: I68933ad960937b3d2d6f6f9d804169cbbc5e1063
2021-09-22 02:58:01 +00:00
Treehugger Robot
3c63667abb Merge "Make native.bridge property overridable" 2021-09-22 02:45:11 +00:00
Lev Rumyantsev
b32e1479ef Make native.bridge property overridable
When a device uses native bridge, it may be included in the system
image, so overriding by vendor/build.prop is not an option.
Example of overriding can be seen here: ag/15881132

Test: build cf_x86_64_phone-userdebug with native-bridge and launch, observe
1. ro.dalvik.vm.native.bridge=native_bridge.so moved from
vendor/build.prop to system/build.prop
2. the prop is correctly set at runtime
3. translated apps work
Bug: 197153442

Change-Id: I6cd566dd4e0fac181e309cb7f282d086de09075b
2021-09-21 15:01:08 -07:00
Serik Beketayev
1c6dad568d [IRadioConfig] Adding to VNDK
Generated IRadioConfig.aidl and dependencies using tool
hidl2aidl.

Bug: 198331805
Test: m android.hardware.radio.config
Change-Id: Ifdbac8646bd20849fe4111f75f411426c5a23248
Merged-In: Ifdbac8646bd20849fe4111f75f411426c5a23248
2021-09-21 04:52:59 +00:00
Serik Beketayev
e0707317d9 [IRadioConfig] Adding to VNDK
Generated IRadioConfig.aidl and dependencies using tool
hidl2aidl.

Bug: 198331805
Test: m android.hardware.radio.config
Change-Id: Ifdbac8646bd20849fe4111f75f411426c5a23248
Merged-In: Ifdbac8646bd20849fe4111f75f411426c5a23248
2021-09-20 17:32:25 -07:00
Treehugger Robot
36ebb662c3 Merge "Clean up gki-5.4 related rules in GSI" am: 389170f9ec
Original change: https://android-review.googlesource.com/c/platform/build/+/1825192

Change-Id: I6db74dc855b814c00ee8cb90628b673633ae3d44
2021-09-16 09:38:52 +00:00
Howard Chen
cb6ea4a2a7 Clean up gki-5.4 related rules in GSI
There will be no android13-5.4. This CL is to clean up build rules
that refers to the gki-5.4.

Bug: 199807830
Test: lunch aosp_arm64-userdebug
Change-Id: Ia982eb2ee3d1eb64db72c1836e433bcc53e71e3f
2021-09-14 03:38:06 +00:00
Sarah Chin
355f345956 Merge "Add Radio AIDL to VNDK" 2021-09-09 05:21:43 +00:00
Sarah Chin
d0a58e8d6e Merge "Add Radio AIDL to VNDK" into stage-aosp-master 2021-09-09 04:25:24 +00:00
Sarah Chin
c68e0808ae Add Radio AIDL to VNDK
Test: build
Bug: 198331182
Change-Id: I95d089fb23c4a3baa7f7a6c1435099f34a1af5a3
Merged-In: I95d089fb23c4a3baa7f7a6c1435099f34a1af5a3
2021-09-08 19:09:08 +00:00
Sarah Chin
59f77a7249 Add Radio AIDL to VNDK
Test: build
Bug: 198331182
Change-Id: I95d089fb23c4a3baa7f7a6c1435099f34a1af5a3
Merged-In: I95d089fb23c4a3baa7f7a6c1435099f34a1af5a3
2021-09-08 17:31:22 +00:00
Treehugger Robot
441a92cc5c Merge "Disable the delete_all_keys feature for GSI" am: 2215f2cbae
Original change: https://android-review.googlesource.com/c/platform/build/+/1821093

Change-Id: I091f21c0b238e772e53fca06fa41dc6d74c42e9a
2021-09-08 08:13:43 +00:00
Howard Chen
994e4a54f4 Disable the delete_all_keys feature for GSI
Bug: 197914756
Test: run GSI with DSU on a Pixel device

Change-Id: I78ee95f99764bee71bf3bcccb992ee35fa80603b
2021-09-08 13:18:10 +08:00
Linzhao Ye
ca4211dd02 Merge "Add Wifi HostApd AIDL interface support." am: cfa99e3596
Original change: https://android-review.googlesource.com/c/platform/build/+/1794735

Change-Id: Ie39b75d484698a4e402129204f18cf928c933924
2021-09-07 17:35:53 +00:00
Chris Ye
8d0fb2d4f5 Add Wifi HostApd AIDL interface support.
Test: Manual test.
Bug: 194806512

Change-Id: I11d9d559262178de66772df0d7f70c084a397a4d
2021-08-14 05:17:51 +00:00
Treehugger Robot
ed35e2f153 Merge "Add servicedispatcher to PRODUCT_PACKAGES_DEBUG." am: 5a28a2af48 am: 9d15040d13
Original change: https://android-review.googlesource.com/c/platform/build/+/1727691

Change-Id: Ib1260dc4b90a17802f2c421cba5284e36bb545cf
2021-08-11 04:21:59 +00:00
Treehugger Robot
5a28a2af48 Merge "Add servicedispatcher to PRODUCT_PACKAGES_DEBUG." 2021-08-11 03:52:56 +00:00
Devarshi Bhatt
0834ae0821 Merge "Update language to comply with Android's inclusive language guidance" am: 4cc80241d3 am: 78e21c833f
Original change: https://android-review.googlesource.com/c/platform/build/+/1776205

Change-Id: Icbd56462efcb1354fd297987b6198d0eaa5321ba
2021-08-10 12:45:22 +00:00
Devarshi Bhatt
4cc80241d3 Merge "Update language to comply with Android's inclusive language guidance" 2021-08-10 12:20:30 +00:00
Kelvin Zhang
3500d1d14c Merge "Add a build prop for go/vabc-xor" am: f0d9c940e4 am: 30f7435240
Original change: https://android-review.googlesource.com/c/platform/build/+/1778325

Change-Id: I96b83d35b7a6892c757f68091e12b01d637fc430
2021-08-09 15:30:40 +00:00
Kelvin Zhang
bcda23488c Add a build prop for go/vabc-xor
Allow each lunch target to control if they want to use this new feature.

Test: th
Change-Id: I10219a916bca258e669de051262f9ebba8434803
2021-08-06 11:51:41 -04:00
Hajime Morrita
2ede665af0 Merge "Drop pinner.pin_camera=false from the default prop." 2021-08-05 15:59:22 +00:00
SzuWei Lin
211b689721 Merge "Always build modules in GSI from source" am: 32ccb49665 am: 744607679e
Original change: https://android-review.googlesource.com/c/platform/build/+/1787688

Change-Id: Ic9757343d652a8263cb8d71f9bdd8b41a55bae7a
2021-08-05 11:55:28 +00:00
SzuWei Lin
8c63356702 Always build modules in GSI from source
GSI includes both flattened and unflattened apex at the same time.
However, a flattend apex is not built if the module is built from
prebuilt binary. So, we enable 'MODULE_BUILD_FROM_SOURCE := true'
to force GSI built all modules from source.

Bug: 194917545
Test: build gsi_gms_arm64-user
Test: check com.google.android.art exists in /system/system_ext/apex/
Change-Id: I89eef3e8d06ec1f9d3245513c2dbbff0777e2c62
2021-08-05 08:51:54 +00:00
Hajime Morrita
1210b6efa8 Drop pinner.pin_camera=false from the default prop.
The pin_camera flag being false makes some in-market devices
(redfin, bramble, coral, etc.) not pin the camera app by default.
Although a Phenotype flag overrides this value,
the OTA flag delivery can fail and ends up non-ping state.

This change makes sure that the device pins the camera app by default
by removing pinner.pin_camera properties modification from this file.
The current default is to pin the camera. See PinnerServices.java

Note that the camera pinning is still disabled on crosshatch family,
sicne it is known to be prone to the memory shortage.
See device-crosshatch.mk.

Also note that some newer devices already pin by default because
they don't refer this file, although the name implies it might.

Test: On Redfin:
  $ vendor/google/tools/flashall -w
  $ adb root && adb wait-for-device && adb shell am start -a com.android.setupwizard.FOUR_CORNER_EXIT
  $ adb shell dumpsys pinner
Bug: 195035033
Bug: 184897981
Merged-In: I81207d0527f758d4800319a3a3c323919daaf814
Change-Id: I81207d0527f758d4800319a3a3c323919daaf814
2021-08-04 12:06:50 -07:00
Hajime Morrita
3f152cd5a7 Merge "Drop pinner.pin_camera=false from the default prop." into sc-dev am: 44c73a61d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15422361

Change-Id: I48d9842a444cc3609237e88266596ad1b927600c
2021-08-04 18:51:23 +00:00
Hajime Morrita
44c73a61d1 Merge "Drop pinner.pin_camera=false from the default prop." into sc-dev 2021-08-04 18:11:14 +00:00
SzuWei Lin
b8f532635d Merge "Move init.vndk-*.rc to system_ext/etc/gsi" am: 67155335e1 am: 22a5147f63
Original change: https://android-review.googlesource.com/c/platform/build/+/1782514

Change-Id: Ie6d3035b54d52116c65cde0923c75108e07fcf2a
2021-07-30 14:33:11 +00:00
SzuWei Lin
67155335e1 Merge "Move init.vndk-*.rc to system_ext/etc/gsi" 2021-07-30 13:57:06 +00:00
Mathew Inwood
65e6a0d3f9 Add libincident. am: e24af74376
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15411834

Change-Id: I43a5b3ba570bd32049b2e15e67e9ead0846843ba
2021-07-30 10:42:59 +00:00
SzuWei Lin
f36ea80ea3 Move init.vndk-*.rc to system_ext/etc/gsi
Orgianlly, init.vndk-*.rc are placed under system_ext/etc/init.
`init` always run all thse .rc files. The patch move these .rc
files to system_ext/etc/gsi to avoid the problem.

Bug: 185457479
Test: build gsi_arm64-userdebug; check the files under system_ext/
Change-Id: Iee67d6e2e872cf3cb1dd1014925ed0249c1e7e2d
2021-07-30 17:33:50 +08:00
Hajime Morrita
ea331d6bcc Drop pinner.pin_camera=false from the default prop.
The pin_camera flag being false makes some in-market devices
(redfin, bramble, coral, etc.) not pin the camera app by default.
Although a Phenotype flag overrides this value,
the OTA flag delivery can fail and ends up non-ping state.

This change makes sure that the device pins the camera app by default
by removing pinner.pin_camera properties modification from this file.
The current default is to pin the camera. See PinnerServices.java

Note that the camera pinning is still disabled on crosshatch family,
sicne it is known to be prone to the memory shortage.
See device-crosshatch.mk.

Also note that some newer devices already pin by default because
they don't refer this file, although the name implies it might.

Test: On Redfin:
  $ vendor/google/tools/flashall -w
  $ adb root && adb wait-for-device && adb shell am start -a com.android.setupwizard.FOUR_CORNER_EXIT
  $ adb shell dumpsys pinner
Bug: 195035033
Bug: 184897981
Change-Id: I81207d0527f758d4800319a3a3c323919daaf814
2021-07-29 15:46:27 -07:00
Mathew Inwood
e24af74376 Add libincident.
This library is required by the StatsD apex and including it here ensures
it's always available for use by the apex.

Bug: 192556458
Bug: 160662406
Test: TH
Change-Id: Ia01964d471e4456c05c77c708dee2e71e0121587
2021-07-29 14:59:29 +00:00
satayev
a85d5225ee Rename PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS to PRODUCT_APEX_SYSTEM_SERVER_JARS.
Regardless of an "updatable" property, list all apex jars in the same
variable. This is less confusing for devs and matches the pattern with
PRODUCT_APEX_BOOT_JARS.

Bug: 191127295
Test: atest CtsClasspathsTestCases
Change-Id: I3b12f26237636f4271cb000480928b3ce1c2e62f
Merged-In: I3b12f26237636f4271cb000480928b3ce1c2e62f
2021-07-27 16:09:52 +00:00
satayev
fa21749ffd Rename PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS to PRODUCT_APEX_SYSTEM_SERVER_JARS.
Regardless of an "updatable" property, list all apex jars in the same
variable. This is less confusing for devs and matches the pattern with
PRODUCT_APEX_BOOT_JARS.

Bug: 191127295
Test: atest CtsClasspathsTestCases
Change-Id: I3b12f26237636f4271cb000480928b3ce1c2e62f
Merged-In: I3b12f26237636f4271cb000480928b3ce1c2e62f
2021-07-27 16:55:10 +01:00
Devarshi Bhatt
829778c435 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference


BUG=162536543

Change-Id: I898ab6d972e3dd3dce64cf5fdbb4a2698c2c29e3
2021-07-27 13:16:10 +00:00
Colin Cross
47d36a96ad Fix build
Test: m out/target/product/bramble/obj/PACKAGING/vndk_intermediates/check-list-timestamp
Merged-In: I5745e9deb6eb6786fe4084a5b8e92925b70a8551
Change-Id: I5745e9deb6eb6786fe4084a5b8e92925b70a8551
(cherry picked from commit 980089dab4)
(cherry picked from commit ee3ddc7159)
2021-07-26 11:25:24 +09:00
Jiyong Park
d502a48dc4 Reland: *-ndk.so libraries are added to the VNDK set.
We will replace the ndk_platform backend with the ndk backend. The
former hasn't been deleted yet because there already are references to
it. When the existing references are all replaced with the ndk backend,
we will remove the ndk_platform backend and the corresponding libraries
will be removed from this list.

Bug: 161456198
Test: m
Merged-In: I4c45fdfd64159370813c40c8fa5554744b630746
Change-Id: I4c45fdfd64159370813c40c8fa5554744b630746
(cherry picked from commit ebe0e06055)
2021-07-26 11:25:04 +09:00
Colin Cross
ee3ddc7159 Fix build
Test: m out/target/product/bramble/obj/PACKAGING/vndk_intermediates/check-list-timestamp
Merged-In: I5745e9deb6eb6786fe4084a5b8e92925b70a8551
Change-Id: I5745e9deb6eb6786fe4084a5b8e92925b70a8551
(cherry picked from commit 980089dab4)
2021-07-26 09:28:44 +09:00
Jiyong Park
fa50d58e0a Reland: *-ndk.so libraries are added to the VNDK set.
We will replace the ndk_platform backend with the ndk backend. The
former hasn't been deleted yet because there already are references to
it. When the existing references are all replaced with the ndk backend,
we will remove the ndk_platform backend and the corresponding libraries
will be removed from this list.

Bug: 161456198
Test: m
Merged-In: I4c45fdfd64159370813c40c8fa5554744b630746
Change-Id: I4c45fdfd64159370813c40c8fa5554744b630746
(cherry picked from commit ebe0e06055)
2021-07-26 09:28:31 +09:00
Kalesh Singh
ca472cdf6c Merge "vndk-list: Add android.system.suspend-V1-ndk_platform.so" am: d29f7d5466 am: 0af82868c6
Original change: https://android-review.googlesource.com/c/platform/build/+/1772438

Change-Id: I261deca8f5c67095aa74a95e28060b57d52af880
2021-07-23 21:25:40 +00:00
Kalesh Singh
d29f7d5466 Merge "vndk-list: Add android.system.suspend-V1-ndk_platform.so" 2021-07-23 17:16:28 +00:00
Bowgo Tsai
008599f7e9 Sets BOOT_SECURITY_PATCH for the generic boot.img
This is for GKI 1.0 devices to pass VtsHalKeymasterV4_0TargetTest.

For GKI 2.0 devices, they will use device-specific
BOOT_SECURITY_PATCH to sign a prebuilt GKI boot.img to
override this value.
See https://r.android.com//1711437 for details.

Bug: 192513934
Test: `lunch gsi_arm64-user` then `make bootimage`
Test: `avbtool info_image --image $OUT/boot-4.19-gz.img`, checks
      com.android.build.boot.security_patch exists
Change-Id: I3909cccd0eae7c142d3c01d0ecb2c249286b9ebe
Merged-In: I3909cccd0eae7c142d3c01d0ecb2c249286b9ebe
(cherry picked from commit 81a23fed56)
2021-07-23 11:48:26 +08:00