Adds icu-data_host_runtime_apex to fix unbundled builds which pull it in
via PRODUCT_PACKAGES, but are missing packages that would pull it in via
PRODUCT_HOST_PACKAGES.
Test: build/soong/build_test.bash
Test: in ub-timezonedata-master; tapas TimeZoneData; m
Change-Id: I1583c7582b386c3e8478711cb1df340518d763c1
It used to be installed to recovery with the rsync from normal root to
recovery root.
Bug: 114042635
Test: `m -j bootimage` with aosp_walleye-userdebug.
Change-Id: If3451f21018f271b1df83a31d4ece382e0dfebb9
Let libmediaplayerservice be pulled as a dependency from mediaserver. This
also means that it only pulls in the flavor (32/64-bit) needed for mediaserver.
Bug: 16890215
Test: build, check results, boot
This reverts commit 7218a21ed0.
Reason for revert: broke some side branches, and the mac build
Change-Id: Ifa52f2dbf9a383f69e07ba0aceb4742b05376364
Fixes: 125912305
The configstore 1.2 will be deleted. So changed to configstore 1.1 in
PRODUCT_PACKAGES and remove configstore 1.2 in vndk.
Bug: 124531214
Test: build & boot
Test: adb shell lshal | grep configstore & check configstore 1.2
Change-Id: I2c9e1f8b5dc7616112d2602cac22059a05e59901
This only defines PRODUCT_HOST_PACKAGES as a concept, and requires that
it contain at least all of the files that would be installed to the host
from PRODUCT_PACKAGES (minus libraries, as those are expected to be
installed based on what's required by other modules).
It does not actually change what will be built, that will happen in a
future change.
Test: build/soong/build_test.bash
Change-Id: Ie502b1a483f821b957cfd407c31a93e243896dae
In BoardConfig.mk, ODM manifests can be specify as follows:
# installed to /odm/etc/vintf/manifest.xml
ODM_MANIFEST_FILES := device/foo/bar/odm_manifest.xml
# installed to /odm/etc/vintf/manifest_baz.xml
ODM_MANIFEST_SKUS := baz
ODM_MANIFEST_BAZ_FILES := device/foo/bar/odm_manifest_baz.xml
This is preferred over PRODUCT_COPY_FILES because it uses
assemble_vintf to check manifest at build time.
Test: builds
Change-Id: I18517b8ba09d3271627d6f21b8250b1bfc9e5db3
The major purpose of vbmeta.img built on GSI targets (e.g., aosp_arm,
aosp_arm64, etc) is to disable AVB. We should also set the rollback
index to zero, to prevent the device bootloader from updating the
last seen rollback index in the tamper-evident storage.
Bug: 122583908
Test: build aosp_arm64, then `avbtool info_image --image $OUT/vbmeta.img`
Change-Id: I48a49957f8dd3169003b9507fe80e519f301d5b5
It must be there for libjdwp to find it and load the debugger transport
correctly. This is a temporary fix while we are looking into loading libnpt
from the Runtime APEX.
Bug: 124498388
Test: adb forward tcp:5555 jdwp:`adb shell pidof com.android.email` && jdb -attach localhost:5555
Test: atest CtsJdwpTestCases
Change-Id: I644c092c2ad5f6c9669bdccc24c7953d3be6b328
GSI doesn't include gsi_system.prop on user build, and cause some
devices cannot boot GSI with user build. Some properies in
gsi_system.prop do not suitable for user build, the patch create
a new gsi_system_user.prop for GSI user build.
Bug: 124479721
Test: boot aosp_arm64-user on a blueline device.
Change-Id: Ide2bdc8e8733817afb832b50b28807768e22f011
This reverts commit 74f27716f3.
The key/cert pairs for APEXes are moved to the same directory where the
APEXes are defined.
Test: Check this for all APEXes
jarsigner -verify -verbose -certs out/target/product/blueline/system/apex/com.android.tzdata.apex shows
...
X.509, CN=com.android.tzdata, OU=Android, O=Android, L=Mountain View, ST=California, C=US
Change-Id: I8d867b434b93aa68cbc707fa20ed8dbd4cef755e
Remove ART modules (`art-runtime`, `art-tools`) from `PRODUCT_PACKAGES`, as
they are provided by the Android Runtime APEX module
(`com.android.runtime`).
Copy of rpl's http://r.android.com/812674.
Test: Flash and boot
Test: atest CtsJniTestCases
Test: atest CtsJdwpTestCases
Test: m checkbuild dist
Bug: 113373927
Change-Id: I3e0c130f1a9c596629ab243648f0251cf71c1499
When using VNDK snapshot, current VNDK libs are not required. Use
"TARGET_SKIP_CURRENT_VNDK=true" to skip installing current VNDK libs.
Bug: 123607022
Test: TARGET_SKIP_CURRENT_VNDK=true PRODUCT_EXTRA_VNDK_VERSIONS=28 m -j
Change-Id: I65c902c71a7952536bbf824a1dccb9360e843f1a
The networkstack is using shared test keys for NetworkStack.apk,
CaptivePortalLogin.apk and NetworkStackPermissionStub.apk.
This allows NetworkStackPermissionStub.apk to define signature
permissions without the platform certificate, and enforce that the other
packages match the signature to use the permissions if they are
installed.
Bug: 124033493
Test: m
Change-Id: I7257a472d702e82acdadffc4e0535c63a8bd591d
Regular (non-flattened) APEX may require changes to the kernel, which is
against the Treble promise. For maximum compatibility, APEXes are
flattened for GSI so that APEXes can be activated by legacy kernels.
Bug: 124159875
Test: N/A
Change-Id: Iea5701d3b917ebf8657d3ce38131c1838b51677e
* avbtool expect extra flags to be passed with the --flags argument
but currently we're missing an 's'.
Luckily this isn't an issue as python argparse matches
--flag as an alias to --flags ( python... )
Test: m vbmetaimage; check vbmeta header
Change-Id: I42d833c61c9b313dc067b1e519bae36395d09824
Aims to get additional coverage of the view compiler. Note that the
compiled views are not currently loaded.
Test: adb shell getprop
Bug: 111895153
Change-Id: I7b172fc55bc47ee1593eb352fb9d9143f44a1e6c
Also add the health-check macro to the buildable products
to make sure no other non-existant packages are added.
Bug: 80410283
Test: build mainline_arm64 + mainline_system_arm64
Change-Id: I6c54de2f43b5ab0c9e0ddfa09fa7553c321e4aa7
Split debug packages out of frameworks-base-overlays. Add this
collection of packages to handheld_product instead of handheld_vendor
since they all have LOCAL_PRODUCT_MODULE set to true.
Bug: 118757293
Test: make
Change-Id: Ibb94bf16e6d462fc32767275c923c4128f2fd731
This matches the build config used on current mainline devices,
but should ideally be removed once possible.
Bug: 123695868
Test: boot blueline
Change-Id: I8fdef9fbe45b75f175afe9350974f54d1ec5e0c8
DdmConnection dlopen's libart.so which is undesirable for the Runtime Module.
Bug: 120782499
Test: m -j100
Change-Id: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
Merged-In: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
This adds an option to turn off Scudo globally, and use it for Go.
Bug: 123228023
Test: verify that Scudo is disabled for a Go build, eg:
lunch marlin_svelte-eng && m -j, check that Scudo is not linked in
out/target/product/marlin/system/bin/mediaextractor
Test: verify that Scudo is enabled otherwise, eg:
lunch marlin-eng && m -j, check that Scudo is linked in
out/target/product/marlin/system/bin/mediaextractor
Change-Id: Idc82d581fade544a474e6f2ff0b54dd191ba0818
Merged-In: Idc82d581fade544a474e6f2ff0b54dd191ba0818
This adds an option to turn off Scudo globally, and use it for Go.
Bug: 123228023
Test: verify that Scudo is disabled for a Go build, eg:
lunch marlin_svelte-eng && m -j, check that Scudo is not linked in
out/target/product/marlin/system/bin/mediaextractor
Test: verify that Scudo is enabled otherwise, eg:
lunch marlin-eng && m -j, check that Scudo is linked in
out/target/product/marlin/system/bin/mediaextractor
Change-Id: Idc82d581fade544a474e6f2ff0b54dd191ba0818
Include libjsoncpp into vndk because libprocessgroup uses it
for task profile parsing.
Bug: 111307099
Test: builds, boots
Change-Id: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Merged-In: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Add cgroups.json and task_profiles.json into the list of packages.
Bug: 111307099
Test: builds, boots
Change-Id: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Merged-In: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Include libjsoncpp into vndk because libprocessgroup uses it
for task profile parsing.
Bug: 111307099
Test: builds, boots
Change-Id: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Add cgroups.json and task_profiles.json into the list of packages.
Bug: 111307099
Test: builds, boots
Change-Id: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
* changes:
Enable mainline checking for all GSI targets
Change aosp_$arch.mk to inherit from gsi_common.mk
Change Legacy GSI to inherit from gsi_common.mk
Whilelist system/product_services in gsi_common.mk
There are some makefile inherit from aosp_$arch*.mk. This patch
change to only enable mainline checking on excat GSI targets,
such as aosp_$arch or aosp_$arch_(a|ab), and does not apply on
the child targets.
This patch also add some more whitelist items to gsi_common.mk
Bug: 123613261
Test: aosp_arm64-userdebug build pass
Test: remove some whitelist items and aosp_arm64-userdebug build fail
Test: sdk_phone_arm64-eng build pass
Test: gsi_arm64-userdebug build pass
Change-Id: I1772a55ab823a0312b9f215f0d2c3b0c727c8e4b
The patch changes GSI (aosp_$arch) to inherit from gsi_common.mk
instead of aosp_base_telephony.mk.
The patch also clones the emulator_vendor.mk from emulator.mk to
include all vendor modules.
Bug: 119747870
Test: boot aosp_arm64-userdebug on a blueline device on master/P
Test: boot aosp_x86-userdebug on the emulator
Test: boot aosp_x86_64-userdebug on the emulator
Test: compare the out folder with/without the patch, only more content
Change-Id: Ibd398d4f93d2a964813e05ccd434975435d25adc
The patch change Legacy GSI (aosp_$arch_(a|b)) to inherit from
gsi_common.mk instead of treble_common.mk
It does not inherit from gsi_common.mk directy. The patch adds
legacy_gsi_common.mk to extend gsi_common.mk, and all Legacy
GSI inherit from legcay_gsi_common.mk.
The patch also removed treble_common*.mk.
Bug: 119747870
Test: flash aosp_arm64_ab-userdebug on blueline P
Test: flash aosp_arm64_ab-userdebug on walleye O-MR1
Change-Id: If54760484cc0937719c1336f1a4caac8468d2009
GSI could include system/product_services to override the content
in product_services partition, so whitelist the folder.
Bug: 119747870
Test: build a build target has prodcut_services and
Test: inherit gsi_common.mk
Change-Id: Ied201aad88d75ef85258c24e8a2a4952b968ff3f
This reverts commit 674fd1461a.
Reason for revert: <This CL isn't related to public API which triggered previous revert>
Change-Id: I1db7e0541790ee8a0c196d9d2ff4d9f4f14e04a2
Include FontNotoSerifSourceOverlay to AOSP so developers have one option
to choose from in developer options.
Bug: 123570171
Test: make
Change-Id: Idd47899ce9e0a35d2dde35bfdcb8f9ffba61429a
gsi_common.mk is a new makefile file for GSI build targets.
It inherited the content from Mainline by mainline_system.mk.
Also it include other default GSI settings and try to covered
all contents from aosp_base_telephony.mk
It will be used to replace the treble_common*.mk. All
aosp_$arch*.mk will become to inherit from gsi_common.mk.
This patch also contains a new build target gsi_arm64,
which is used to test the gsi_common.mk purely.
Bug: 119747870
Test: compare the out system folder between gsi_arm64 and aosp_arm64
Test: also the gsi_arm64-userdebuge can boot on a Pixel device
Change-Id: I9a013f9407e0fe06b45011e36d5169b94f67148d
Added an option to select expanding notifications to execute after a
gesture. Exploring swipe down by reducing the touch slope to a smaller
value to execute more. Since it is swiping towards the edge, less events
will be received and typically hard to trigger when swiping other
directions.
Bug: 112934365
Test: manual
Change-Id: Ibf59c87622e988511fe620ac60ee3d0e44aeb2b2
This reverts commit fec192e98f.
Reason for revert: AOSP is fixed with new vendor image
Change-Id: I2b7f4683139cf28bb5b8fa64c5c5273cf5c935a3
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Bug: 122015653
Test: run "adb shell am ..." to trigger DynamicAndroidInstallationService
full command: adb shell am start-activity -a
android.content.action.START_INSTALL -e KEY_SYSTEM_URL <file_url>
--el KEY_SYSTEM_SIZE <system_image_size> --el KEY_USERDATA_SIZE 8589934592
Test: run "adb shell gsi_tool"
Change-Id: I4045a16dd50066c8a303be13c524ed4c09f60f87
It doesn't make sense to specify a DEVICE_MANIFEST_FILE but the
build not including it. The conditional definition of the module
makes it problematic to have it listed in the PRODUCT_PACKAGES
of a generic mk.
Test: build mainline_arm64 + mainline_system_arm64
Change-Id: I40e435ce114263ceabbd373d3d719318c592fc13
Possible now that it has TARGET_COPY_OUT set for vendor and
product.
Update the whitelist too.
Bug: 120974093
Test: make
Change-Id: I99eb718f5f4e79b9224a4079f2ff4595cd2b7ae2
Needed by recovery on devices without a cache partition.
Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I71fd35022b0928016f6767cea35971ce14bf03fe
This app is not intended to be moved to /product.
Bug: 122353713
Test: lunch mainline_arm64; m nothing
Change-Id: I65464975a77e187591b3e2de2521f1b2876b5abf
This HAL is used to keep common definitions, potentially used by other
input HALs in the future.
Bug: 111480215
Test: make only
Change-Id: I499a7988211a6fc1253805038ac7edcf337bc4e2
Stop using armv7-a without neon for 32-bit unbundled apps, and update
generic_x86_arm to match the cuttlefish configuration that includes
neon.
Test: treehugger
Change-Id: Ieb6a2106655803a8ca609907c12168e628ee1b85
The module refers to framework compatibitlity matrix
that defined OEM modules.
Also, renamed framework_compatibility_matrix.xml
to system_compatibility_matrix.xml, since
framework_compatibility_matrix.xml consists of both
system and product compatibility matrices. This fixes
mainline build.
Test: build
Test: boot device with product compatibility matrix
Bug: 120600021
Change-Id: Ibfb12578c3ec77b6baede4eed852074e08022119
Include libprocessgroup into vndk because libprocessgroup now implements
sched_policy control functions.
Bug: 111307099
Test: builds, boots
Merged-In: If18227e8a824a1e606df78dfe01d9d2437c62792
Change-Id: If18227e8a824a1e606df78dfe01d9d2437c62792
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
The REMOVE_OAHL_FROM_BCP flag is always set to true and is no longer
necessary so this change removes any uses of the flag.
Bug: 18027885
Test: cts/tests/signature/runSignatureTest.sh
Change-Id: Ied8c3315b29094ad6acee539520af3e4c9e79839
Include libprocessgroup into vndk because libprocessgroup now implements
sched_policy control functions.
Bug: 111307099
Test: builds, boots
Change-Id: If18227e8a824a1e606df78dfe01d9d2437c62792
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
The impl lib name of java_sdk_library is changed to {module_name}.jar
instead of {module_name}.impl.jar
Bug: 110404779
Test: m -j
Change-Id: I275cd40e3682640b96425e56698cea770888cbb1
Merged-In: I275cd40e3682640b96425e56698cea770888cbb1
(cherry picked from commit 0372f189ac)
So far, we have *_system.mk and *_vendor.mk.
This patch split all product settings from *_vendor.mk to new
*_product.mk
This patch also create a new telephony.mk to include all
telephony_*.mk
Bug: 119747870
Test: lunch mainline_arm64-user; make -j
Test: compare the content with and without the patch
Test: the output files in out folder are the same
Change-Id: I79aefdd1971b3b5724a3ec858de4109b645c765a
Merged-In: I79aefdd1971b3b5724a3ec858de4109b645c765a
This product variable is used to generate the loader config (to use
either /system/product or /product), and the vendor one is likely
used in similar ways. Having these partitions is required for mainline
devices, so set it in the shared BoardConfig.
Bug: 80410283
Test: make
Change-Id: I6f2d94ff43572a28df54ea8c60f2d838a3b9216c
The app will move to product soon, but temporarily
whitelist that mainline_arm64 adds it to /system.
Test: make
Change-Id: I7b0ce5623a160bcb0f8b89f3053a007019ff0b62
It is present in media_vendor.mk (and soon media_product.mk),
which is the correct place.
Test: make
Change-Id: I7ffda211cf4b01a22ec01c661959defcf59bbc4b
So far, we have *_system.mk and *_vendor.mk.
This patch split all product settings from *_vendor.mk to new
*_product.mk
This patch also create a new telephony.mk to include all
telephony_*.mk
Bug: 119747870
Test: lunch mainline_arm64-user; make -j
Test: compare the content with and without the patch
Test: the output files in out folder are the same
Change-Id: I79aefdd1971b3b5724a3ec858de4109b645c765a
The Android Runtime APEX is always included on all products.
Test: make systemimage on marlin-userdebug
Test: make systemimage on sailfish-userdebug
Bug: 113373927
Change-Id: I47b02ee44562b8da17bd960825a3489572018d93
Rename ANS to ONS
Bug: 118347827
Test: compile
Merged-In: Id01f0fc595e736f081d97309f62426cc54ac9e94
Change-Id: Id01f0fc595e736f081d97309f62426cc54ac9e94
Bionic libs are moved to the runtime APEX and thus are available via the
path /apex/com.android.runtime/lib[64]. However, for processes that are
started before the APEX is ready, a copy of the bionic libs should be left
under /system/lib[64]. This change ensures that the bootstrap bionic
libs are always installed to the system partition.
Note that, at runtime, the bionic libs in the runtime APEX are
bind-mounted to /system/lib/<libname>.so which essentially hides the
bootstrap bionic libs to the processes after the activation of the
runtime APEX.
Bug: 120266448
Test: m and check that libc, libdl, libm are under
/system/lib[64]
Change-Id: I9d5e8e718aa020c012f312a70ed54652130048dd
It's 2019 and the CDD has required NEON for many years now.
I've left unbundled apps alone for now.
I think the recent fix here for https://issuetracker.google.com/116070933
was incorrect. (I've commented on the bug.)
Test: treehugger
Change-Id: Ia02305cfdff9fd18a85359bc44d8eb9cab1413bd
Individual products can add their own calculator package if desired.
Bug: 120905067
Test: lunch aosp_arm64 && make -j8
Merged-In: I60490b6e2a42c4304768075e8fef9f07cb72d268
Change-Id: I60490b6e2a42c4304768075e8fef9f07cb72d268
Legacy GSI had been changed to include BoardConfigGsiCommon.mk
instead of treble_common*.mk. However, some default settings are
different than the original. This patch fixes
BOARD_BUILD_SYSTEM_ROOT_IMAGE in Legacy GSI makefiles.
The patch also removes redundant settings and fix some comments.
Bug: 122282239
Test: make
Change-Id: Ie4eb8cf410bfd2edc74648c0e5ee81028242a1b7
It's 2019 and the CDD has required NEON for many years now.
I've left unbundled apps alone for now.
Test: treehugger
Change-Id: Iee22d4605a81e2840063a203b76db7df5b4f3c37
Reapply the change reverted in ag/5945048 now that
ag/5979911 fixed the font issue.
Bug: 118756857
Test: make
Change-Id: I84781341b5343a4881c80572a024109ee9a6ea2c
This flag turns on 64-bit mediadrmserver for mainline. Keep the default
value for GSI for now.
Bug: 80410283
Test: make
Change-Id: Ie09b258f140b56121e4b531775b2a052b4dc6c15
Generate and store minimum amount of information necessary to
create backtraces in native tools (for crashes and profilers).
The data is compressed and takes <5% relative to JIT code size
(which is less than recent stack map savings; so win overall).
Averages for non-compiled run of maps which filled JIT code cache to ~4MB:
Q: code:1.55kb/method data:0.738kb/method debug:0.064kb/method(*this CL*)
P: code:1.62kb/method data:0.956kb/method debug:0.835kb/method(if enabled)
I also measured the P to Q on-disk stack maps savings in CL/762841 as ~28%
(not all of that is applicable to JITed code, so that is an overestimate).
Bug: 111350693
Test: Device boots, mini-debug-info is generated.
Change-Id: I95883bd4f2d5c2308149ab0ba641b0a703c7f81b
All these modules are to be moved to /product, as they are not
part of the core system image. Move them out of the _system mks
as a start, and temporarily whitelist them so that they can be
moved iteratively.
Bug: 122353713
Test: make
Change-Id: If658e6b4565924cd915a183400c5b2b32984eca4
Merged-In: If658e6b4565924cd915a183400c5b2b32984eca4
All these modules are to be moved to /product, as they are not
part of the core system image. Move them out of the _system mks
as a start, and temporarily whitelist them so that they can be
moved iteratively.
Bug: 122353713
Test: make
Change-Id: If658e6b4565924cd915a183400c5b2b32984eca4
The patch modifies the Legacy GSI to use BoardConfigGsiCommon.mk
instead of board config treble-common*.mk, and delete these
treble-common*.mk files.
After the patch, the GSI common board configs are in single file
BoardConfigGsiCommon.mk
The patch also includes:
- Moving `TARGET_COPY_OUT_VENDOR := vendor` to
BoardConfigGsiCommon.mk, because GSI always contains no vendor
contents.
- Configure the binder interface bitness explicitly.
- Unify the structure of each BoardConfig.mk.
Bug: 122282239
Test: compare the out folder between with and without the patch
Test: output files are all the same
Change-Id: Ie5901446920dda317dea848e6d5a7bbcf10a32cf
Contains mainline_system and the relevant AOSP packages for the
other partitions. Intended to be inherited by the aosp_X variants
of mainline devices.
Bug: 118826166
Test: build mainline_arm64
Change-Id: I7d1953bf5ccda4d9652dca4d32efb75b31015342
Similar to I1720644d89ec5289fbe99f95ebcdfbb3f3b20e67,
but for mainline_system. This reduces the diff between
full_base.mk and mainline_system, a step on the way to
get aosp_blueline inheriting mainline_system.
Bug: 118826166
Test: make
Change-Id: I52bfe5dfb3e1a22db2d46fe9d1f372ee25533fdd
The binder interface bitness is always 64bits from P.
To keep 32bits binder interface for Legacy GSI, we need to explict
configure it.
Bug: 122282239
Test: lunch aosp_arm_ab-userdebug; make -j
Change-Id: I90b45adb52c398d1c0cf3f877199f9dd1e0b3f86
This reverts commit d0b532aaf4.
Reason for revert: likely cause for broken build 5211430 and later
Change-Id: I3c4fef262a5d387eebf8eba23f8e30abcea6c450
soong_ui is passing the Android.mk file list to Kati, and it ignores
Android.mk files found via symlinks, so we don't need the workarounds
for build/make/target/board/Android.mk and build/target/board/Android.mk
both existing.
We've got dist support in Soong now, so we can remove the signapk
Android.mk
Bug: 122332221
Test: m dist out/dist/signapk.jar out/dist/libconscrypt_openjdk_jni.so
Change-Id: I2ac9016b04146340c5ac80f7090d00e186023574
dmctl can list all device mapper targets and their tables which is
extremely useful information for a bugreport. Especially to compare
the device mapper setup with the partition metadata.
Bug: 120916687
Test: 'dmctl list device -v'
Change-Id: I9e3afcf146b2814b0304f69cdf6029303beb57c7
Merged-In: I9e3afcf146b2814b0304f69cdf6029303beb57c7
Signed-off-by: Sandeep Patil <sspatil@google.com>
Home is overriden by Launcher3QuickStep, so listing these two
in the same mk is a noop.
Test: make
Change-Id: I2865a5346c63efd78e434185041f320ca344e854
This is the same list of languages that was in mainline_system.mk
before, but sorted alphabetically.
Make languages_full inherit this list and add the only locale present
that was previously unique (the en_XC pseudo-locale).
Test: make
Change-Id: I09f0c7521740d4c779d5fd2a50baa92b7cdfe8d4
This doesn't appear to be a real locale. The interpretation would be
khmer spoken in the Marshall Islands, which doesn't appear to be a thing.
The locale doesn't appear in https://lh.2xlibre.net/locales/ or
frameworks/base/core/res/res/values/locale_config.xml.
It might have been a typo when it was introduced in internal change
I78d91916fdbb04502466c26bf7d160fe679aaa31.
Test: make
Change-Id: Id1deebdd8ad2a5601c15b84e010be766b3a951e9
Needed for NFC. Has a proprietary override, which is the
only reason I had not added it earlier.
Test: make
Bug: 80410283
Change-Id: I1fad3d2bab0ff2fa8bbd32388049f0f8c86b68a5
GSI includes a default apns-conf.xml. This patch align the
apns-conf.xml in Legacy GSI with the one in non-Legacy GSI.
Bug: 122238063
Test: lunch aosp_arm64_ab-userdebug; make -j and check output
Change-Id: Ia9e2e411d9f62896f75e190c72260688bed5369d
Some non-phone form factors don't want cameraserver to save storage and RAM.
Pushing it down to handheld and other build files allows selective inclusion to
happen there.
Intended to be a no-op refactoring, will disable for ATV in a follow-up CL.
Bug: 118369095
Test: built system image for random device as smoke test
Change-Id: I260fa5c9e512341d6a6824afebd5e8273fa5e66c
Merged-In: I260fa5c9e512341d6a6824afebd5e8273fa5e66c
Build fails if InputClassifier HAL is not added to vndk. Add the
required .so file here.
Bug: 62940136
Test: build only
Change-Id: I92bb4742e4e7e13d58e7f3ced7b9f6fd8155012b
The impl lib name of java_sdk_library is changed to {module_name}.jar
instead of {module_name}.impl.jar
Bug: 110404779
Test: m -j
Change-Id: I275cd40e3682640b96425e56698cea770888cbb1
Uses skip_mount.cfg for `init` to skip mounting product and
product_service paritions in GSI. The patch also removes
the un-mount in `init.gsi.rc`.
With this patch, a device with flashing GSI will not use the
content in product/prodcut_service partitions on the device
and will always use the content under /system/product in GSI.
The patch also rename the target/product/vndk to
target/product/gsi.
Bug: 120208657
Bug: 117246558
Test: Boot blueline master/P with flashing aosp_arm64-userdebug
Test: /product and /product_service should be symbolic links
Change-Id: Idc9c60e5a05b3d90fc4ab64b0ac000571849b19b
dmctl can list all device mapper targets and their tables which is
extremely useful information for a bugreport. Especially to compare
the device mapper setup with the partition metadata.
Bug: 120916687
Test: 'dmctl list device -v'
Change-Id: I9e3afcf146b2814b0304f69cdf6029303beb57c7
Signed-off-by: Sandeep Patil <sspatil@google.com>
libunwind has no dependency on vendor modules.
Remove it from VNDK list.
Bug: 120948701
Test: build and boot
Change-Id: Ic4c0080fea7da021334aaa1a81b3b7377b06f62f
The device currently targeted does not have a product partition.
Adding product-specific apps to it therefore trips up the artifact path
check for /system.
Workaround that by whitelisting /system/product/% for now. This should
be removed when the device has the right partitions.
Bug: 110072687
Test: build mainline_arm64
Merged-In: I54175bc51df5dfe82c64f66f255a2cea6ff9b9ab
Change-Id: I54175bc51df5dfe82c64f66f255a2cea6ff9b9ab
The app is moving to /product, so doesn't belong in
handheld_system anymore. Note: a handheld_product will
likely be created at a future point in time.
Bug: 110072687
Test: make
Change-Id: Ic2959dd5e218de0fb9c070ba1dd743c57d052234
The app is moving to /product, so doesn't belong in
handheld_system anymore. Note: a handheld_product will
likely be created at a future point in time.
Bug: 110072687
Test: make
Change-Id: I46dc990dfcf4a501c2a362e4ebaa210ba306cee5
The device currently targeted does not have a product partition.
Adding product-specific apps to it therefore trips up the artifact path
check for /system.
Workaround that by whitelisting /system/product/% for now. This should
be removed when the device has the right partitions.
Bug: 110072687
Test: build mainline_arm64
Change-Id: I54175bc51df5dfe82c64f66f255a2cea6ff9b9ab
Individual products can add their own calculator package if desired.
Bug: 120905067
Test: lunch aosp_arm64 && make -j8
Change-Id: I60490b6e2a42c4304768075e8fef9f07cb72d268
For go devices, the network stack should not run in a separate process:
NetworkStackLib is used in-process instead.
Test: built & booted a go and non-go config
Bug: b/112869080
Change-Id: I18b0446a0c0d19519ce0ef344f185b54ad7d4ac6
Needed to get some space on marlin-eng :(
Also avoids static linking libart into perfprofd. Roland will follow-up by reverting the no-perfprofd changes.
bug: 73175642
Test: lunch marlin-eng && m -j32
Change-Id: Ic1c79c6dd1052981801b92604f9891a8a63b4ea0
Test: adb shell cmd overlay enable --user 0 com.android.theme.icon.square
Bug: 118757933
Bug: 118757664
TL;DR;;
RRO apk and it's corresponding actors (applications that enable/disable the overlay)
Actors
[AOSP] packages/apps/ThemePicker is actor for IconShape*Overlay and AccentColor*Overlay
[AOSP] packages/apps/Settings is actor for DisplayCutout*Overlay
RRO packages
[AOSP] frameworks/base/packages/overlays/DisplayCutout*Overlay
[AOSP] frameworks/base/packages/overlays/IconShape*Overlay
[AOSP] frameworks/base/packages/overlays/AccentColor*Overlay
Change-Id: Ibaf5f005d112ad2ee8fc086bd7616b86446794a0
PRODUCT_PACKAGES installs the primary arch variant of executables
and both the primary and secondary arch variant of shared libraries.
It also installs the dependencies of each files.
A lot of audio libraries were listed in PRODUCT_PACKAGES although
they are dependencies of audioserver.
Thus those libraries where installed in both archs whereas
only the arch of the audioserver is needed.
Thus remove all audio libraries from PRODUCT_PACKAGES and have them
installed automatically as a dependency of audioserver in the arch
variant of audioserver.
That should also save ~3MB of space on the system partition.
Test: m -j; du -a $ANDROID_PRODUCT_OUT/system > before
# apply this patch
rm -r $ANDROID_PRODUCT_OUT
m -j; du -a $ANDROID_PRODUCT_OUT/system > after
meld before after
# lib64 is not changed, lib32 does not have audio libs
Signed-off-by: Kevin Rocard <krocard@google.com>
Change-Id: Icbcf4c92d60819ca2f9c14ba0aec043584ed081f
Partial rollback of Id5d114bde8b93800fe52c791ccc47cdffd86f382.
It is likely mainline also wants some of the BOARD_AVB_SYSTEM.. flags,
but I'm not entirely sure which ones.
Test: run build_mixed with this patch
Change-Id: I6ef3c01f6c74e6d93cf798b26b8c7a4785bbefb4
Marlin is full for now.
This reverts commit ede0ba0c3b.
Reason for revert: Marlin is full, those library take too much space for now
Change-Id: I3f355058db318fa77cfce8171fc91d73dc9cc1ca
Make the mainline board config only import a subset of the GSI
options. The current set of attributes is the minimal set to
keep mainline_system_arm64 building, as well as not producing
any diffs in the current set of files in /system. It's possible
we'll need to move a few more over, but we'll do that on a
case-by-case basis.
Make the GSI config inherit the mainline one. The only diff for GSI
should be the addition of BOARD_USES_SYSTEM_OTHER_ODEX.
Bug: 119911662
Test: build mainline_system_arm64
Change-Id: Id5d114bde8b93800fe52c791ccc47cdffd86f382
- LMKD_LOG_STATS being false is a disk-saving flag not suitable
for mainline
- USE_HWC2 should likely be cleaned up, but toggles some timing
behavior in libhwui
Bug: 80410283
Test: build mainline_system_arm64
Change-Id: I8a1be50bd2cc48405656cd1daad8e8a1ca555871
This includes the dns resolv APEX in the system image
Bug: 119527674
Test: build / boot crosshatch
Change-Id: Ie92db9979fb63bfabcd29590d0ea236fd8717970
Before slim buttons and floating were mutually exclusive, now they can
both be enabled as overlays so floating with a slim nav height can
occur.
Bug: 112934365
Test: manual
Change-Id: I34029973b968de725dc918f4ccfcdb12854bccd8
To better test CBRS, we want IRadio 1.1 to be Android P plus CBRS
HAL interfaces, while 1.2 will be 1.1 plus all other Android Q
interfaces. So we are creating V1_2 folder and moving everything
currently defined in android.hardware.radio.config.V1_1 there.
Bug: 117805040
Test: build and telephony unittest
Change-Id: Icf208036385d1d9994d07fe7d839b290f2234622
Merged-In: Icf208036385d1d9994d07fe7d839b290f2234622
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.
Bug: 117805040
Test: build and telephony unittest
Change-Id: I0a0c651b25caa4d0bd88bf51c02a9f7160d0caff
Merged-In: I0a0c651b25caa4d0bd88bf51c02a9f7160d0caff
To better test CBRS, we want IRadio 1.1 to be Android P plus CBRS
HAL interfaces, while 1.2 will be 1.1 plus all other Android Q
interfaces. So we are creating V1_2 folder and moving everything
currently defined in android.hardware.radio.config.V1_1 there.
Bug: 117805040
Test: build and telephony unittest
Change-Id: Icf208036385d1d9994d07fe7d839b290f2234622
The audio shim were never intended to be part of the VNDK,
they are not ABI stable (as they are a shim to a non ABI stable legacy
API) and provide no value as are just a set of simple helper functions.
Bug: 118203066
Test: compile
Change-Id: Ie6f14dc314c46cf8f29ba8dfd872942cda78bca8
Signed-off-by: Kevin Rocard <krocard@google.com>
Some non-phone form factors don't want cameraserver to save storage and RAM.
Pushing it down to handheld and other build files allows selective inclusion to
happen there.
Intended to be a no-op refactoring, will disable for ATV in a follow-up CL.
Bug: 118369095
Test: built system image for random device as smoke test
Change-Id: I260fa5c9e512341d6a6824afebd5e8273fa5e66c
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.
Bug: 117805040
Test: build and telephony unittest
Change-Id: I0a0c651b25caa4d0bd88bf51c02a9f7160d0caff
This is a types-only HAL used by any HAL as a convenient primitive for
effectively using safe_union, so it should be able to be
double-loadable.
Bug: 119790516
Test: build and boot walleye
Change-Id: I8f48ec6e3a0f47bfd5bb90d8c496848fbed85687
These are libraries commonly depended on by things on the product
partition. Add them explicitly for now.
Bug: 80410283
Test: build mainline_system_arm64
Change-Id: I6696990243397aa7109f88951ff120acf2a0f7e8
rss_hwm_reset is binary that reset RSS high-water mark counters for all
currently running processes. It runs in a separate process because it
needs dac_override capability.
The binary is not a persistent service. It is invoked from a system
service by flipping sys.rss_hwm_reset.on property.
Bug: 119603799
Test: adb shell ls /system/bin
Change-Id: Iee0b54ec6486d8f23048819493f6d710db3feff6
From external/iputils
This had been accidentally skipped in automerger.
Test: check installed files on userdebug builds
Change-Id: I26e7cfa03f8a788283bce9c75fc38b4221cd57e6
(cherry picked from commit 0d78e19721)
This ensures all -userdebug builds have the sanitizer-status binary,
which is used to check which build flags were used for a given image.
It is important to distinguish between what the build fingerprint
claims, and what is actually available on the phone.
Change-Id: Iac1eabb8c5ed885a057f7a302b1887b7e9c4ccbc
Merged-In: Iac1eabb8c5ed885a057f7a302b1887b7e9c4ccbc
(cherry-picked from 3a26f80cd4)
Likely not the final setting we'll settle with for this device,
but brings mainline_system builds closer to the device builds
it's targeting.
Bug: 80410283
Test: build mainline_arm64
Change-Id: Ib672d1a060d0ad6a4e1faa210461bbbbaf6f2bc6
This is a workaround solution. It let GSI to unmount product
partition when booting. The patch avoid the problem that
- share UID between between system and product partition
- the product partition override the content under /system/product
Bug: 119391482
Test: Boot aosp_arm64-userdebug on a blueline device with Android P
Change-Id: I48808fcc1ca527a23eb1446b97176b08268b500e
This includes the time zone data APEX in the system image
which should flush out any obvious issues.
Bug: 119026403
Test: build / boot taimen
Change-Id: I3d9a8289d8af405a373c94891b482540e59a3571
Unless specified otherwise (using `DONT_INCLUDE_RUNTIME_APEX`).
This reverts commit 4c39bd2c6e.
Test: make systemimage on taimen-userdebug
Test: make systemimage on marlin-eng
Test: make systemimage on marlin-userdebug
Test: make systemimage on sailfish-userdebug
Bug: 113373927
Change-Id: I1f1f0ffcc7bb6bf26d4df72613a806d2d73c5e82