Avoids:
$ lunch lineage_sdk_phone_x86
grep: build/make/target/board/emulator_x86/Makefile: No such file or directory (x4)
Change-Id: Ie803d5ca93e6e7ae94625e7ee3ab0bf337e0515d
* Currently, because DTC_EXT make flag is in the
kernel task the only way to override it is to
have TARGET_KERNEL_ADDITIONAL_FLAGS come after.
Change-Id: If62ed979581dc07eafd4628ce2b2d799388d3704
This soong variable is used to conditionally revert a commit [1]
which causes random camera crashes on tama devices
[1] a9550f3fe9
Change-Id: I749c7029f8f2b6d6d95b066aed4929c33e3c75e7
Flag PRODUCT_IS_ATV must be set for all ATV targets,
so Automotive targets can follow and adopt PRODUCT_IS_AUTO as well.
No need to export WITH_GMS_TV or WITH_GMS_CAR anymore.
Change-Id: I7f35e7fa731f7cee239aff03c99b83975abbb56e
msm8953 has updated HAL projects. Make use of them.
This can be made use of by setting `TARGET_ENFORCES_QSSI`
to true.
Change-Id: Ib7ababd52470913c915f1da3d6b726eff2f38410
Include translations for languages not available in AOSP.
This used to be split to each repository but it required forking AOSP
repositories just to add translations. Including them via overlay
avoids forking and makes the translations more portable, they can even
be used on pure AOSP builds.
Make them built in to avoid RRO issues.
Change-Id: Icc4c7b3a583c3d8a139a4a9a856dfca57952e131
This isn't used in official builds. TARGET_UNOFFICIAL_BUILD_ID
is enough for people that make unofficial builds.
Change-Id: Ib6d1acb4ab8d7401ea0577f439e8288aed3f9bbb
This isn't used on official builds and it doesn't make sense
to keep complicated custom logic for display version.
Change-Id: I3928d6e9dc932589868542e916ebd659265d6c54
It's completely broken as of Android 12L. Make it available only
on devices that inherit from full_phone configs.
Change-Id: I1b5d39e09b6223c78c4afb7b4480c654d848c36b
* Now that PRODUCT_PACKAGE_OVERLAYS is used instead it's fine
for Lineage overlays to be in RROs, they won't end up on
/vendor.
This reverts commit e4868ccb6b.
Change-Id: I26cb53f6b773821cbb08e4eb309f88d736a31609
So far, tablets with telephony have been inheriting from
common_full_phone.mk, but that's not really proper because
such makefile now enables one-handed mode support
(setting prop ro.support_one_handed_mode to true).
Fix this by creating new makefiles that can be used also
to include more tablet-specific configs moving forward.
Change-Id: I90c22badb17911ef5e873299d986204718300e6c
* GCC was deprecated awhile ago, the large majority
of devices should now be using this. Clang should
be opt out as opposed to opt in.
Change-Id: Ie388aff8eca189663f2f615f7d059e47eaf2dce3
* Except for Android TV, which requires them to boot.
* Most people on mobile and car builds won't want mainline
modules, as they may conflict with LineageOS features.
Change-Id: I9b4db3e6a109b834963a4ddacacc855dc55c258c
Instead of hardcoding the GMS variant, allow to set the makefiles
which should be included for WITH_GMS builds.
For example:
Project FI
- WITH_GMS_FI := true
+ GMS_MAKEFILE := fi.mk
Go devices
- WITH_GMS_GO := true
+ GMS_MAKEFILE := gms_go.mk
+ MAINLINE_MODULES_MAKEFILE := mainline_modules_low_ram.mk
Mainline modules without updatable apex
+ MAINLINE_MODULES_MAKEFILE := mainline_modules_flatten_apex.mk
As you expect GMS to be configured the way you specified them, this
change also causes the build to error out, if a makefile can not be
included.
This excludes mainline modules to allow including GMS without using
mainline modules.
Change-Id: I0ab61449ed7cc60e72bf519f91c29712055f8a74
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* Udfps doesn't need this anymore.
This reverts commit 276e7770bf.
Signed-off-by: TH779 <i@779.moe>
Change-Id: Ie26895d2c32b6544334efd46bb5ca73455ed99cb
* DEVICE_PACKAGE_OVERLAYS corresponds to overlays that
are device specific, these are not so they should
belong in platform.
Change-Id: I8684e10a370ba1b9f0a725c0f199d167a98d1668
Add a new charger as a possible replacement for the AOSP charger.
Co-Authored-By: Tim Zimmermann <tim@linux4.de>
Change-Id: Icdf7ad770bb353f082759b76fd4e58910e8d72e3
* Let people include it if they choose to.
* Avoids issues where people who previously didn't need
compatibility matrix's are hitting checkvintf errors.
* Fixes breakage in: 78870c267f
Change-Id: I33bc1e67e7f9eb9a01930113535800a8e4f539fd
Makefiles combining core lineage and automotive packages.
Can be included by devices to turn them into Automotive builds.
Emulator targets demonstrate using these makefiles and form a basis for Automotive GSIs.
Change-Id: Ib5d35dfe4de8c459e4e14a7ba6f0b0e682e0d912
* Needs to be an env-var, or when Android.mk is read in partner_gms
we runinto issues with the var not being set yet.
Change-Id: Ia90f9a6c97ebf406a0f3c1848286300cace2c2c9
* TARGET_FORCE_PREBUILT_KERNEL should be useful when you don't have ready kernel sources (OEM releasing broken sources or releasing them lately)
* It lets you use kernel sources for userspace generated headers (generated_kernel_headers) while keeping using prebuilt kernel
* Keep in mind that generated kernel headers may not align with the ABI of kernel you're including
* This commit also partially revert commit a836d79, where TARGET_KERNEL_SOURCE would have been unset if TARGET_PREBUILT_KERNEL was defined (we already check in kernel.mk if kernel sources are present anyway)
Change-Id: I84acae890dabb5b9dbd48143ad58f6420c0cef75
Pixels tree have moved AB_OTA_PARTITIONS to BoardConfig.mk,
which is unavailable when parsing config/common.mk
In order to still copy AB backuptool scripts for them, check for
AB_OTA_POSTINSTALL_CONFIG too which still lives in device.mk
Change-Id: I871e2595bc4f083db6491de0d9574bae2794e654
* Test: Press the 'Messaging' button from 'Contacts'
* Detailed in frameworks/base/data/sounds/README.txt
Change-Id: Ia83852f5d92279e9c3ba83f81b2fed3a9a70e0e9
The mk files in vendor/qcom/opensource/dataservices were
converted to bp, so this is needed to avoid duplicate module
build errors on devices that use a different dataservices lib.
Change-Id: Ic5c1ad77342c045253cfd093c76706862ed6fd0e
We need a simple service to provision DeviceConfig for setting various
config defaults, like enabling permission hub, without modifying the
AOSP source code directly. Build our custom service to do the
provisioning from resource overlay values instead.
Change-Id: Id2910d799b503c339f56e7f92a5e5f3ba93a5296
This plugin that provides the wallet (cards and passes) integration in
the power menu is now open-source, so let's build it.
Change-Id: I5df8a09c8f91805df538bc7ddad6d326f5d9b13e
Some legacy devices experiences bad lag unless this is disabled.
Disable it with:
TARGET_DISABLE_POSTRENDER_CLEANUP := true
Change-Id: I2b40dc4cbcab06fb293d1f407321af2fae846a51
Trebuchet is also available as a Go version, so modify the existing
configs to allow it to be shipped in Android Go enabled devices.
Change-Id: I29f203b3fa19bc955976ee6c3da4142a4ab325bf
This was added in commit 8926990 for no apparent reason. Let's not
forcibly include these packages in every build, because most phones
already inherit from AOSP's full_base_telephony.mk anyway.
Change-Id: Ib7986b7f7edd58a7043c793e6ba566d3dcf5a2a6
- Been broken since a while. I don't see any devices using it as well.
Most devices have explicitly set it to false instead.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I178ecd5213bc0c99f97cbbd9c41fd648598edd77
* android-11 removed M4 from the Allowed list, and provided a
prebuilt binary in prebuilts/build-tools
Change-Id: I83d033ecd35a0e2318210e47309fcc010843347f
This fixes build system error:
internal error: panic in GenerateBuildActions for module "generated_kernel_includes"
error parsing Command param: invalid character after '$' at byte offset 579
Change-Id: I3f788ff61fc101b7682d5c64d0e9aa2aba48c49b
* Remove the separate dtbo.mk task and merge it
in kernel.mk
* Merge in-kernel and separated DTBO image generation
Change-Id: I2cae84095cbd3d68abbe1899a9cae34c8a1e5fc9
By setting QCOM_SOONG_NAMESPACE in device.mk
This will allow a device to specify a device specific branch within
hardware/qcom-caf/ or the device tree.
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I39693a0fb9665129f0810590d389c4cb06cdf8d7
Move required permissions to the respective apps.
This allows people to use a lot of our apps outside lineage
without extra changes.
Change-Id: I840a9edeae38e94ff6592c4817fcea6f5e4a7e8f
There are a lot of apps installed by default that are unusable with
a controller. This splits the mobile related settings out of common
into a common_mobile config and adds common_tv.
Note: The EXCLUDE_AUDIOFX flag was removed from the tv configs
because the new config path no longer builds it.
Change-Id: I67db32750fca91725d703243f2bcee8bcd9b82cd
* APEX is useless to average Lineage user, as we aren't
licensed to ship the GMS APEX's, nor would we want to,
as we want to keep compatibility with non-GMS use-cases.
* Additionally, APEX's should each be signed with their
own unique key, and number of them can vary per-device,
which makes signing them in a standard way on infrastructure
quite complex.
* Though this flag is default, we need to disable it
explicitly to make sure any maintainers who set up the
configurations for APEX images won't change needs of
infrastructure. This will allow people who want to build
locally to use full APEX(s).
Change-Id: I7f2eb52593eeca1b3761a7a163ce9079995870c6
* We can survive without granting this permission
out of box, also fixes Exchange-less boot up
exception.
D AndroidRuntime: Shutting down VM
E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E AndroidRuntime: java.lang.IllegalArgumentException: Unknown permission: com.android.email.permission.READ_ATTACHMENT
E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:2103)
E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:121)
E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.grantRuntimePermission(PermissionManagerService.java:3032)
E AndroidRuntime: at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:5800)
E AndroidRuntime: at android.app.ApplicationPackageManager.grantRuntimePermission(ApplicationPackageManager.java:684)
E AndroidRuntime: at com.android.server.pm.permission.DefaultPermissionGrantPolicy.grantRuntimePermissions(DefaultPermissionGrantPolicy.java:1217)
E AndroidRuntime: at com.android.server.pm.permission.DefaultPermissionGrantPolicy.grantDefaultPermissionExceptions(DefaultPermissionGrantPolicy.java:1381)
E AndroidRuntime: at com.android.server.pm.permission.DefaultPermissionGrantPolicy.grantDefaultPermissions(DefaultPermissionGrantPolicy.java:297)
E AndroidRuntime: at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21731)
E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:2037)
E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:529)
E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:356)
E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:908)
Change-Id: If2caad2b004820b10b7095a4bb4307d0f065c723
Permission no longer required because Styles handling was
removed from LineageParts. ThemePicker is our best friend now.
This reverts commit a7b0cf7ec3.
Change-Id: I003cd2281de9f7edbd81a15e0c1b1258e537ccb3
These vars are no longer useful as of Q because it looks like CAF dropped
their surfaceflinger extensions (ExtSurfaceFlinger).
This reverts commit 97cb87c809.
Change-Id: I09701f6a47830a30486f35052b4ea7ab15a9660b
* The messaging app is notorious for late notifications
of messages. Whitelist it so it can be active during doze.
Change-Id: I932c89b27d76c114be67eaed62a3c021c219ca3a
* Newer pixel devices get AB_OTA_UPDATER enabled from
build/make/target/board/BoardConfigMainlineCommon.mk which
is not included in time for this check.
Change-Id: I1679709b7178398ffaa62ad14a6d042ff377fd5a
As of Q, micro_bench is dead. The rest are already part
of PRODUCT_PACKAGES_DEBUG in the main base_system.mk.
Change-Id: Idc91e572e83d227652802bbc8da71238596d28ea
Our build/make changes break incremenetal builds with prebuilt dtb dir
(see discussion here: https://android-review.googlesource.com/c/platform/build/+/1134337/1/core/Makefile )
Instead of using the AOSP recipe, just define our own and use it by not defining
BOARD_PREBUILT_DTBIMAGE_DIR
Change-Id: If579b1670db447557b6f76ca79ecec22661c4080
* OpenSSL cannot be statically linked because of
getaddrinfo and gethostbyname calls.
* Also according to soong it's whitelisted:
33f9529962/ui/build/paths/config.go (L98)
Change-Id: I1718bd98e7ac30d31de38c2cd3bc3e51b7100ce4
Previously, this would be a full compile prefix
(e.g. prebuilts/gcc/.../bin/aarch64-linux-gnu-). Since we're adding
this to PATH, it only needs to be prebuilts/gcc/.../bin.
Also remove the extra /bin/ added by kernel.mk.
Change-Id: If2490729128c0243c61de646f6c8e19a15c8dc1c
* Though there is no LineageHW anymore, don't forget
LineageHardwareService in our sdk depends on it to start.
Change-Id: I8befe1a75b66f54d9ffd7b88871c187a21b08497
Calling is-board-platform-in-list from this makefile was not
returning the desirable output, thus resulting in a failure
to meet the conditions for the UM4.9 and UM4.14 family platforms.
Due to the fact that this makefile is included in a very early
stage in the build process, the QCOM macros are not defined.
Simply use standard macros like in rest of the makefile.
Change-Id: Iad889882f94167f1bc1761ddd549dac9dcdee3ba
* Reorganize
* Remove no longer used Development package
* Remove LiveWallpaperPicker/PhotoTable which are included in full_base.mk
Change-Id: I56f9f586f27172e7336699dbe57f7a43d7ef8722
* No longer used by any device and fw/base part is missing
Revert "Update boosted audio files 2/2"
This reverts commit 103c64a964.
Revert "Add volume boosted ringtones (1/2)"
This reverts commit a1c783fb28.
Change-Id: I384f44d515e2bcc237662184de0830836ba95b09
The kernel make command is executed in the build root. Without absolute
out paths, kernel out start with "out/" meaning it would be created in
the kernel source. Add BUILD_ROOT to the argument to ensure it's always
made in the actual out/ dir.
Change-Id: I425134a893d4d5c9f31efccaf75e153b5462b76c