This reverts commit d0b532aaf4.
Reason for revert: likely cause for broken build 5211430 and later
Change-Id: I3c4fef262a5d387eebf8eba23f8e30abcea6c450
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
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
- 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)
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
This reverts commit cb6e935db8.
Reason for revert: Increases the system image size beyond the
limit for some targets (e.g. marlin).
Bug: 113373927
Change-Id: Ia609523a60179c32d377d0735049c944464ea0cc
Required by certain ringtones, apparently (though I couldn't find
what actually uses this library).
Bug: 80410283
Test: lunch mainline_arm64; m
Change-Id: I36b5b07156b41c442903d7d07e6b9d9f4abe2345
This is disabled by default, but can be enabled via a
config overlay.
Bug: 116191025
Bug: 80410283
Test: make
Change-Id: Ibfe5d85580ccccc774de166750d91efd74458a8d
Remove apex_debug_key, in favor of apex.test.key which is under
/system/apex and is built with soong.
Bug: 118213152
Test: /system/etc/security/apex/testkey exists
Change-Id: Iaa0facea2d26cadd48783778e8915bc3c560de10
Bug: 118510237
Test: Boot and test callback on ThermalHAL 1.1
Test: Boot and test callback on ThermalHAL 2.0
Test: Kill ThermalHAL process
Test: Change device threshold to trigger shutdown
Change-Id: Icb2575d3560847b4d3b5869c6dcb64dc9a728af9
Some libs, such as libandroid_net.so and some other Renderscript related
ones, can't be built in PDK due to missing frameworks/base.
Bug: 118634643
Test: build PDK; build doesn't break due to missing VNDK libs
Change-Id: Ic2bf657d796c2044c3b8f49b2963ca84760d54d1
Locales not in this list will get stripped.
Bug: 80410283
Test: lunch mainline_arm64; m
Change-Id: I90a63e234e2f2ee32da8f9f257248f5ee6354151
Merged-In: I90a63e234e2f2ee32da8f9f257248f5ee6354151
(cherry picked from commit d994b0dc98)