Commit Graph

56812 Commits

Author SHA1 Message Date
Remi NGUYEN VAN d6e2bb6f8b Revert "Revert "Use NetworkStackNext as preinstalled network stack""
This reverts commit a60d3c0dc1.

Reason for revert: Roll forward after fixing tests in b/144168912

Change-Id: Ibe68f086f10bbef7590ac4b721be4e1709e154dc
2019-11-11 03:53:01 +00:00
Steven Moreland ea5e5e5102 Remove vibrator@1.4 from VNDK
Since this HAL was converted to AIDL.

Bug: 141828236
Test: N/A
Change-Id: I77ce9b07084774295f64579200ee36f4c05c5a71
2019-11-11 02:32:45 +00:00
Treehugger Robot ad73624924 Merge "Enforce hidden apis usage in product(make)" 2019-11-11 02:05:16 +00:00
Treehugger Robot 44b20aca98 Merge "Add "with-license" rule to generate public AOSP phone image." 2019-11-10 01:11:04 +00:00
Ian Kasprzak 9601e6e0f8 Add "with-license" rule to generate public AOSP phone image.
Bug: 125451157
Test: Verified output in out and dist folders

Additional verification:
- Without the VENDOR_BLOBS_NOTICE build fails
- Output shell artifact displays license as expected
- Shell artifact permissions are correct (ug executable)
- Shell artifact unzips inner zip after license agreement
- Unzipping shell artifact only unzips license.txt file

Change-Id: If1004bd61d873c592c8541a13724eb575f59cddf
2019-11-09 14:21:45 -08:00
Tom Cherry 2e92cfb701 Check property type in host_init_verifier
We have all of the 'type' information for properties available during
build time, so let's check this when setting properties in init.

Test: setprop apexd.status bad results in:
host_init_verifier: Command 'setprop apexd.status bad'
(out/soong/.intermediates/system/core/rootdir/init.rc/android_x86_core/init.rc:927)
failed: Property type check failed, value doesn't match expected type
'enum starting ready'
host_init_verifier: Failed to parse init script
'out/soong/.intermediates/system/core/rootdir/init.rc/android_x86_core/init.rc'
with 1 errors
Test: CF builds without that error

Change-Id: Ia1b24ab42e2193e3298021bc86ee2309ca7a381f
2019-11-08 17:58:31 -08:00
Remi NGUYEN VAN 7017d37675 Merge "Revert "Use NetworkStackNext as preinstalled network stack"" 2019-11-09 00:37:17 +00:00
Remi NGUYEN VAN a60d3c0dc1 Revert "Use NetworkStackNext as preinstalled network stack"
This reverts commit 7b7af54259.

Reason for revert: Broke tests in b/144168912

Change-Id: I01d7b76350aba6a902c89d357e0f30b28a1c03c4
2019-11-09 00:28:25 +00:00
Treehugger Robot eed4e1324e Merge "Make backend for shared library fuzzing." 2019-11-08 21:35:08 +00:00
Mikhail Naganov 8f581c1de4 Merge "Introduce audio V6 HAL" am: ec77036a4e
am: e994ca1ea9

Change-Id: I3f8da45b08d0eb8022e4615477f5d5652f2061a3
2019-11-08 10:07:36 -08:00
Mikhail Naganov e994ca1ea9 Merge "Introduce audio V6 HAL"
am: ec77036a4e

Change-Id: I21fe392a0dcf05faabac0e3be7ff72da65e20819
2019-11-08 09:49:48 -08:00
Treehugger Robot ec77036a4e Merge "Introduce audio V6 HAL" 2019-11-08 17:31:42 +00:00
Colin Cross 2745ec384f Merge "Fix turbine classpath arguments in Make" am: 9c28a4a15c
am: 607dabf75b

Change-Id: I776faf8a1c8b6f8fdfc74dabac810c8a3dac2076
2019-11-08 07:28:47 -08:00
Colin Cross 607dabf75b Merge "Fix turbine classpath arguments in Make"
am: 9c28a4a15c

Change-Id: I53fbdd3ed3bc1f363c5cca56c1cea9516d362cff
2019-11-08 07:23:16 -08:00
Colin Cross 9c28a4a15c Merge "Fix turbine classpath arguments in Make" 2019-11-08 15:07:44 +00:00
Martin Stjernholm 00b4723af8 Merge "Revert submission of topic 'libdl_android-in-apex'" am: c91616fabd
am: aa0cbb18fa

Change-Id: Ifa9a387e1d1f13f6139b7ac6c9f7fa1da3b47625
2019-11-08 04:11:52 -08:00
Martin Stjernholm aa0cbb18fa Merge "Revert submission of topic 'libdl_android-in-apex'"
am: c91616fabd

Change-Id: I190c0d57450638f4636f47d77768572197172bcb
2019-11-08 04:05:50 -08:00
Martin Stjernholm c91616fabd Merge "Revert submission of topic 'libdl_android-in-apex'" 2019-11-08 11:51:39 +00:00
Remi NGUYEN VAN 2183772eab Merge "Use NetworkStackNext as preinstalled network stack" am: 97ed14a7fe
am: efe886cb84

Change-Id: I89a5527e81f2e69b66f5da105608a164d0c8f229
2019-11-08 02:31:37 -08:00
Remi NGUYEN VAN efe886cb84 Merge "Use NetworkStackNext as preinstalled network stack"
am: 97ed14a7fe

Change-Id: I2aa97b0b9a5e2ff13e92f69bbc5cd6c7022a39aa
2019-11-08 02:25:38 -08:00
Remi NGUYEN VAN 97ed14a7fe Merge "Use NetworkStackNext as preinstalled network stack" 2019-11-08 10:06:35 +00:00
Mitch Phillips 3adbcb31ea Make backend for shared library fuzzing.
Additional context (for Googlers): go/android-fuzzing-shared

This patch adds the Make support for automatically installing sanitized
dependent shared libraries. 'make $module' will find all the shared
library dependencies in soong, and create the rules to install them. We
simply need to add the <install sanitized shared library> rule that's
made by Soong as a dependency of the module's phony.

We also now change 'm fuzz' to not just build the fuzz packages, but to
build all fuzz targets into the respective
$ANDROID_PRODUCT_OUT/data/fuzz and $ANDROID_HOST_OUT/fuzz directories.

Bug: N/A
Test: Build fuzz target with shared libs, note the contents of
$ANDROID_PRODUCT_OUT/data/fuzz/lib and out/soong/fuzz-target-*.zip now
has shared libraries.

Change-Id: I74def02fee663ef788ee25ec0d5106faf474c2a6
2019-11-07 15:39:34 -08:00
Mikhail Naganov 0ee9b3edc9 Introduce audio V6 HAL
Test: push V6 to device and check audio works fine
Bug: 134940862
Change-Id: I761d05708d99287b9fe255c55724f92c8a3388e7
Merged-In: I761d05708d99287b9fe255c55724f92c8a3388e7
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-11-07 14:44:52 -08:00
Yifan Hong e64874fec4 Merge "Fix Virtual A/B size checks" am: 654fdb5edd
am: b3a4b3a2b5

Change-Id: I793cf714323d8c695e0b46e5cac4d0c8edb30d3d
2019-11-07 13:34:16 -08:00
Yifan Hong b3a4b3a2b5 Merge "Fix Virtual A/B size checks"
am: 654fdb5edd

Change-Id: I3bc76d68507735f31ad2e301f5c6222fbdc30eae
2019-11-07 13:28:11 -08:00
Treehugger Robot 654fdb5edd Merge "Fix Virtual A/B size checks" 2019-11-07 21:17:45 +00:00
Yifan Hong ea6462f197 Merge "dynamic_partitions_info.txt: use dump-dynamic-partitions-info" am: 9e61bf053f
am: a2d2b3e7d3

Change-Id: Icea0594fcd002dc73230c19aef5a2fc5c46df197
2019-11-07 13:06:33 -08:00
Yifan Hong a2d2b3e7d3 Merge "dynamic_partitions_info.txt: use dump-dynamic-partitions-info"
am: 9e61bf053f

Change-Id: If49f7feb04004caf9272fd9c1d0ecd3d90cff8fa
2019-11-07 12:59:15 -08:00
Treehugger Robot 9e61bf053f Merge "dynamic_partitions_info.txt: use dump-dynamic-partitions-info" 2019-11-07 20:49:45 +00:00
Ashwini Oruganti 60e69d3925 Merge "Remove the cert for GooglePermissionController" am: 4c98469598
am: 9bfca4ffe4

Change-Id: Ideb622a642836df92a45f4a8ac41012d6c168971
2019-11-07 12:16:46 -08:00
Ashwini Oruganti 9bfca4ffe4 Merge "Remove the cert for GooglePermissionController"
am: 4c98469598

Change-Id: I0140620b44508afa769838d9c2f431f2ab5b79a9
2019-11-07 12:10:46 -08:00
Henry Fang 53b27f3316 Merge "update build file to include cas@1.2" am: 7df5b71c74
am: 641db1083c

Change-Id: I172ccd7b0d0fa0ba9d62187f500f00e842788838
2019-11-07 11:59:18 -08:00
Treehugger Robot 4c98469598 Merge "Remove the cert for GooglePermissionController" 2019-11-07 19:59:03 +00:00
Henry Fang 641db1083c Merge "update build file to include cas@1.2"
am: 7df5b71c74

Change-Id: I4910ca1a98bdb6e16628b6318e427a7b84ef8c47
2019-11-07 11:46:49 -08:00
Tom Cherry 171185df51 Move init and ueventd scripts from / to /system/etc
There is no reason for these scripts to continue to exist in /, when
they are better suited for /system/etc.  There are problems keeping
them at / as well, particularly that they cannot be updated with
overlayfs.

Bug: 131087886
Bug: 140313207
Test: build/boot
Merged-In: I5aa0332e7f0e3fb6840b60e3d099c2b28d38b7ea
Change-Id: I5aa0332e7f0e3fb6840b60e3d099c2b28d38b7ea
2019-11-07 19:38:34 +00:00
Henry Fang 7df5b71c74 Merge "update build file to include cas@1.2" 2019-11-07 19:33:33 +00:00
Tom Cherry 89eea96fe1 Move init and ueventd scripts from / to /system/etc
There is no reason for these scripts to continue to exist in /, when
they are better suited for /system/etc.  There are problems keeping
them at / as well, particularly that they cannot be updated with
overlayfs.

Bug: 131087886
Bug: 140313207
Test: build/boot
Merged-In: I5aa0332e7f0e3fb6840b60e3d099c2b28d38b7ea
Change-Id: I5aa0332e7f0e3fb6840b60e3d099c2b28d38b7ea
2019-11-07 11:28:56 -08:00
Yuexi Ma bd72ff7711 Revert submission of topic 'libdl_android-in-apex'
Reason for revert: broke numerous major apps in app compat testing
Bug: 144100240

Change-Id: I29d8286c977e357c012392db5ae65ca211f4d2a9
2019-11-07 19:19:44 +00:00
Martin Stjernholm 394dce1266 Merge "Add libdl_android as a bootstrap library." am: 65e4ce6ebc
am: 67626e7a21

Change-Id: I689296cd2a9f0fd73c18c1a19d2aa5ec2d375b81
2019-11-07 03:16:27 -08:00
Martin Stjernholm 67626e7a21 Merge "Add libdl_android as a bootstrap library."
am: 65e4ce6ebc

Change-Id: I2f75b5a8dee46f48951ebe40bb96d8832d7aa497
2019-11-07 03:10:24 -08:00
Martin Stjernholm 65e4ce6ebc Merge "Add libdl_android as a bootstrap library." 2019-11-07 11:01:36 +00:00
Jaewoong Jung 093994a48e Merge "Enable overrides for ETC modules" am: 0c9d914eef
am: 2e007a7b04

Change-Id: I3e2c21402a9fa20ba2b6115e5daa77ef6d97e9da
2019-11-06 18:45:55 -08:00
Jaewoong Jung 2e007a7b04 Merge "Enable overrides for ETC modules"
am: 0c9d914eef

Change-Id: Ieb7dab1bf707b5f02068898baf5a9bffa3622df7
2019-11-06 18:39:54 -08:00
Treehugger Robot 0c9d914eef Merge "Enable overrides for ETC modules" 2019-11-07 02:04:42 +00:00
Henry Fang d0e1aa4a83 update build file to include cas@1.2
Test: Manual
bug: 141783130
Change-Id: I4692b21a15685cfa4377d3aa3219a4f424530506
Merged-In: I4692b21a15685cfa4377d3aa3219a4f424530506
2019-11-06 22:58:44 +00:00
Jaewoong Jung 7c7dfcdf54 Enable overrides for ETC modules
Bug: 143975137
Test: TreeHugger
Change-Id: I8290d06726d8aabe265022cd84ec2ea97eff7acf
2019-11-06 14:08:59 -08:00
Martin Stjernholm 88ff58f8a7 Add libdl_android as a bootstrap library.
Necessary after moving it into the Runtime APEX, as several framework
libraries loaded during early boot depends on it, e.g. libvndksupport.so,
libvulkan.so, and libgraphicsenv.so.

Test: build & boot
Bug: 135753770
Change-Id: I5862ba57485bdaffd452aac47c5931863823075d
2019-11-06 20:38:44 +00:00
Jeongik Cha 7452979a9e Enforce hidden apis usage in product(make)
Only if PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE is set,
every app and java library in product cannot use hidden APIs anymore.

Bug: 132780927
Test: m
Test: set PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE, and check whether build
error occurs.
Change-Id: Ib6c260a16b9cbb95be70d8db3082a15e151687f1
2019-11-06 19:41:47 +09:00
Remi NGUYEN VAN 7b7af54259 Use NetworkStackNext as preinstalled network stack
NetworkStackNext is the build of the network stack targeted at the
next API, e.g. system_current and not system_29.

While NetworkStack is a mainline module that needs to be built with a
stable SDK (system_29), NetworkStackNext is necessary to test
functionalities that require the in-development SDK (system_current).
Using NetworkStackNext preinstalled on development builds allows for
testing the new APIs and functionalities.

NetworkStackNext is also configured with a mainline module package name
on targets that use mainline modules; but it is not intended to receive
mainline updates.

Once system_current is finalized (system_30 ?), NetworkStack can start
using it, and the system image should switch back to NetworkStack
instead of NetworkStackNext.

Bug: 139269711
Test: Built, phone boots, WiFi working
Change-Id: I885b2c441b99daa3165a4a365738682958478291
2019-11-06 10:27:20 +00:00
Jordan Liu 6f13614189 Merge "Add CellBroadcastServiceModule to mk" am: 2bbfa528b3
am: 3809de215e

Change-Id: I7a9dce44db803c3152cc0ff47e5802004f36a355
2019-11-05 17:06:09 -08:00