Commit Graph

7534 Commits

Author SHA1 Message Date
Treehugger Robot
ada4df3f1a Merge "Add fsverity test key" 2021-10-18 06:38:15 +00:00
Dan Willemsen
39b81cdc7a Remove old build-tools/platform-tools SDK implementation
Since those were the only components of the Windows SDK, this removes a
lot of special casing around that as well.

Bug: 187222815
Change-Id: I2690aadcf78e9ccad43314c8475893e81a2e2735
2021-10-15 14:22:07 -07:00
Inseob Kim
10255c8946 Add fsverity test key
Bug: 193113311
Test: N/A
Change-Id: I5ce7ff0872601520a8ed45bb143ff61b42ce43e0
2021-10-15 15:56:38 +09:00
Treehugger Robot
36987fa459 Merge "Revert "Set VNDK version to current for module builds"" 2021-10-14 17:26:27 +00:00
Jiyong Park
83ac8b7481 Revert "Set VNDK version to current for module builds"
This reverts commit af35677f03.

Bug: 185769808
Test: banchan com.android.media.swcodec module_arm64; m apps_only dist
Test: banchan com.android.media.swcodec aosp_arm64; m apps_only dist

In both cases, the built APEX doesn't have libsync.so in it.
apex_manifest.pb has libsync.so as requireNativeLibs.

Change-Id: I62397d50a6970a9316f0d6ddd36736f149bc7c2c
2021-10-12 13:45:50 +09:00
David Anderson
00addb0d28 Add f2fs.fsck to vendor_ramdisk.
Bug: 202462683
Test: f2fs.fsck is present in first_stage_ramdisk.
Change-Id: Ia4b76fc9ea25637d25e7171ee14278d2d80a2a33
2021-10-07 21:57:30 -07:00
Treehugger Robot
93152fc87a Merge "Revert "Stop building boot-debug-*.img for GKI"" am: 8681e5ac2a
Original change: https://android-review.googlesource.com/c/platform/build/+/1845113

Change-Id: Ie7f16d55760fe866c47aecb3994b77bf7cde60cd
2021-10-06 05:45:29 +00:00
Treehugger Robot
8681e5ac2a Merge "Revert "Stop building boot-debug-*.img for GKI"" 2021-10-06 05:29:21 +00:00
Yi-Yo Chiang
a62cc8a864 Revert "Stop building boot-debug-*.img for GKI"
This reverts commit f1679a0c1d.

Reason for revert: Unintentionally affects downstream, non-GSI-GKI products

Change-Id: Ic439ac586b9f27c7f83d0274f8ddfc6199cc05d5
2021-10-05 10:40:23 +00:00
Treehugger Robot
1508e90b94 Merge "Stop building boot-debug-*.img for GKI" am: 94ce4dbe2f
Original change: https://android-review.googlesource.com/c/platform/build/+/1839817

Change-Id: Id9f6eba26d02d1326fc6d8afbc318a76a0961a7b
2021-10-04 07:53:59 +00:00
Treehugger Robot
94ce4dbe2f Merge "Stop building boot-debug-*.img for GKI" 2021-10-04 07:36:38 +00:00
Howard Chen
8a59680b4f Merge "Make GSI target to export bootimage to DIST" am: c1b9c1d801
Original change: https://android-review.googlesource.com/c/platform/build/+/1839815

Change-Id: Ibac747f40c9a961fbe692f511b2edfef11f07247
2021-10-04 06:59:55 +00:00
Yi-Yo Chiang
f1679a0c1d Stop building boot-debug-*.img for GKI
GKI devices should be using vendor_boot-debug.img from their device
build instead.

Bug: 200945738
Test: Presubmit
Change-Id: I4ff19f8ccef9befc826c02a628cc15f5d2f68b10
2021-09-30 12:52:59 +00:00
Howard Chen
95339b0d91 Make GSI target to export bootimage to DIST
This is to support a bootimage only target in AB.

Bug: 198363484
Test: lunch aosp_arm64-userdebug; make bootimage dist

Change-Id: I9a32c365f635ec4693675a1969d7a1e684c8f55a
2021-09-30 07:10:05 +00:00
Adam Shih
869356db7f Merge "create a makefile that holds non AB device setting" am: 95e5729ee5
Original change: https://android-review.googlesource.com/c/platform/build/+/1774706

Change-Id: I3c94bb10b40a80d982dfceb0902f866d1ca24dea
2021-09-28 03:53:54 +00:00
Adam Shih
95e5729ee5 Merge "create a makefile that holds non AB device setting" 2021-09-28 03:36:43 +00:00
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
Adam Shih
d40d176dba create a makefile that holds non AB device setting
Bug: 189894781
Test: build ROM with the binary inside
Change-Id: I99f2b4d3bd57b57ffd3b5066b1306c6fa17c2c85
2021-09-24 10:48:21 +08: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