Commit graph

34 commits

Author SHA1 Message Date
althafvly
68544f936f lineage: products: Un-break SDK addon
- Fixes error while building
  Trying to build sdk_addon, but product 'vendor/lineage/build/target/product/lineage_sdk_phone_x86_64.mk' does not define one
- Move gsi_release.mk to gsi_tv_arm*.mk. SDK and x86* targets won't build.
- Set TARGET_SUPPORTS_64_BIT_APPS for x86_64 gsi to support both arch apps.

Change-Id: If01e2eecfc5e27a98e696c29f29babbc1a5ec726
2022-07-04 20:05:29 +02:00
Nolen Johnson
8db975cd36 lineage: products: Rename ATV targets to reflect AOSP GSI names
Change-Id: I96a28e5beaffd9148be2ddb379f8990c172ca69f
2022-03-19 19:21:02 +01:00
Nolen Johnson
4d09aac1ec lineage: products: Create new Automotive GSI targets
* And split out emulator includes as needed to do so.

Change-Id: I9a9e02dc9ebf4613bf2da6be9985a8565dac93fc
2022-03-19 19:20:54 +01:00
Tom Pratt
c86992e0cd Fix GSI targets
Inherit from AOSP gsi_{arch}.mk, because aosp_{arch}.mk files
are obsolete in Android 12. Rename for consistency with
AOSP gsi/sdk targets.

Change-Id: I449390521307ff4f269a9ebf1ad3a5ffc398bc97
2022-03-13 23:33:39 +01:00
Nolen Johnson
d0b3a4af0f lineage: products: Add ATV emulator targets
* device/google/atv only supports armv7 and x86, so
  for emulator at least, we will too.

Change-Id: I5c7f00f8dd34d9d95747d05b6c091376451cc986
2022-03-12 23:49:24 +01:00
Nolen Johnson
8e215b7200 lineage: products: lineage_x86{,_64}: Don't build kernel
* Results in an error.

Change-Id: Ifab94ca34bab75d8e55b317f69060fc02f068ecf
2022-02-15 19:44:19 +01:00
Nolen Johnson
d8bdaefb4f lineage: products: lineage_x86{,_64}: Don't include SDK addon
* This doesn't work, and just errors out similar to arm/arm64.

Change-Id: I53a2261095f1e2acab3b7da20d3f092ccc83e8ab
2022-02-15 19:41:41 +01:00
Tom Pratt
5a35edd014 Rename automotive emulator targets
Matches the upstream separation of gsi and emulator targets.

Change-Id: I07947727c39b87d2bd1ee6bf2809a7f40ff380ba
2022-02-13 11:03:28 +01:00
Michael Bestas
a427f43848
build: Enable mainline checking for GSI/emulator targets
* This is originally done in build/make but it checks against aosp_* targets
* Enable it for all of our lineage_* targets

Change-Id: I9fa62c8f709bd649d114f24f241d42d471489ae5
2021-11-28 23:53:13 +02:00
Tom Pratt
33384ced53 Use sdk_{arch}.mk as base for automotive emulator targets
It no longer boots using aosp_{arch}.mk and aosp targets all
use sdk_{arch}.mk now.

Change-Id: I2f6c644353966a58299fbdfa42c7fd3b0d5dea90
2021-11-23 12:53:24 +01:00
Michael Bestas
baab5a81f5
build: Remove legacy GSI targets
* Support for these targets is no longer present in build/make

Change-Id: I2b07ca52c3040f8b1592dd9760ca2357105e082d
2021-11-14 20:20:52 +02:00
Michael Bestas
253f90404d
build: Add x86/x86_64 emulator targets
Change-Id: Ic8789ad2072b9ebda91f9b4a7c288a5a9bcec3fd
2021-10-12 17:52:12 +03:00
Michael Bestas
c63ee5cc9c
Don't copy privapp-permissions-goldfish.xml for GSI targets
* It is already copied to product partition through AOSP makefiles

Change-Id: I9d877728decc712ce6ae5cc285b1b6a7a4903daf
2021-10-12 17:52:11 +03:00
Tom Pratt
de83dffc34 Add generic targets for automotive
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
2021-07-23 17:57:27 +02:00
Nolen Johnson
db313846b1 lineage: targets: x86{,_64}_ab: Don't explicitly include SDK addon
* This resolves some build warnings on these targets, as it's
  being declared elsewhere.

Change-Id: If142b7435d8f4b81f8477516545bb54462518487
2021-03-09 22:17:49 +01:00
Nolen Johnson
52be5fcb10 lineage: targets: Add support for Legacy GSIs
* This is needed for VNDK27, and other older,
  hackier Treble implementations.

* We can't include `legacy_gsi_release.mk` as it's included
  in the `aosp_${ARCH}_ab` targets themselves, unlike the standard
  `aosp_${ARCH}` targets which guard `gsi_release.mk`'s inclusion
   with `aosp_${ARCH}` product guards.

Change-Id: I16c5983c18110b24eef84e382e0ae6852efb03c3
2021-03-09 21:04:44 +01:00
Nolen Johnson
c2d63c642e lineage: targets: Add support for ATV GSI builds
Change-Id: I1faf83e21af5db1b29b98af72a4f74666c05f775
2021-01-19 23:15:52 +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
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
Kevin F. Haggerty
c756f6051f Add product_launched_with_j{,_mr1,mr2}.mk
Change-Id: Ibb21a4826e6dffe6b9b74898e2bd55b491bb15f7
2020-04-26 15:34:36 +02:00
Tim Schumacher
cc6f30cf6b Allow building emulator as an sdk-addon
This can be imported into Android Studio more easily, eventually even
as a repository of LineageOS emulator images.

(Build with `m sdk_addon`, it will end up in out/host/linux-x86/sdk_addon)

Change-Id: Ia78524dd729b0f2ccc96f5a6eb2503cdc8b4d253
2019-12-06 23:51:10 +01:00
Tim Schumacher
6ce1be3e15 Add generic lineage targets to lunch choices
Change-Id: I80d77d7cdbdfa156e951003a218ba8a58d51b3d4
2019-09-18 15:33:53 +02:00
Rashed Abdel-Tawab
aca09b2a8b lineage: Add goldfish privapp whitelist and move to common lineage makefile
Lineage GSIs now work.

Test: lunch lineage_arm64-eng; m -j systemimage
Change-Id: I416b184b4f601f12871f7c4da0181b189d91a21b
2019-09-07 23:39:27 +02:00
Rashed Abdel-Tawab
2e39f356ac lineage: Make a lineage_x86_64 target
* For addonsu.

Change-Id: Ic4c701cdfe1126870258182df631192e06527fe5
2019-08-01 19:50:59 +02:00
Bruno Martins
2944bf3e00 lineage: Make sure to consider our product makefiles
Change-Id: Ia0c7281791b37fff5fce9c62b3f0ba56c35d45ba
2018-08-10 19:37:27 +01:00
Simon Shields
9b69c8900b lineage: enable building otatools with generic targets
Change-Id: I4bbd32378e159084f8e5dfb852749f77feb31788
2018-04-12 16:35:08 +02: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
Tom Powell
aefc461a94 Use releasekey instead of platform for extra recovery keys
Change-Id: I4beb623477b91d1ce193769e37e6fd802148ef07
2017-02-24 01:25:38 +00:00
Tom Powell
e4c8c8296f build: include lineage releasekey in recovery
Change-Id: I3335af3b490ef1af5fdd786654f4e68bb3290b27
2017-01-06 22:29:06 -08:00
Tom Powell
343b594650 build: remove deprecated recovery keys
Change-Id: I7bb6548315520b387a06b5d66a85dcfbeb5c3f82
2017-01-06 22:26:29 -08:00
Michael Bestas
3952f6cb0d Import CM build additions
Change-Id: Id1eb902129754e61dfcc2b5d95c3a75172ff0c5e
2016-09-25 22:32:37 -07:00