Commit graph

3265 commits

Author SHA1 Message Date
Simon Shields
8d96edd816 build: dt_image: support prebuilt DT images
If for whatever reason we need a prebuilt DT image,
it has to end up in target files for the signing slave.
Change BOARD_KERNEL_PREBUILT_DT to hold the path of the
prebuilt DT image, if it's going to be used.

Change-Id: I8042d347d271da5c3963824777d399bbc4229aa9
2018-04-13 22:08:42 +02:00
Simon Shields
9b69c8900b lineage: enable building otatools with generic targets
Change-Id: I4bbd32378e159084f8e5dfb852749f77feb31788
2018-04-12 16:35:08 +02:00
Vladimir Oltean
a48b9fe9b6
write_makefiles: fix paths in BUILD_PREBUILT with destination
* proprietary-files.txt entries such as
   "-app/TimeService/TimeService.apk:priv-app/TimeService/TimeService.apk" should
   generate a "LOCAL_SRC_FILES := proprietary/priv-app/TimeService/TimeService.apk"
   in the Makefile definition.
 * However, currently, the prefix_match function is being called on the whole
   PRODUCT_PACKAGES_LIST entry (whole line, including ":"), and therefore,
   TimeService.apk would be included in the APPS list instead of PRIV_APPS.
 * Furthermore, because of the incorrect prefix_match, the generated
   LOCAL_SRC_FILES is "proprietary/app/priv-app/TimeService/TimeService.apk",
   which breaks the build because there is no file at that wrong path.
 * The fix is to make the extract function match up with write_product_packages
   by applying the target_file function on all BUILD_PREBUILT source files.

Change-Id: Ib4859b8854db0f2142bb3f28cce8dd25f7141732
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
2018-04-09 12:55:31 -07:00
Gabriele M
af970b695c repopick: Allow to pick changes by URL
Change-Id: I460c987cc03c4f6ff03ecab1bc39e52cec413c13
2018-04-05 17:34:16 +02:00
Gabriele M
88c0e5d1af repopick: Actually print the patchset number
We are printing the change number twice...

Change-Id: I4f63766d4162f5d016badad662842badd6da3588
2018-04-05 17:34:15 +02:00
Gabriele M
de9e0ae0a5 repopick: Ignore the trailing slash in change numbers
Trailing slashes cause 'patchset' to be an empty string, which
cannot be converted to an int. If we have a trailing slash, ignore
it and pick the current patchset.

Change-Id: Ifad60b7f6ff3dcfd9dd80b2e93b1f909aa360666
2018-04-05 17:34:15 +02:00
Gabriele M
5b610aede3 repopick: Try to keep the changes sorted
Sort the changes according to their parent first and then according
to their number.

Change-Id: Iebdb8789728b2ccd528e19437e162129eb27973c
2018-04-05 17:34:14 +02:00
Giuseppe Barillari
d96e292164 lineage: Camera2 priv-app permissions whitelist
Change-Id: I5247f0640a2b842a9930f0f7a1d1a794751f100f
Signed-off-by: Giuseppe Barillari <joe2k01dev@gmail.com>
2018-04-05 05:12:11 +00:00
Abhisek Devkota
63fb87ba47 vendor: More priv-app whitelist updates
Output of https://source.android.com/devices/tech/config/perms-whitelist

Change-Id: I68ec610cf99399016fe1482730791c9b5e8ae1f5
2018-04-05 05:12:00 +00:00
Paul Keith
a23592c7e9 Revert "LOSCoins"
This reverts commit c9c7968e59.

Change-Id: I20259fea456b415e5136e241e47e08df1a3b0fb5
2018-04-02 00:45:00 +00:00
Joey
c9c7968e59 LOSCoins
Change-Id: I433740f2e3102eeb06b471e80ca6539971a05613
Signed-off-by: Joey <joey@lineageos.org>
2018-04-01 07:42:00 +00:00
Joe Maples
9be579f8d7 extract_utils: Use vdexExtractor for extracting oreo classes.dex
vdexExtractor is a tool made by anestisb that is written in C++
with code taken directly from art. However, anestisb has also added
a quicken decompiler to oatdump that was merged upstream, so we only
need vdexExtractor for 8.1 and 8.0.

Change-Id: Ic2cf2dc627a1ad2fa4d500d02d9eac8b8a9577b5
Signed-off-by: Joe Maples <joe@frap129.org>
2018-03-30 20:46:07 +00:00
Alexander Kaindl
fb7b1fd92a apn: Add APN for spusu MVNO
Change-Id: I3772b955f758083986d8d2862cf3ec32609c19a1
2018-03-29 18:28:19 +00:00
Joey
7091a4ff7a Make Cyan[...] great again!
Change-Id: Iac2b7ccc5a3a26a36d5651923011064b3363b156
Signed-off-by: Joey <joey@lineageos.org>
2018-03-29 08:27:23 +00:00
nicknitewolf
0bb793eb38 envsetup: Update default path for SDCLANG 4.0
Change-Id: Ia5eebb977a1f90c94557d27386d2b6d907ac4483
2018-03-27 17:09:52 +00:00
Anshuman Dani
b72f8c924e Always use my_installed_module_stem instead of my_built_module_stem
This will prevent link errors in case my_installed_module_stem is different
from my_built_module_stem.

Change-Id: Ic72571637ea404c92128b9cd5a28e82a36bc0033
2018-03-27 17:09:52 +00:00
Pengxuan Zheng
7f5d4e1050 Add support for using the secondary SDLLVM toolchain
If LOCAL_SDCLANG_2 is set to true, the secondary SDLLVM toolchain
(SDCLANG_PATH_2) will be used instead.

Change-Id: Icb7492562aeaa3c584edcbced8fe1e98776774bd
2018-03-27 17:09:52 +00:00
Mandeep Singh Grang
dc8df22add Rules to enable LTO for Adreno GFX driver.
This patch controls rules when LTO is enabled for Adreno GFX driver.

Change-Id: I45bd163889ffd3e0237d5451adaca0fc411b14f8
2018-03-27 17:09:52 +00:00
Rashed Abdel-Tawab
31eec2059a soong: Add TARGET_USES_QTI_CAMERA_DEVICE
Change-Id: I925b137edeed9fa11bbe566002147b444328c661
2018-03-24 18:33:48 +00:00
Simon Shields
6f68de1a32 lineage: add generic lineage targets
These are used for building addonsu.

Change-Id: If6def9729328ea2ce1e977fd7b9ff42cfc2f6dda
2018-03-23 23:44:07 +00:00
Michael Bestas
1fb7662466 lineage: Set TARGET_CRYPTFS_HW_PATH if HW crypto is enabled
* So TWRP can use it

Change-Id: Ibc1d9d943d6d4e4e5248f623cd06782335f8ae98
2018-03-21 21:06:12 +00:00
razorloves
e02d5d5fcc lineage: update our priv-app permissions whitelist
Add android.permission.MODIFY_DAY_NIGHT_MODE for com.android.systemui.
Introduced in styles api change.

Change-Id: Ic864da8eb01faa270bae22cabaddcb9458c8a6c6
2018-03-20 00:07:57 +00:00
Joey
3c8afe4b70 vendor: bump for LineageSDK API 9
Change-Id: I9ddb1c359bd0eaf03f150986e0b26bdcb81d481a
Signed-off-by: Joey <joey@lineageos.org>
2018-03-11 14:16:21 +00:00
Joey
19d4fb0438 lineage: fix sdk documentation generation
Change-Id: I800a8bca5667bccd7761ed56f25376574a267891
Signed-off-by: Joey <joey@lineageos.org>
2018-03-09 16:18:35 +01:00
Tobias Tefke
85f2e6de75 Update DocumentsUI overlay for Oreo
The DocumentsUI overlay needs to be updated:

  * the DocumentsUI package moved from
    frameworks/base/packages/DocumentsUI
    to packages/apps/DocumentsUI

  * the tag "productivity_device" in res/values/config.xml
    has been renamed to "show_documents_root"

Change-Id: Id9028e5b92a98ac1f9fdb34cb5a0222be70d8596
2018-03-09 14:36:40 +00:00
Sam Mortimer
3d517dc2e9 lineage: Enable wifi wakeup config option
Enables the setting to have wifi turn on automatically
when you're near high quality saved networks.

Change-Id: Id61c3f5c655322e54c015f55b6f389b835c27fe5
2018-03-07 17:56:56 +00:00
Tom Marshall
e08b021eea lineage: Add awk
Change-Id: Ib7facb2328dc843b85f177a4b071129ea7d2bde8
2018-03-07 05:35:33 +00:00
Ethan Chen
3a0f2fb0e0 qcom_target: Move RIL path mapping to core/config.mk
* hardware/ril is a required project for any build.
  Move the path mapping logic to core/config.mk so
  any build has access to the correct default mapping.

Change-Id: Ia52919d7877ddc91f8a4a988fd0858d14837fc4c
2018-03-07 00:23:23 +00:00
Ethan Chen
87b787abd9 pathmap: remove duplicate include-path-for
* include-path-for is already part of build/core/pathmap.mk

Change-Id: I3133265559b4d4b5cc6c32b49f430422e55b34ac
2018-03-06 16:51:07 +00:00
Joey
6cf7640e96 vendor: add style api
Change-Id: I52455cbf827aa5708e1eee6c8469d267979eddc8
Signed-off-by: Joey <joey@lineageos.org>
2018-03-05 13:33:32 +00:00
Bruno Martins
1022cc7c50 backuptool: Take into account new location for system default props
* System default props defined using PRODUCT_SYSTEM_DEFAULT_PROPERTIES
   are stored into /system/etc/prop.default, so that's the location where
   ro.lineage.version prop needs to be checked now. Although, fallback
   to the old location to allow sucessful upgrades.

Change-Id: I62046447876c2198a0c4f88a4f36f4723d417617
2018-03-03 00:46:45 +00:00
Rashed Abdel-Tawab
b6fb3e159a lineage: Move to Google's method of defining system default props
PRODUCT_SYSTEM_DEFAULT_PROPERTIES can now be used to define system default
properties which should be installed in system partition.

Those props are stored in /system/etc/prop.default.

Change-Id: I6cb0e28a7599b010b389cc541015a37010a00f4b
2018-03-03 00:46:27 +00:00
LuK1337
56030be8a5 lineage: Don't error out when screen size isn't set
* Generic AOSP devices don't set it and we don't really
  want to fork them just to set the bootanimation size.

Change-Id: I684454ae07348ee29c832f86f56bcfbd4f627b4d
2018-03-01 06:52:37 +00:00
Michael Bestas
a3f97c75bf extract_utils: Fix vendor framework makefile generation
* Fix copy-pasta

Change-Id: I9b2f61702985cb59af34ad146fd61bedba043f81
2018-02-27 22:32:50 +02:00
Joey
a91985580d vendor: update default wallpaper
Source: http://unsplash.com

Change-Id: I5c8c90efe51a5beb606a712cb4f2c8b14553e50c
Signed-off-by: Joey <joey@lineageos.org>
2018-02-26 13:03:13 +00:00
Ethan Chen
5bc3c8426b extract-utils: Use LOCAL_VENDOR_FILE instead of LOCAL_PROPRIETARY_FILE
* Oreo expects VNDK compatible files to be listed as LOCAL_VENDOR_FILE,
  not LOCAL_PROPRIETARY_FILE.

Change-Id: Ia2384c4f3ab3a99b79df52c796c53dc25a0f4a88
2018-02-26 02:17:37 +00:00
Jaap Jan Meijer
1fdbf7ad8b Don't enable ANDROID_BINDER_IPC_32BIT for mixed userspace/kernel
TARGET_USES_64_BIT_BINDER should be used for the userspace binder now.

Change-Id: I5cede00e7667969e394d06169dff54659900d90f
2018-02-24 20:52:30 -06:00
Michael Bestas
57c0e7ad52 Bump LINEAGE_PLATFORM_SDK_VERSION to 8
Change-Id: If78b28d3c018c7cd58b30e48efe631adbd70dd40
2018-02-24 18:54:24 +00:00
Paul Keith
08004d8cc8 lineage: Unconditionally ship exFAT tools
* We no longer need to build the mount.exfat tool because
   only kernel implementations will be supported from now on.

Change-Id: Ic7e1354e6ead6a96a9d6021de8dac4cfdabcbbce
2018-02-24 14:39:55 +00:00
Dan Pasanen
f65a6dfd63 kernel: fix ccache variable sanitation for clang builds
* When using "?=", expansion doesn't happen right away, so the ccache
  variable is sanitized before KERNEL_CC gets expanded and no ccache
  is ever used for clang builds.

* With ":=", expansion happens immediately. So let's manually check
  if KERNEL_CC is already set somewhere else to determine whether or
  not we should set it ourselves using ":=".

Change-Id: I8a61767606a4f3d4c6ba88c68b10fd2e11783406
2018-02-19 04:20:53 +00:00
Adrian DC
ae509e410c lineage: Sort soong variables and configurations
Change-Id: I4a191f8ce61123e30f780f8e39411a7723fb6197
2018-02-18 20:59:12 +00:00
Aaron Kling
30768b82c1 ATV: Ship AppDrawer
Also remove TvSettings from here since its included in atv_base

Change-Id: I2d97e90e234dc9b7868dad3b063c0420211dacdc
2018-02-18 17:38:45 +00:00
Luca Stefani
6b47332546 bootanimation: Error if screen width or height aren't set
Change-Id: Ic102e49d39a12116e9a0b25accf0ef81520c495f
2018-02-18 11:39:01 +00:00
Stricted
52602baa49 lineage: soong: replace space with colon on TARGET_LD_SHIM_LIBS
that way we can split the shim list logically into multiple lines like

TARGET_LD_SHIM_LIBS := /system/bin/gpsd|/vendor/lib/libshim_gpsd.so \
    /system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so \
    /system/lib/libstagefright.so|/system/lib/libstagefright_shim.so

to not have one single huge line

Change-Id: Ice1411ee22b78da1dbf22eac412b9e4978acebdf
2018-02-18 11:30:00 +00:00
dianlujitao
69262850b6 overlay: Use old NTP server in China
* Google changed NTP server to time.android.com since 8.0,
   but for obvious reason, it's inaccessible in China.
 * Switch to NTP server used in previous Android revisions
   when China SIM inserted to make Chinese users happy.

Change-Id: Iaee63c64cae904b38f6bcec85ed6b0be1dbf3765
2018-02-18 04:32:54 +00:00
Paul Keith
8dc66efc00 lineage: Disable DateTimeCheck activity
* This is causing Google SuW to crash

Change-Id: I35f2af3c5da72785ac03efe762afd14b2fc37383
2018-02-17 19:11:59 +01:00
Joey
d12ab12c61 vendor: set adaptive icon mask to circle
For the new icon set we'll be defaulting to a circular
mask that better suits our brand

Change-Id: Id221e7b0d07751929658862d4b1ea91412e93555
Signed-off-by: Joey <joey@lineageos.org>
2018-02-17 12:52:09 +00:00
Paul Keith
10084bf867 lineage: soong: Add var for linker shim libs
* To limit security exposure, we're forcing all devices
  to define shim libs with a TARGET_LD_SHIM_LIBS

Change-Id: Ic8722c42807429f2faa3546316c71c40533ce195
2018-02-17 09:08:28 +00:00
Abhisek Devkota
735c79cb4d Update our privapp whitelist
Change-Id: I40f0ee9b304d22437c0f3a95df34c7ce8313b41d
2018-02-12 06:49:38 +00:00
Rashed Abdel-Tawab
6255f03252 lineage: Move all system props to PRODUCT_GENERIC_PROPERTIES
For Treble enabled devices, PRODUCT_PROPERTY_OVERRIDES puts props
added with that in /vendor/build.prop. While that's great for
device-specific properties, these are global Lineage properties
which are descriptive of the system side, so move them to the list
that gets populated into /system/build.prop.

Change-Id: I8bb3d0fe13188478d4f7dedc306740a40f44a3e8
2018-02-11 23:15:39 +00:00