Commit Graph

56862 Commits

Author SHA1 Message Date
Tom Cherry fac072ddc8 Merge "Move init and ueventd scripts from / to /system/etc"
am: 4f51fba546

Change-Id: I9e9300827af707db35be06958d15d9763322c2be
2019-11-13 08:06:04 -08:00
Colin Cross c33f240d3c Merge "Forbid -Weverything" 2019-11-13 15:01:48 +00:00
Tom Cherry 4f51fba546 Merge "Move init and ueventd scripts from / to /system/etc" 2019-11-13 14:36:47 +00:00
Ian Kasprzak 92b51b4e8d Merge "Switch from VENDOR_BLOBS_NOTICE to VENDOR_BLOBS_LICENSE."
am: 9651113f02

Change-Id: Ie75c0afa4ea7be473d593066693806c15c40de02
2019-11-12 21:50:48 -08:00
Treehugger Robot 9651113f02 Merge "Switch from VENDOR_BLOBS_NOTICE to VENDOR_BLOBS_LICENSE." 2019-11-13 05:34:25 +00:00
Ian Kasprzak 4305cf2797 Switch from VENDOR_BLOBS_NOTICE to VENDOR_BLOBS_LICENSE.
Update of build variable to VENDOR_BLOBS_LICENSE
will be done via update to vendor-blob generation scripts.

Bug: 125451157
Test: Verified output in out and dist folders (with local rename).
Change-Id: I94190f0ef95a58464dceca912f8759023095fc7d
2019-11-12 18:45:44 -08:00
Colin Cross 0d1f54e2e1 Forbid -Weverything
Use of -Weverything blocks build system changes and toolchain updates
on new warnings.  Forbid it in the build system.  Developers can
experiment with -Weverything on their module by adding it to their
Android.mk file and building with
m ANDROID_TEMPORARILY_ALLOW_WEVERYTHING=true

Fixes: 143713277
Test: manual
Change-Id: Ifca9ad45301b0d51f18b5ae85cfb9e5b89fbef3f
2019-11-12 15:56:55 -08:00
Colin Cross 23dcf76a36 Set pools manually for rules that can run in RBE or goma
Use .KATI_NINJA_POOL := none to mark rules that can run in RBE or
goma when they are enabled, which along with passing
--default_pool=local_pool will allow moving remoteable jobs into
the remote pool without relying on hacks in kati.

Fixes: 143938974
Test: inspect pools in build-${TARGET-PRODUCT}.ninja for m USE_RBE=true
Test: inspect pools in build-${TARGET-PRODUCT}.ninja for m USE_GOMA=true
Change-Id: I08615ae1f2eaef9ff0ba253b8aa3d83ab57ebb27
2019-11-12 13:59:49 -08:00
Steven Moreland fbb38bbf33 Merge "Remove vibrator@1.4 from VNDK"
am: 88d1b62b89

Change-Id: I63aba4303a822efc3ab2bdbc27c4f4ff45f3fcab
2019-11-12 13:54:19 -08:00
Steven Moreland 88d1b62b89 Merge "Remove vibrator@1.4 from VNDK" 2019-11-12 21:39:26 +00:00
Jaewoong Jung a631404a9b Merge "Add RENDERSCRIPT_BITCODE to misc_prebuilt_internal whitelist."
am: 490efb2c14

Change-Id: Id1bc35c280f43cd013c764a98a17254f93451258
2019-11-12 08:13:41 -08:00
Treehugger Robot 490efb2c14 Merge "Add RENDERSCRIPT_BITCODE to misc_prebuilt_internal whitelist." 2019-11-12 15:53:31 +00:00
Mitchell Wills c1a32958b1 Merge "[generate-self-extracting-archive] Cleanup and improve error handling"
am: 78ed71132d

Change-Id: I322acdca35089c7380b1ccf43731f0cfffe94417
2019-11-11 17:43:48 -08:00
Treehugger Robot 78ed71132d Merge "[generate-self-extracting-archive] Cleanup and improve error handling" 2019-11-12 01:24:48 +00:00
Justin Yun 80508409e4 Merge "Create *_system_ext.mk for system_ext packages"
am: f7b16cad9d

Change-Id: Iba9ced502aeaa3fff836eaf2f32bf2ce1ee36284
2019-11-11 15:36:16 -08:00
Jaewoong Jung 73096796e7 Add RENDERSCRIPT_BITCODE to misc_prebuilt_internal whitelist.
Fixes: 143091822
Test: TreeHugger
Change-Id: Ic2fd42f6dae0130af060114b651a139dc3bebf20
2019-11-11 15:21:06 -08:00
Treehugger Robot f7b16cad9d Merge "Create *_system_ext.mk for system_ext packages" 2019-11-11 23:19:24 +00:00
Jaewoong Jung 1c274567c2 Merge "Add RENDERSCRIPT_BITCODE to misc prebuilt whitelist."
am: 834b91f20e

Change-Id: If6ccc6cc7f7c11d7ea0f884e72a37de94a4ee114
2019-11-11 12:55:24 -08:00
Treehugger Robot 834b91f20e Merge "Add RENDERSCRIPT_BITCODE to misc prebuilt whitelist." 2019-11-11 20:14:51 +00:00
Mitchell Wills 855bf6a85b [generate-self-extracting-archive] Cleanup and improve error handling
Increase the max extract offset and add some input sanity checks
Make the output file executable

Test: Ran manually with various license inputs
Bug: 125451157
Change-Id: Id76d55479366f1d9b8906e6d04c1a6db8d4d8285
2019-11-11 11:18:26 -08:00
Jaewoong Jung 3f2850e51a Add RENDERSCRIPT_BITCODE to misc prebuilt whitelist.
Test: TreeHugger
Fixes: 143091822
Change-Id: Iad763d4bfc9bc30f48a2ef786150cd510e55c8d1
2019-11-11 09:30:38 -08:00
Remi NGUYEN VAN f82fd89eb8 Merge "Revert "Revert "Use NetworkStackNext as preinstalled network stack"""
am: 6cbbac5cec

Change-Id: I21befb41dc5d4616a7f7cf8ae5a09bf32fc43c4d
2019-11-11 09:16:49 -08:00
Jeongik Cha cd22a52276 Merge "Enforce hidden apis usage in product(make)"
am: ad73624924

Change-Id: Ibbeb72d7fb1f0bd19818ac87dad88e527dbc8b06
2019-11-11 09:06:12 -08:00
Ian Kasprzak 9a5a603b33 Merge "Add "with-license" rule to generate public AOSP phone image."
am: 44b20aca98

Change-Id: I9fb73e67587731d720c95f5e5af0cce56fbc8b21
2019-11-11 09:05:44 -08:00
Remi NGUYEN VAN af94c1ea25 Merge "Revert "Use NetworkStackNext as preinstalled network stack""
am: 7017d37675

Change-Id: I254fff09bd46b72d63c7b954e3d31910fffca635
2019-11-11 09:05:16 -08:00
Mitch Phillips 6462bbf0ba Merge "Make backend for shared library fuzzing."
am: eed4e1324e

Change-Id: I92c6b52404570892124b7de71f11cbe109907534
2019-11-11 09:02:32 -08:00
Remi NGUYEN VAN 6cbbac5cec Merge "Revert "Revert "Use NetworkStackNext as preinstalled network stack""" 2019-11-11 14:00:49 +00:00
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 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 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 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 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 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 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