Commit graph

5277 commits

Author SHA1 Message Date
Devin Moore
757b419fde Merge "Update vndk list for android.hardware.common.fmq" am: 761f5fe164 am: 2b37bd991e
Original change: https://android-review.googlesource.com/c/platform/build/+/1456139

Change-Id: If9160f3843c72e096cb1bf2113c397982c2a5321
2020-10-13 15:21:51 +00:00
Martin Stjernholm
1cced44791 Rename com.android.art module.
Paving the way for renaming the ART release APEX to com.android.art.

Test: m
Bug: 169639321
Change-Id: I55af4b3dcba48757e7fb65d5d4bc7517c91ae80f
2020-10-13 14:37:19 +01:00
Devin Moore
68a3cef45e Update vndk list for android.hardware.common.fmq
Change created with update-vndk-list.sh for the new package.

Test: m
Bug: 142326204
Change-Id: Iecd2ad2fc2f00c0214dc3ad4bf60661b492c5e4f
2020-10-09 13:48:01 -07:00
Treehugger Robot
989f8cb0ae Merge "Include selinux_policy_* for product and system_ext." am: 09da8b1ba1 am: 7917ae1355 am: b6e3ccfd59
Original change: https://android-review.googlesource.com/c/platform/build/+/1452335

Change-Id: I76a17d772535d26f17c3a47d06d380cfe0bae6c7
2020-10-08 01:46:21 +00:00
Treehugger Robot
b6e3ccfd59 Merge "Include selinux_policy_* for product and system_ext." am: 09da8b1ba1 am: 7917ae1355
Original change: https://android-review.googlesource.com/c/platform/build/+/1452335

Change-Id: Ib072d4f98c487951313b2b0ee55b60e7e1ae182d
2020-10-08 01:29:24 +00:00
Treehugger Robot
09da8b1ba1 Merge "Include selinux_policy_* for product and system_ext." 2020-10-08 00:49:44 +00:00
Treehugger Robot
74e7ad76c2 Merge "Add android.system.keystore2-V1-ndk_platform.so to gsi/current.txt" am: c50ba5554a am: d9bf9e3e2c am: 31c473d748
Original change: https://android-review.googlesource.com/c/platform/build/+/1425158

Change-Id: I86840d22fd9a240757e0c8f03663e96e26f0f7ed
2020-10-07 21:46:02 +00:00
Treehugger Robot
31c473d748 Merge "Add android.system.keystore2-V1-ndk_platform.so to gsi/current.txt" am: c50ba5554a am: d9bf9e3e2c
Original change: https://android-review.googlesource.com/c/platform/build/+/1425158

Change-Id: Ieccf9cde1955beca632407f99e615a97334da36e
2020-10-07 21:31:50 +00:00
Treehugger Robot
c50ba5554a Merge "Add android.system.keystore2-V1-ndk_platform.so to gsi/current.txt" 2020-10-07 20:45:52 +00:00
Justin Yun
599330f865 Include selinux_policy_* for product and system_ext.
After separating selinux_policy_system_ext and selinux_policy_product
from the selinux_policy_nonsystem module, add them to
base_system_ext.mk and base_product.mk, respectively.

Bug: 170282998
Test: build and check boot
Change-Id: I03a4ae435898dd773f418d37f321ad0a37f17c3e
2020-10-07 18:16:45 +09:00
Colin Cross
988ca5f04e Merge "Manually install hwasan runtime on SANITIZE_TARGET=hwaddress builds" am: 3ed9b8b7f9 am: 9d560baab5 am: 2afae90d46 am: 5ff38b8498
Original change: https://android-review.googlesource.com/c/platform/build/+/1437493

Change-Id: I61af4fa7d12de65ad1f8fa056a297f40b61b63ff
2020-10-02 02:41:11 +00:00
Colin Cross
2afae90d46 Merge "Manually install hwasan runtime on SANITIZE_TARGET=hwaddress builds" am: 3ed9b8b7f9 am: 9d560baab5
Original change: https://android-review.googlesource.com/c/platform/build/+/1437493

Change-Id: I9d408d5e0b04788f05663d86aa11e1f8c5c844a4
2020-10-02 01:52:47 +00:00
Colin Cross
3ed9b8b7f9 Merge "Manually install hwasan runtime on SANITIZE_TARGET=hwaddress builds" 2020-10-02 01:06:10 +00:00
Mathieu Chartier
802767b583 Merge "Do not set ro.iorapd.enable=true" am: 62ae5b55fe am: f96088c1da am: 49f48872ff am: b6d672978c
Original change: https://android-review.googlesource.com/c/platform/build/+/1440211

Change-Id: I6b7c729635db5be80a3651d0d82939d46b697b6c
2020-09-30 23:31:26 +00:00
Mathieu Chartier
49f48872ff Merge "Do not set ro.iorapd.enable=true" am: 62ae5b55fe am: f96088c1da
Original change: https://android-review.googlesource.com/c/platform/build/+/1440211

Change-Id: Ia800db8a9383727205e4f533911e7649fb158118
2020-09-30 22:32:15 +00:00
Janis Danisevskis
3cc7647af1 Add android.system.keystore2-V1-ndk_platform.so to gsi/current.txt
Change-Id: Icd9644e468a29d5ca47291faaaa9f5ca3fc4902c
2020-09-29 07:09:45 -07:00
Wang Han
4a4a4df0af Do not set ro.iorapd.enable=true
* This is true by default, this is redundant.

Change-Id: I936d701c8b644ea4667bf855a71448c8d7a1448a
2020-09-27 13:11:18 +00:00
Colin Cross
eb013b236e Manually install hwasan runtime on SANITIZE_TARGET=hwaddress builds
Due to bugs in Soong around prebuilt libraries with stubs versions,
the hwasan runtime was installed into /system/lib64/bootstrap, but the
module was not given a ".bootstrap" suffix.  Once the bugs are fixed,
the hwasan runtime is no longer installed because the dependencies
on "libclang_rt.hwasan-aarch64-android" are now on an uninstallable
stubs library.  Add libclang_rt.hwasan-aarch64-android.bootstrap
to PRODUCT_PACKAGES when SANITIZE_TARGET=hwaddress is set.

Test: m checkbuild
Change-Id: I732d37505274c7bf804396921202f2bcca4484ec
2020-09-24 12:47:50 -07:00
David Anderson
4b51c8cb06 Merge "Add virtual A/B compression product." am: 1fdef5f75a am: e5d2e92c5b am: ab87f94acb am: ad4a29aff5
Original change: https://android-review.googlesource.com/c/platform/build/+/1426180

Change-Id: I05a3f290f6147a99b2bb4752066230290edc7a8f
2020-09-24 00:39:09 +00:00
David Anderson
ab87f94acb Merge "Add virtual A/B compression product." am: 1fdef5f75a am: e5d2e92c5b
Original change: https://android-review.googlesource.com/c/platform/build/+/1426180

Change-Id: I2d34d2c8c5ad9b61e0497de0e6c675f81ebfd307
2020-09-23 23:30:22 +00:00
David Anderson
1fdef5f75a Merge "Add virtual A/B compression product." 2020-09-23 22:19:15 +00:00
Anton Hansson
3fc285a21a Merge "Remove SafetyRegulatoryInfo from generic system" 2020-09-22 08:52:22 +00:00
Wilson Sung
45f7514a42 Cleanup legacy project code am: b251795103
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12524922

Change-Id: I7cc8cebfbe90b7cedc7b03d5127c2f20e07b0194
2020-09-22 08:25:06 +00:00
Anton Hansson
863a944b5f Merge "Remove SafetyRegulatoryInfo from generic system" into rvc-dev-plus-aosp am: 0721499720 am: 532f6e453e
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12628152

Change-Id: I6fca40dc6e325cf8a756e277f0fea35b432c8288
2020-09-22 08:23:39 +00:00
Yanting Yang
e109340cfa Remove SafetyRegulatoryInfo from generic system
SafetyRegulatoryInfo should not exist in AOSP.

Fixes: 166139891
Test: make && flash to verify regulatory option of Settings
Merged-In: I5fbef719ba30cdbf37e0d4c6daa06a50c06e9495
Change-Id: I5fbef719ba30cdbf37e0d4c6daa06a50c06e9495
2020-09-22 08:34:52 +01:00
Anton Hansson
0721499720 Merge "Remove SafetyRegulatoryInfo from generic system" into rvc-dev-plus-aosp 2020-09-22 07:34:24 +00:00
Wilson Sung
b251795103 Cleanup legacy project code
Bug: 155898698
Change-Id: Ie9c417893b988718019d7efa3461aeb431319443
Signed-off-by: Wilson Sung <wilsonsung@google.com>
2020-09-22 07:30:45 +00:00
Treehugger Robot
48af4f6529 Merge "Add an aosp target that supports 64-bit app only" am: f5941dae52 am: 9ad9398223
Original change: https://android-review.googlesource.com/c/platform/build/+/1430099

Change-Id: I25160e7bb6fe65e2cd674bfe2304679abd3f39bc
2020-09-21 18:21:42 +00:00
Tim Van Patten
1c18908d4f Merge "Add ANGLE.apk to the base system" am: 54f87c12e9 am: 9c5f12cab9 am: ca3069049b am: 0f6c3bfdfd
Original change: https://android-review.googlesource.com/c/platform/build/+/1431045

Change-Id: I6e88d98dcad291f632b60d995aad96cd3de13c60
2020-09-21 18:20:16 +00:00
Treehugger Robot
f5941dae52 Merge "Add an aosp target that supports 64-bit app only" 2020-09-21 17:48:36 +00:00
Sam Lin
7c9f562d00 Add an aosp target that supports 64-bit app only
Bug: 168796046
Test: N/A
Change-Id: I57116fe67cbe1322f348c9d0506655f32a900dcc
Merged-In: I57116fe67cbe1322f348c9d0506655f32a900dcc
2020-09-21 17:44:46 +00:00
Tim Van Patten
ca3069049b Merge "Add ANGLE.apk to the base system" am: 54f87c12e9 am: 9c5f12cab9
Original change: https://android-review.googlesource.com/c/platform/build/+/1431045

Change-Id: I2a9030ee1014488f8dc6b3c8c52664118c3b7d0b
2020-09-21 17:21:13 +00:00
Tim Van Patten
fad0ce8296 Add ANGLE.apk to the base system
This CL re-enables building ANGLE as parta of the base system. This was
done up until the recent merge of goog/master to aosp/master, and is
required as part of enabling ANGLE as the default OpenGL ES driver for
Cuttlefish.

Bug: b/168625635
Test: atest CtsAngleIntegrationHostTestCases
Change-Id: I12c8db290ed7dc6b213b6f1c22692666dcdf143f
Merged-In: Ide4e3d8f78d3748d557a47ecd153d66694fd1e3a
2020-09-18 11:32:01 -06:00
Yanting Yang
88156d11d9 Remove SafetyRegulatoryInfo from generic system
SafetyRegulatoryInfo should not exist in AOSP.

Fixes: 166139891
Test: make && flash to verify regulatory option of Settings
Merged-In: I5fbef719ba30cdbf37e0d4c6daa06a50c06e9495
Change-Id: I5fbef719ba30cdbf37e0d4c6daa06a50c06e9495
2020-09-18 06:57:15 +00:00
David Anderson
e5c8867691 Add virtual A/B compression product.
Sets ro.virtual_ab.compression.enabled and includes snapuserd_ramdisk.

A device will do the following to enable virtual a/b compression:

$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota_compression.mk)

Bug: 168257347
Test: build with product included
Change-Id: Ide19576a69629389a7878d5dff3c5706c22527d9
2020-09-17 12:15:19 -07:00
Calvin Huang
d05c58cf12 Merge "Add an aosp target that supports 64-bit app only" into rvc-qpr-dev am: 0605e11f99
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12503225

Change-Id: I8594b3044d28b6469172e1dd33852cf5add8f955
2020-09-17 19:08:42 +00:00
Sam Lin
d001fb334d Add an aosp target that supports 64-bit app only
Bug: 164166032
Test: N/A
Change-Id: I57116fe67cbe1322f348c9d0506655f32a900dcc
2020-09-16 17:15:10 -07:00
Treehugger Robot
3f2eab4fb2 Merge "llkd: moved from optional to required component" am: e1239cd1ad am: ab45f8b97c am: aa71197643 am: 07dc604680
Original change: https://android-review.googlesource.com/c/platform/build/+/1421668

Change-Id: I1b18b3ccb35cf4e0fe0a633bd5272bac8b0e5efe
2020-09-08 19:56:23 +00:00
Treehugger Robot
aa71197643 Merge "llkd: moved from optional to required component" am: e1239cd1ad am: ab45f8b97c
Original change: https://android-review.googlesource.com/c/platform/build/+/1421668

Change-Id: I91ec0f43d6fc5345477ae37945c363d5659e46f1
2020-09-08 19:27:24 +00:00
Treehugger Robot
ab45f8b97c Merge "llkd: moved from optional to required component" am: e1239cd1ad
Original change: https://android-review.googlesource.com/c/platform/build/+/1421668

Change-Id: I9c651d8a902c5fe7fc77a7ae0d2ef73593eebc1a
2020-09-08 18:58:12 +00:00
Mark Salyzyn
fbb45227c0 llkd: moved from optional to required component
The Live Lock Killer Daemon (llkd) has provided enough hero moments to
improve system stability, by providing actionable collection of data
to resolve kernel, and some user space, misbehaviors.  It is time to
move llkd to a required component.

NB: For llkd to be effective at finding real kernel live lock
conditions, system requirements are that there are no more un-waited
for Zombie processes, and that no kernel drivers use indeterminate
periods of uninterruptible sleep.  Any kernel and user space tasks
that are killed because of suspicious behavior, must themselves have
a benefactor to restart them if necessary.  If a true live lock is
discovered, data will be collected and the kernel will be panic'd to
recover from the situation.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 164946924
Test: llkd is ever present on a release build.
Change-Id: I986a8545252bc5b68d09a6a0f4f506a58998c8a0
2020-09-08 07:58:16 -07:00
Tim Van Patten
7cd1fdbfbb Merge "Indicate ANGLE is present on devices" am: 27ca29a3c7 am: 288133d95d am: 29a62efb80 am: 9a31e9eff9
Original change: https://android-review.googlesource.com/c/platform/build/+/1395711

Change-Id: I6840a88336ba4719dd9b5b62b51beb3514bac21d
2020-09-02 17:57:33 +00:00
Tim Van Patten
29a62efb80 Merge "Indicate ANGLE is present on devices" am: 27ca29a3c7 am: 288133d95d
Original change: https://android-review.googlesource.com/c/platform/build/+/1395711

Change-Id: I18496607c8a94b818cb83a63694fd384a18d48a3
2020-09-02 16:35:04 +00:00
Tim Van Patten
288133d95d Merge "Indicate ANGLE is present on devices" am: 27ca29a3c7
Original change: https://android-review.googlesource.com/c/platform/build/+/1395711

Change-Id: I6f4e173192db664d5d1462179b5b44b821596674
2020-09-02 15:55:50 +00:00
Emilian Peev
208bbdd21b Cherry-pick spirit of 23abbfeb4b
(Revert "Add libdepthphoto to mainline_system")

Bug: 167450283
Fixed: 167450283
Merged-In: Id2013f80dbc962f70ccb1b687c0dc18fef372348
Change-Id: Id2013f80dbc962f70ccb1b687c0dc18fef372348
2020-09-01 23:25:07 +00:00
Tim Van Patten
d38244210f Indicate ANGLE is present on devices
The system property ro.gfx.angle.supported needs to be enabled when
ANGLE is included in a build to indicate to the platform and CTS tests
that ANGLE is present on the device.

Test: atest CtsAngleIntegrationHostTestCases
Bug: 157670307
Merged-in: Ide4e3d8f78d3748d557a47ecd153d66694fd1e3a
Change-Id: I72ba8731fed36dbc594dae88aaa00a6299e8f4ae
2020-09-01 13:26:18 -06:00
Xin Li
c2fd58fe67 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: Ie00dbea32e074838466eeed00f316250c2b4f3c2
Change-Id: I9ee3441fd4d063b9dd489cb1b01d3dbc11332457
2020-08-29 01:19:44 -07:00
Steven Moreland
3e27237e5e Merge "vndservice removed if w/o vndservicemanager" am: 0113aa2070 am: 9d0f80aa9f am: 6c8f9f6830 am: 0a6c654d9f
Original change: https://android-review.googlesource.com/c/platform/build/+/1402963

Change-Id: Iedb083c5df58dbf2279a4dcb6fba055918a24e17
2020-08-18 20:57:30 +00:00
Steven Moreland
6c8f9f6830 Merge "vndservice removed if w/o vndservicemanager" am: 0113aa2070 am: 9d0f80aa9f
Original change: https://android-review.googlesource.com/c/platform/build/+/1402963

Change-Id: I7835e20a072fa60b03fffe3f08097d81adaffd1b
2020-08-18 20:28:45 +00:00
Steven Moreland
0113aa2070 Merge "vndservice removed if w/o vndservicemanager" 2020-08-18 20:06:46 +00:00
Steven Moreland
152a619d34 vndservice removed if w/o vndservicemanager
This binary is for talking to vendor services, and it'll hang if
vndservicemanager is not available. On devices where it isn't supported,
just remove it.

Fixes: 165043609
Test: N/A
Change-Id: I908c8771c37deb79cf36efb10e66b7fff7adcedf
2020-08-17 23:59:58 +00:00
Treehugger Robot
a0431fa84b Merge "Enable configurable audio policy on generic_system" am: baade4a3c4 am: e60f9825b9 am: 4c9cacaa40 am: 5e6b018298
Original change: https://android-review.googlesource.com/c/platform/build/+/1395771

Change-Id: I80d1040f0ac89869e9d26480b4abb234586fbcba
2020-08-17 09:38:46 +00:00
Treehugger Robot
4c9cacaa40 Merge "Enable configurable audio policy on generic_system" am: baade4a3c4 am: e60f9825b9
Original change: https://android-review.googlesource.com/c/platform/build/+/1395771

Change-Id: I48da940076b5e09aba74045458d914ab7d43cb0c
2020-08-17 09:15:41 +00:00
Hongguang Chen
370a65b4c3 Enable configurable audio policy on generic_system
BUG: 132639720
BUG: 163379087
Test: make aosp_arm64 and check artifacts.
Change-Id: Ide4dc68d5770854daa3acdff5dda78dfa4a941bc
Merged-In: Ide4dc68d5770854daa3acdff5dda78dfa4a941bc
2020-08-14 09:23:56 -07:00
JaeMan Park
a5bae4c780 Merge "Rename mainline_system(.*).mk to generic_system(.*).mk" into rvc-dev-plus-aosp am: 147c895039 am: c75de1fd2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12344111

Change-Id: I420f5d490d80504b368f981ca2a021cf6d1d1eb2
2020-08-14 02:02:39 +00:00
JaeMan
20cdc90938 Rename mainline_system(.*).mk to generic_system(.*).mk
Rename mainline_system to generic_system in mk files
to avoid confusion with mainline module.

First, move mainline_system(.*).mk to generic_system(.*).mk
and make previous mainline_system(.*).mk to just inherit
generic_system(.*).mk to make alias except mainline_system.mk.
is just symlink to generic_system.mk.

These aliasing file will be kept remain during migration
for preventing build breakage and making changes possible
during migration.

Bug: 160649682
Test: lunch generic_system_arm64 && m nothing
Test: lunch generic_system_x86 && m nothing
Test: lunch generic_system_x86_64 && m nothing
Test: lunch generic_system_x86_arm && m nothing
Test: lunch mainline_system_arm64 && m nothing
Test: lunch mainline_system_x86 && m nothing
Test: lunch mainline_system_x86_64 && m nothing
Test: lunch mainline_system_x86_arm && m nothing
Change-Id: I3609ec2d91b0f08859a36cac75c25876b1db6d6a
Merged-In: I3609ec2d91b0f08859a36cac75c25876b1db6d6a
(cherry picked from commit 6f16b5764b)
2020-08-13 07:39:30 +00:00
JaeMan
0116b6cb0e Rename mainline_system(.*).mk to generic_system(.*).mk
Rename mainline_system to generic_system in mk files
to avoid confusion with mainline module.

First, move mainline_system(.*).mk to generic_system(.*).mk
and make previous mainline_system(.*).mk to just inherit
generic_system(.*).mk to make alias except mainline_system.mk.
is just symlink to generic_system.mk.

These aliasing file will be kept remain during migration
for preventing build breakage and making changes possible
during migration.

Bug: 160649682
Test: lunch generic_system_arm64 && m nothing
Test: lunch generic_system_x86 && m nothing
Test: lunch generic_system_x86_64 && m nothing
Test: lunch generic_system_x86_arm && m nothing
Test: lunch mainline_system_arm64 && m nothing
Test: lunch mainline_system_x86 && m nothing
Test: lunch mainline_system_x86_64 && m nothing
Test: lunch mainline_system_x86_arm && m nothing
Change-Id: I3609ec2d91b0f08859a36cac75c25876b1db6d6a
Merged-In: I3609ec2d91b0f08859a36cac75c25876b1db6d6a
(cherry picked from commit 6f16b5764b)
2020-08-13 05:04:46 +00:00
Dan Willemsen
c9fbe64e90 Merge "Remove obsolete PDK build functionality" into rvc-dev-plus-aosp am: 3d3cd8a6df am: c17252f300
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12347726

Change-Id: I6ec7720b0224b55a8b32f2d73e1ed66b75b3ab81
2020-08-11 06:47:17 +00:00
Dan Willemsen
a3f6632de9 Remove obsolete PDK build functionality
This hasn't worked for a couple years, and continues to bitrot. Just
remove it.

Test: treehugger
Change-Id: Iea6caf3c08252a560155e095135c5ddaad712991
Merged-In: Iea6caf3c08252a560155e095135c5ddaad712991
2020-08-11 01:12:01 +00:00
Dan Willemsen
110a51cbde Remove obsolete PDK build functionality
This hasn't worked for a couple years, and continues to bitrot. Just
remove it.

Test: treehugger
Change-Id: Iea6caf3c08252a560155e095135c5ddaad712991
2020-08-10 18:08:54 -07:00
Treehugger Robot
9027dff781 Merge "Deprecate VNDK-lite support from Legacy GSI" am: c45c04e38e am: 1e220966a7 am: e904d0e193 am: 35d3e751fd
Original change: https://android-review.googlesource.com/c/platform/build/+/1382483

Change-Id: Iac65b1f69dc99f5fbce8747fb2f86e0cbf7ff83d
2020-08-06 20:16:10 +00:00
Treehugger Robot
e904d0e193 Merge "Deprecate VNDK-lite support from Legacy GSI" am: c45c04e38e am: 1e220966a7
Original change: https://android-review.googlesource.com/c/platform/build/+/1382483

Change-Id: I71b572821a1f9c57c485fed9f95ddf1d45a54fd1
2020-08-06 19:36:03 +00:00
Treehugger Robot
c45c04e38e Merge "Deprecate VNDK-lite support from Legacy GSI" 2020-08-06 18:53:55 +00:00
SzuWei Lin
a42efe57a3 Deprecate VNDK-lite support from Legacy GSI
The VNDK-lite is deprecated from S. Which is used to support the
devices without enabling VNDK.

The patch removes VNDK-lite from Legacy GSI. Also, reboot the
device without enabling VNDK in both non-Legacy and Legacy GSI.

Bug: 158719241
Test: boot aosp_arm64-userdebug on a Pixel 3 device
Test: boot aosp_arm64_ab-userdebug on a Pixel 2 device
Change-Id: I70a944bb5a2a0347ab753d29eca3d1bfcae54526
2020-08-06 14:04:06 +08:00
Selene Huang
1d015a5d35 Make related stuff for Keymint V1.
Test: not tested

Change-Id: Icfd129fc2df902115c2d13ada91a8e005527fcf0
2020-08-05 02:28:34 -07:00
Roshan Pius
dfbf38599c Revert "Revert "product: Remove wifi-service off SystemServerCla..." am: 48825727f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12282976

Change-Id: Icf14b0d6862a0572f67a547faf1760a2d891a439
2020-08-04 00:45:39 +00:00
Roshan Pius
48825727f6 Revert "Revert "product: Remove wifi-service off SystemServerCla..."
Revert submission 10144846-revert-10103769-load_wifi_service_dynamically-XZNQJHXURR

Reason for revert: Changes in build system to store uncompressed and aligned DEX files for java libs in APEXes.

Reverted Changes:
Icc0b680c2: Revert "SystemServer: Dynamically load wifi-servic...
I83a2f93e3: Revert "product: Remove wifi-service off SystemSer...

Bug: 148099857
Bug: 162371380
Bug: 162746981
Test: build
Change-Id: Ia40bc9dec81347e205e5ff81d7b9045655fbe13a
2020-08-03 17:27:21 +00:00
Orion Hodson
b1cb2ceaec Merge "Update ART people in OWNERS" am: 1e78685543 am: 9e635161cb
Original change: https://android-review.googlesource.com/c/platform/build/+/1376377

Change-Id: Ia458c55ca6a9c0a43d0c0778b23df924e7e99f7d
2020-08-03 09:04:24 +00:00
Orion Hodson
4202696f12 Update ART people in OWNERS
Test: build/make/tools/checkowners.py -c -v build/make/target/product/OWNERS
Change-Id: Ie658227a8dd1230cf289655d1b6d642abea06787
2020-07-29 15:45:28 +01:00
Devin Moore
e5f33227a8 Merge "Add android.hardware.common and android.hardware.graphics.common" 2020-07-20 23:25:26 +00:00
Yifan Hong
76a337f65e Add odm_dlkm partition. am: f496f1b94f am: 4f2ea25d5f
Original change: https://android-review.googlesource.com/c/platform/build/+/1363859

Change-Id: I4aaa3967e889923f0958afaa3227474176e36ea9
2020-07-17 22:52:14 +00:00
Yifan Hong
f496f1b94f Add odm_dlkm partition.
Test: define odm_dlkm in CF.
Bug: 156020364
Change-Id: I5593d09a1cdf13e651a13e951336555a7475865e
2020-07-16 12:34:29 -07:00
Devin Moore
e46fd2d83d Add android.hardware.common and android.hardware.graphics.common
Added by calling update-vndk-list.sh

Test: Builds
Change-Id: I04f4ac48e9383faebed89a673dd4856d07dd5256
2020-07-15 15:46:17 -07:00
Hung-ying Tyan
9ca864f88a Merge "Enable vbmeta_system for GSI targets" am: 6fa0dd9b94 am: 38267e1455
Original change: https://android-review.googlesource.com/c/platform/build/+/1359124

Change-Id: I85ad96c79f7d04c00a3aaee2fdbca7ddec709dad
2020-07-15 07:05:59 +00:00
Hung-ying Tyan
6fa0dd9b94 Merge "Enable vbmeta_system for GSI targets" 2020-07-15 06:34:34 +00:00
Yifan Hong
9fce02b625 Add vendor_dlkm partition. am: cfb917a1c7 am: 58af66905e
Original change: https://android-review.googlesource.com/c/platform/build/+/1316438

Change-Id: I84a4ffc60242ba92ade09dba87ba53a15394fe9f
2020-07-14 19:47:16 +00:00
Hung-ying Tyan
1785816ca1 Enable vbmeta_system for GSI targets
in order to mix GSI onto android10 Cuttlefish.

Bug: 158302764
Test: mixing GSI onto android10 Cuttlefish
Change-Id: I77385495583034324f5e29bed27c588dc98215e2
2020-07-14 16:04:20 +00:00
Yifan Hong
cfb917a1c7 Add vendor_dlkm partition.
Test: define vendor_dlkm for CF.
Bug: 156020364

Change-Id: I459059e1c20df7a285a377b8b3bbc8decc60b124
2020-07-13 14:20:56 -07:00
Jooyung Han
861f077f09 Remove hidl VNDK libs
hidl libs are removed from VNDK unless used by other VNDK libs.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: I25a787defb1755107c0538eabd21a0bfcf8374b1
Change-Id: I25a787defb1755107c0538eabd21a0bfcf8374b1
(cherry picked from commit 9438fb2c15)
2020-07-07 16:20:41 +09:00
Jooyung Han
586930f6c1 Merge "Remove hidl VNDK libs" into rvc-dev-plus-aosp 2020-07-06 21:16:10 +00:00
Anton Hansson
da72204d91 Remove vendor/... path checks DO NOT MERGE am: e6c24147f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12050570

Change-Id: I5c4e882eba712f31e445bee5c8044a10f791d67a
2020-07-02 09:32:23 +00:00
Jooyung Han
37aeef03d4 Remove hidl VNDK libs
hidl libs are removed from VNDK unless used by other VNDK libs.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: I25a787defb1755107c0538eabd21a0bfcf8374b1
Change-Id: I25a787defb1755107c0538eabd21a0bfcf8374b1
(cherry picked from commit 9438fb2c15)
2020-07-02 12:48:14 +09:00
Anton Hansson
e6c24147f0 Remove vendor/... path checks DO NOT MERGE
The vendor path check is incompatible with the current setup of prebuilt
module stubs.

Bug: 160165426
Test: lunch mainline_system_x86 ; m nothing
Change-Id: I5aa809dc3e0c9b36e6963585bb60fd446a234022
2020-07-01 15:27:37 +01:00
Jiyong Park
85471ed82e pm.dexopt.* props in runtime_libart.mk becomes optional
The mk file is designed to provide safe default values which can be
overridden by target-specific mk files. Previously it was difficult to
correctly configure the mk files because the final prop value that
is baked in the system/build.prop is highly dependent (and sensitive as
well) to the mk file inheritance order which is very difficult (and
non-intuitive) to follow.

I9c073a21c8257987cf2378012cadaeeeb698a4fb is an attempt to make it much
easier and intuitive. Specifically, the new `a ?= b` syntax makes the
assignment optional, which means it is used only when there is no
non-optional assignment for the same prop regardless of the relative
ordering among them. In addition, the change prohibits having multiple
non-optional prop assignments for the same prop name.

pm.dex.* prop in runtime_libart.mk are now set using the `a ?= b` syntax
to explicitly mark that they provide default values.

Bug: 117892318
Bug: 158735147
Test: m

Exempt-From-Owner-Approval: cherry-pick from master

Merged-In: I044486d313d699607cd54222ae34d9eae24762b9
(cherry picked from commit bca4ea477a)
Change-Id: I044486d313d699607cd54222ae34d9eae24762b9
2020-06-30 18:44:30 +09:00
Jiyong Park
19746f4686 Some properties are set as optional
Some properties that are designed to provide a safe default value are
explicitly set as optional using the 'a ?= b' syntax.

Bug: 117892318
Bug: 158735147
Test: m

Exempt-From-Owner-Approval: cherry-pick from master

Merged-In: Ie6a50ab7e0bcb210e282bc18e8c1daf412903f90
(cherry picked from commit dfb3937ce4)
Change-Id: Ie6a50ab7e0bcb210e282bc18e8c1daf412903f90
2020-06-30 18:44:24 +09:00
Jiyong Park
8d521ec2c8 ro.zygote in base_system.mk is optional
The setting of ro.zygote in base_system.mk is optional, which means the
value can be overriden by other (probably more specific) mk files.

Bug: 117892318
Bug: 158735147
Test: atest --host post_process_prop_unittest

Exempt-From-Owner-Approval: cherry-pick from master

Merged-In: Ia7a67c0a04fad343d6591417f40dd4b9ddadc5e4
(cherry picked from commit b1261aac33)
Change-Id: Ia7a67c0a04fad343d6591417f40dd4b9ddadc5e4
2020-06-30 18:44:17 +09:00
Jiyong Park
8af29d4ec0 pm.dexopt.* props in runtime_libart.mk becomes optional
The mk file is designed to provide safe default values which can be
overridden by target-specific mk files. Previously it was difficult to
correctly configure the mk files because the final prop value that
is baked in the system/build.prop is highly dependent (and sensitive as
well) to the mk file inheritance order which is very difficult (and
non-intuitive) to follow.

I9c073a21c8257987cf2378012cadaeeeb698a4fb is an attempt to make it much
easier and intuitive. Specifically, the new `a ?= b` syntax makes the
assignment optional, which means it is used only when there is no
non-optional assignment for the same prop regardless of the relative
ordering among them. In addition, the change prohibits having multiple
non-optional prop assignments for the same prop name.

pm.dex.* prop in runtime_libart.mk are now set using the `a ?= b` syntax
to explicitly mark that they provide default values.

Bug: 117892318
Bug: 158735147
Test: m

Exempt-From-Owner-Approval: cherry-pick from master

Merged-In: I044486d313d699607cd54222ae34d9eae24762b9
(cherry picked from commit bca4ea477a)
Change-Id: I044486d313d699607cd54222ae34d9eae24762b9
2020-06-30 14:28:25 +09:00
Jiyong Park
7b933fb576 Some properties are set as optional
Some properties that are designed to provide a safe default value are
explicitly set as optional using the 'a ?= b' syntax.

Bug: 117892318
Bug: 158735147
Test: m

Exempt-From-Owner-Approval: cherry-pick from master

Merged-In: Ie6a50ab7e0bcb210e282bc18e8c1daf412903f90
(cherry picked from commit dfb3937ce4)
Change-Id: Ie6a50ab7e0bcb210e282bc18e8c1daf412903f90
2020-06-30 14:28:16 +09:00
Jiyong Park
b00931e7eb ro.zygote in base_system.mk is optional
The setting of ro.zygote in base_system.mk is optional, which means the
value can be overriden by other (probably more specific) mk files.

Bug: 117892318
Bug: 158735147
Test: atest --host post_process_prop_unittest

Exempt-From-Owner-Approval: cherry-pick from master

Merged-In: Ia7a67c0a04fad343d6591417f40dd4b9ddadc5e4
(cherry picked from commit b1261aac33)
Change-Id: Ia7a67c0a04fad343d6591417f40dd4b9ddadc5e4
2020-06-30 14:28:04 +09:00
Jooyung Han
8f4bc20787 Merge "GSI: install flattened cts shim" into rvc-dev am: cd1aaed4f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11910091

Change-Id: I1c7e6b2f3f3e6645e475a8ebb8dc17b3da423895
2020-06-22 17:20:52 +00:00
Jooyung Han
cd1aaed4f0 Merge "GSI: install flattened cts shim" into rvc-dev 2020-06-22 17:05:58 +00:00
Jooyung Han
15f9085595 GSI: install flattened cts shim
The flattened version of com.android.apex.cts.shim.v1 should be
explicitly installed because the shim apex is prebuilt one and
PRODUCT_INSTALL_EXTRA_FLATTENED_APEXES is not supported for
prebuilt_apex modules yet.

Bug: 158169437
Bug: 159392784
Test: m com.android.apex.cts.shim.v1_with_prebuilts.flattened
      # should install the prebuilts of shim APKs
Change-Id: I8b37a320d2130d7b33aca856bc067dce37d1fb30
2020-06-19 20:09:06 +09:00
TreeHugger Robot
7fe2cf07aa Merge "iorap: Turn off pinner by default for large memory devices." into rvc-dev am: b8f8fc6a88
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11923072

Change-Id: Ib79da635eda60f3290402cb47d79600737c12d2a
2020-06-19 03:41:56 +00:00
yawanng
77107a17e5 iorap: Turn off pinner by default for large memory devices.
Bug: 157667363
Test: Make
Change-Id: I980a470596da3bf4e500bbd6c517e1a022c2d1a0
2020-06-19 00:47:17 +00:00
TreeHugger Robot
aec1debc65 Merge "Skip mount /oem on GSI" into rvc-dev 2020-06-18 15:32:41 +00:00
Jing-yan, Jang
a46fd29698 Merge "Identity: Add credstore" into rvc-dev am: dd592d87ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11736599

Change-Id: I6154f915c8ddb457fcbbf4cb8acdafe89b1dab16
2020-06-18 06:54:01 +00:00
Jing-yan, Jang
dd592d87ec Merge "Identity: Add credstore" into rvc-dev 2020-06-18 06:47:03 +00:00
TreeHugger Robot
588cb3cc06 Merge "Remove ANGLE from base_system.mk" into rvc-dev am: ddca499c5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11897778

Change-Id: Ibb6f34cc37ea3b6bc269b8a73073807f0d02f0ae
2020-06-17 21:01:59 +00:00
Tim Van Patten
25db69a401 Remove ANGLE from base_system.mk
Removing GoogleANGLE only removed the Google-signed version of ANGLE,
but the AOSP version still remained. This CL removes the AOSP build of
ANGLE also, so there is no ANGLE on the device at all.

Bug: 158956138
Test: adb shell pm list packages | grep -i angle
Change-Id: If9a42bc6436c752d2b1a16565d99ca2a5ec60d66
2020-06-17 12:38:25 -06:00
SzuWei Lin
03a29a6974 Skip mount /oem on GSI
GSI self contains the full Android system part. Skip mounting
the oem partition on GSI, which is a part of system.

Bug: 158433698
Test: build aosp_arm64-userdebug.
Test: Check the file /system/system_ext/etc/init/config/skip_mount.cfg
Change-Id: I689e1cc8a68b980d68b1d6ef1d715203db078dc2
Merged-In: I689e1cc8a68b980d68b1d6ef1d715203db078dc2
(cherry picked from commit f8475cc49f)
2020-06-17 18:18:20 +08:00