Commit Graph

3721 Commits

Author SHA1 Message Date
dianlujitao
37e088a2c9 extract_utils: Disable ELF check for shared library
* This is indeed a nice feature, but it's absolutely a bad idea to
   hardcode dependencies of prebuilt modules in proprietary-files.txt.

Change-Id: I8c2d75ff62c0c7862f40e777bcbad4d9cebc074c
2020-09-20 14:56:47 +01:00
LuK1337
22f5c43939 lineage: Switch generic targets to common_full_phone.mk
Change-Id: Ib998fb9a5d604761d0ddf9b2c25cab444c7a5b80
2020-09-18 22:37:47 +02:00
LuK1337
d034c3f7bb lineage: Disable inline kernel building for generic {arm,arm64} targets
Change-Id: I766779a2babc170481174899aaf610cbfeb8d754
2020-09-18 22:37:47 +02:00
LuK1337
41ded0c93e lineage: Manually include gsi_release.mk for generic lineage targets
* AOSP wrapped these around aosp_{arm,arm64,x86,x86_64} checks
  thus we need to have them here instead.

Change-Id: Ia3e1e37361330c4b28759f07a3fef6c78565e958
2020-09-18 22:37:47 +02:00
LuK1337
9b0a82264e lineage: Disable SDK addon for generic arm/arm64 targets
* Android Studio SDK addon is currently broken for generic arm/arm64 targets
  and besides it only makes sense for x86 targets

Change-Id: I6832cc99e0dcefb60c9fb187811821ab1b40e7e0
2020-09-18 22:37:47 +02:00
LuK1337
b08890156e lineage: Relocate config_keyguardUserSwitcher overlay to proper path
Change-Id: I1a1c093b39dbd119e976582f23eb551986caaa84
2020-09-18 19:09:19 +02:00
Alexander Koskovich
411066c311 extract_utils: Fix system_ext framework blueprint generation.
Change-Id: I20e44be6ea48b9bd5b05055d3cf465f63c908463
2020-09-17 10:00:17 +02:00
Jan Altensen
560ac4a965 bacon: switch to toybox md5sum
* fixes "error: MD5SUM is obsolete."

Change-Id: I38e167e24e9eb5596a1e8e2f2d915f648bc1283c
2020-09-15 13:17:38 +02:00
dianlujitao
b492f3f8cd config: Don't append extra $ to TOOLS_PATH_OVERRIDE
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
2020-09-15 13:13:58 +02:00
nebrassy
e7501b2499 vendor: BuildOsVariant > BuildOSTarget
Fixes the following build error:

   vendor/lineage/build/soong/generator/generator.go:125:26: ctx.Config().BuildOsVariant undefined (type android.Config has no field or method BuildOsVariant)

Change-Id: I3385941b2931e5be8010d31f80f3aa033d0d3727
2020-09-14 11:18:52 +02:00
Jan Altensen
dd29a4766a Lineage 18.0
Change-Id: Icda4887efd1a965530213f82fbbf8ae908843b05
2020-09-13 19:45:42 +02:00
Luca Stefani
0409f23119 extract_utils: Add support for system_ext
Change-Id: I0760cdd9bec1a0a0551aa68a60c34f9c00932668
2020-09-09 20:17:37 +02:00
Luca Stefani
e30626da11 Revert "kernel: prevent additional config from being always rebuilt"
This reverts commit 70d5cc42e0.

Reason for revert: Mismatch module/kernel 

Change-Id: I2ae2df476f6cc06c8732336f325822cc2214ef79
2020-09-04 13:31:08 +02:00
LuK1337
2baeb4fb8b kernel: Use CPATH for including host headers
* Fixes build on distros where CAP_LAST_CAP @ /usr/include/linux/capability.h
  doesn't match target device kernel src.

Change-Id: Iafdf9694fd165c83b22bd95df95e940ecceb0fdd
2020-09-02 19:44:54 +02:00
Adrian DC
70d5cc42e0 kernel: prevent additional config from being always rebuilt
* A simple "make kernel" or incremental system build
   always triggers a complete kernel recompilation,
   even though the kernel sources were unchanged

 * The reason is because .additional_config is always
   considered new and invalidates the .config file,
   forcing the kernel to rebuild itself every time

 * Instead, prevent the /dev/null and KERNEL_OBJ dependencies
   having irrelevant timestamp changes with an empty variable

 * Command "make kernel" takes 3 seconds versus 40s before

Change-Id: I3b583077b7ef5873eebde3e4b0e790f5d7587ed3
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2020-08-30 17:43:42 +02:00
Aayush Gupta
1de3b3019f vendor: kernel: Add back support for custom dtboimg makefile
It was removed accidentally in commit fe00ea9.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: Icadd7b17b3a732fc2c8aa14f1e4dbd4bc66eb7f9
2020-08-25 14:08:50 +00:00
Weikai Kong
8431a67c0c Revert "kernel: Set full path to DTC"
This reverts commit 5061962d73.

Reason for revert: breaks build with upstreamed dtc >

Change-Id: Idcbb7b95bd54bb6ecfe30f3d55ee90bd57708995
2020-08-25 00:54:30 +02:00
Luca Stefani
05ce3dc8c0 kernel: Add support for mkdtimg cfg_create
Change-Id: If761bb034c175a03a10e5f70753db3a3ded496a8
2020-08-22 20:27:04 +02:00
Luca Stefani
16ea81423c kernel: Switch to mkdtboimg.py
Change-Id: I6f444a3e2265f163e84eaf00d054697dbcf0f803
2020-08-22 20:26:54 +02:00
Luca Stefani
fe00ea90c9 kernel: Rework how DTB/DTBO are built
* Remove the separate dtbo.mk task and merge it
  in kernel.mk
* Merge in-kernel and separated DTBO image generation

Change-Id: I2cae84095cbd3d68abbe1899a9cae34c8a1e5fc9
2020-08-22 20:26:13 +02:00
althafvly
14c51c7c4a vendor: apns-conf: Add Hits APN
Fixes : https://gitlab.com/LineageOS/issues/android/-/issues/2386

Change-Id: Ie6c3a0a33291f3a1e03abffec5e2dfa62f5773d2
2020-08-20 11:45:46 +02:00
Wang Han
8038c023f4 overlay: Remove voicemail number configs
* This is not a thing since 2016.

This reverts commit 8d446d533d and f61c4532dc.

Change-Id: Ie870f0c486043b57e4b8b10693830331540ae013
2020-08-20 08:58:05 +02:00
Wang Han
c2f5e8f1af Revert "overlay: Enable Visual Voicemail for Verizon devices"
* This does not do anything since 2018.

This reverts commit 7f001b1c37.

Change-Id: Ie870f0c486043b57e4b8b10696830331540ae013
2020-08-19 17:30:06 +02:00
Aayush Gupta
cbf799ec06 vendor: Drop verity tool
Disabling AVB (1.0 & 2.0) is now done with flags in board and in kernel.
In both cases, it's done device-side by default.
Henceforth, drop the tool as isn't even built nor shipped.

Reference:
[0]: https://review.lineageos.org/q/If1d641c8ce4598864a9aa6f23dbf2ac7bdddd4cf
[1]: https://review.lineageos.org/q/I381feef8f6fefc8449ca50d85d704b67bcc8a77e
[2]: https://review.lineageos.org/q/I97f1169a7cfccc78530b9869a407b3a9eade31ab

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: If39f2b943b8af83ded6b183738f2f4e91cab13be
2020-08-17 20:06:14 +02:00
Chirayu Desai
5061962d73 kernel: Set full path to DTC
* This makes it use the latest source built dtc instead of the prebuilt,
  which is too old for coral/4.14
* Would be best to have it use the in-kernel DTC though,
  as that should always work for that particular kernel.
* When OUT_DIR_COMMON_BASE isn't set, this path is relative (i.e. out/),
  so append $(KERNEL_BUILD_OUT_PREFIX) to account for that.

Change-Id: I6ffe72a2fb061ee81b385f31f4acf682876b27c8
2020-08-16 18:09:30 +02:00
Rashed Abdel-Tawab
e523884e31 kernel: Make dtb.img depend on dtc and dtbo.img on mkdtimg
Change-Id: Id079861b43862881f6a00ec70a585d98d42c4687
2020-08-16 18:09:30 +02:00
althafvly
5c57616d9b vendor: apns-conf: Drop proxy for Movistar
Updated from : https://comunidad.movistar.es/t5/Soporte-M%C3%B3vil/APN-de-MOVISTAR-Android/m-p/1248474

- Fixes https://gitlab.com/LineageOS/issues/android/-/issues/2169

Change-Id: Ia1181c8fd3a5c066e1ac74b28b0e76d0c3f4626d
2020-08-14 07:56:45 +02:00
Aayush Gupta
d395aa21eb repopick: Address PEP8 warnings regarding indentations and variable naming
- Format variables into snake case
- Add spacing between # and text
- Space after ','
- Test for membership with "not in" instead
- Remove too many empty lines

Ref:
[0]: https://www.python.org/dev/peps/pep-0008/#function-and-variable-names
[1]: https://www.python.org/dev/peps/pep-0008/#block-comments
[2]: http://pep8online.com/

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I16dedf465674056571782921983eb3ec4276a1f8
2020-08-08 21:23:41 +02:00
Aayush Gupta
5fd8e2b1ee repopick: Use empty metavar parameter to fix help's indentation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I05329c3e5d234846a65f230f69d6b36aa3cc6fa1
2020-08-08 21:23:27 +02:00
Luca Stefani
fb58f7805c kernel: Bail-out if kernel config isn't set
* And remove stale info comment

Change-Id: I0cdd5ff54ed316858045f4c4ada4d78e593667cd
2020-08-06 17:29:39 +02:00
Luca Stefani
4b7a0a0756 kernel: Add support for module aliases
* On devices using vendor_overlay it could be useful
  to be able to re-name the installed modules to
  match the ones in vendor
  -> An example is QCOM techpack where default module
     name in kernel doesn't match installed module
     name

Change-Id: If9458bca06218aeb8c91283057c083d909bf5104
2020-08-06 17:29:39 +02:00
Luca Stefani
edc2e0c2eb kernel: Allow installing modules on vendor_overlay
* This allows to easily overlay kernel vendor modules
  on devices with prebuilt vendor.img

Change-Id: Ie870f0c486043b57e4b8b10696830331540ae010
2020-08-06 17:29:38 +02:00
Han Wang
939e2e69d1 prebuilt: Clean up lineage-system.rc
* There is no reference to ANDROID_CACHE now, and
   /persist does not exist on most devices, neither
   can we write to it.

Change-Id: I91af1e6f571ced317d195e3a7901bf4c269486a1
2020-07-31 17:47:04 +02:00
Aaron Kling
7d6601cf02 repopick: Use upstream instead of revision to determine branch
This is to allow repopick to determine a branch even on a
revision locked manifest. If upstream is not set, it falls
back to revision.

Per the repo manifest documentation:
Attribute upstream: Name of the Git ref in which a sha1 can be
found. Used when syncing a revision locked manifest in -c mode to
avoid having to sync the entire ref space. Project elements not
setting their own upstream will inherit this value.

Change-Id: I12876f7e3b440f9eab6d1b96eba9b18a13cff2e0
2020-07-20 19:23:05 +02:00
Oliver Scott
99228d6db7 lineage: update GMS updater component disable list
Google has introduced new components that handle their system updater

Change-Id: Id5bb31af01736ac3a0e5b652c0d8be72c09df93a
2020-07-13 20:04:01 +02:00
Michael Bestas
b901116d5e Remove deprecated backup overlay
* This lives in a different package now and it is
  included in framework-sysconfig.xml

Change-Id: I0ec218b2cb91476efe62ad4a9578ac850b5f22ef
2020-07-12 19:50:10 +03:00
Aaron Kling
d97bfec63f repopick: Fallback to name when project path is empty
When a manifest project path and project name is identical, the
repo manifest parser returns None for the project path. Since
both name and path are required, fall back to using name for path
when path is None.

Change-Id: I2fb3cc0cc643808a3049171804742f249d737679
2020-06-28 18:38:47 +02:00
dianlujitao
83d2fa4198 Export CAF msm-4.14 audio headers
Change-Id: Idc7def38ad90abf4a62e30b3cec97bcb76696a6d
2020-06-28 22:16:44 +08:00
LuK1337
b82776e2a4 qcom: Add UM 4.19 platforms
Change-Id: Ida4861b95b0b9748ef3848674b7121010126dd3d
2020-06-25 20:17:38 +02:00
TheHitMan7
eb18aa6af9 qcom: Add atoll platform
Signed-off-by: TheHitMan7 <krtik.vrma@gmail.com>
Change-Id: Idc74d064620649e7423a2fee076da8bd43e1cbd3
2020-06-25 20:16:52 +02:00
LuK1337
87467210f3 config: Move default alarm/notification/ringtone sound props to /product
* Allows us to override /vendor properties.

Change-Id: Iea344d347d8f10094f04cfb4a0bf1d4352fb667b
2020-06-24 17:14:59 +02:00
Eloi Carracedo
e82e08ac6c Update Bulgarian dictionary
Sourced from: https://github.com/dslul/openboard/pull/108

A total of approximately 750 words and their forms were added. The first line was amended with the new version and a correction for the name of the dictionary, which did not list the language name with a capitalized first letter as it should have.

The newly added words are mostly names of local dishes (cuisine), old or dialect words, Turkish loanwords that are commonplace, curses and offensive words and words pertaining to gender studies.
As is noted in the original source (https://github.com/dslul/openboard/issues/105), the new lines received the addition of ',flags=originalFreq=' for future proofing, but the old lines did not.

Other things to note if somebody wishes to improve this in the future:
1. The general frequency is skewed and needs to be heavily improved.
2. Offensive and possibly offensive flags are missing, as are any other flags that may exist.
3. Common personal and family names, famous historical figures' names, as well as monikers and/or celebrities' pseudonyms could be added to further enrich the dictionary.
4. The prefixes 'по' and 'най' (hyphenated in front of certain words) can't be handled by the dictionary as is.

Change-Id: Iee6d2e43166b324ec16f5bbe00dceac8b9289b67
2020-06-08 17:57:16 +02:00
Nolen Johnson
af32ee6d3f partner_gms: Support TV GMS
Change-Id: I16c1f4a868c119b54da3e41c2e5b7e6bf7e0a53e
2020-06-01 14:51:49 +02:00
TheScarastic
612c5a846e soong: Add flag for fod extension
Change-Id: Ib45706cc50fa88b9b05af1c68eec9d1f08d70569
2020-05-31 16:06:57 +02:00
dianlujitao
a24144faf2 kernel: Add bison and flex to build environment
* Required since Linux 4.16

Change-Id: I107ea1b097d72a7b5251273c8c7e33ad6585b59c
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-05-29 17:31:10 +02:00
Sam Mortimer
d3a50ee866 vendor/lineage: emulator should have mobile config
* It's missing launcher and browser (etc) otherwise after:
  8926990865

Change-Id: Ie7c1983eb88c9bf1411c069303e3e55fda150f06
2020-05-29 10:33:19 +02:00
Jesse Chan
3e7d232483 Implement hide gestural navigation hint bar [5/5]
Change-Id: I4a41117892eb275cc696907e4756fd52c85ede03
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-05-27 16:09:20 +02:00
Andreas Schneider
b1d3f65ac2 extract-utils: Fix usage for ETC files which need sub_dir
Thanks to Tad.

Change-Id: I6a0e7978afce6444d0827f97d7686f23aa7500c9
2020-05-25 23:52:52 +02:00
dianlujitao
48917cc909 Export qcom UM hal root to soong
Change-Id: Iabb75e8745dba9069c2eab0d5ef41b2171f4c048
2020-05-25 23:51:08 +02:00
LuK1337
deb21830ac config: Build Etar
Change-Id: I5cc6e50a8fbc3b0f86793292330edcd33b6d9c48
2020-05-25 23:45:30 +02:00