Commit Graph

7654 Commits

Author SHA1 Message Date
shuixx
23979be87f strix 2025-07-14 03:15:10 +00:00
shuixx
a2f63d21f0 strix 2025-07-14 03:06:44 +00:00
SkyMinus
5b04d23cb7 Drop QSB
* We don't need that
2025-03-17 15:11:03 +08:00
Michael Bestas
1feb82bf5e Remove non existent health 2.0 recovery package
Health 2.0 targets have been removed in change
I8e1eb743d978315ae9b5b516d3e2e9dc6151d2c2

Test: m, observe "includes non-existent modules in PRODUCT_PACKAGES"
      error is no longer present.
Change-Id: Idd910dfe7028cf0f39e11451a256807c24063061
Signed-off-by: RITEFANG <1721985272@qq.com>
2025-02-05 20:41:13 +08:00
Chirayu Desai
c7587946b4 Revert "Add DeviceDiagnostics.apk"
This reverts commit 3cff79686f.

Reason: Not present in AOSP

Change-Id: If4a812327bc44d1fba880726b601971cc946147d
Signed-off-by: RITEFANG <1721985272@qq.com>
2025-02-05 20:41:13 +08:00
Chirayu Desai
c3a7fada7e Don't set PRODUCT_ENABLE_UFFD_GC by default
* Overriding this from devices doesn't work
* Using ?= here doesn't work either
* It still defaults to "default" based on other places
  and works the same, so let's just remove this

Change-Id: Ie9d732796a46770c11a7608e7c0990653d59fbd0
Signed-off-by: RITEFANG <1721985272@qq.com>
2025-02-05 20:41:13 +08:00
RITEFANG
4c6cd96697 Move AudioPackage14.mk inclusion to vendor/minus
Not all devices inherit these makefiles, which results in missing files

Change-Id: Icd257d47230308db8f1c87b3b7df588a100b635e
Signed-off-by: RITEFANG <1721985272@qq.com>
2025-02-05 20:41:13 +08:00
Michael Bestas
b5acadc7aa Add e2fsck/resize2fs/tune2fs to recovery/vendor_ramdisk
Fixes: [ERROR]: recovery: [libfs_mgr]Unable to enable ext4 verity on
/dev/block/by-name/metadata because /system/bin/tune2fs is missing

in recovery.

Test: e2fsck/resize2fs/tune2fs are present in ramdisks.
Change-Id: I83223f48e4df8b89ff9b27b0912174360c053617
Signed-off-by: RITEFANG <1721985272@qq.com>
2025-02-05 20:41:13 +08:00
RITEFANG
1f839143c0 Exclude Camera2 for Minus builds
Change-Id: I64daac3c0ba5511dea6fb9abcb204d679fe01bef
Signed-off-by: RITEFANG <1721985272@qq.com>
2025-02-05 20:41:13 +08:00
Aaron Kling
ab9e20fa17 Disable Traceur for non eng-builds
Change-Id: I9cc1d747dc70bcf89486009f7ecae1628ccfc0aa
2025-02-05 20:38:40 +08:00
RITEFANG
4aeaa2f1d1 build: Add MinusOS build support
Squashed also with the following changes:

  Author: Luca Stefani <luca020400@lineageos.org>
  Date:   Thu Aug 17 22:22:13 2017 +0200

    core: Include PixelProject pathmap

  Change-Id: Ie25dee383cc5bc9bb6390cff2cb2460d526d80b6

  Author: Simon Shields <simon@lineageos.org>
  Date:   Fri Mar 2 12:55:47 2018 +1100

    build: unconditionally use PixelProject pathmap

    even if we're not building a pixelproject target, we need to
    use the pixelproject pathmap to make things like recovery and ril
    happy

  Change-Id: I974c30ad10d4ff5b7805c3df9c22010f1e002bf1

  Author: Luca Stefani <luca.stefani.ge1@gmail.com>
  Date:   Tue Jan 22 15:50:52 2019 +0100

    Don't export BUILD_NUMBER in envsetup

    * The value is meant to be set only before running an /official/ build
    * This allows us to execute consecutive make commands without
      running kati for every invocation

  Change-Id: Ifa94b839f30c7260009c8a3c91c202b50e28022e

  Author: Luca Stefani <luca020400@lineageos.org>
  Date:   Fri Aug 18 10:17:00 2017 +0200

    envsetup: Call fixup_common_out_dir

  Change-Id: I84e16b0df5822cfd8514c46d709109a13c20f86e

  Author: Adrian DC <radian.dc@gmail.com>
  Date:   Sat May 12 11:24:33 2018 +0200

    build: Include PixelProject specific properties in build.prop

     * Our properties were supposed to go to /system/etc/prop.default
        after the following commit:
        "pixelproject: Move to Google's method of defining system default props"
        Change-Id: I6cb0e28a7599b010b389cc541015a37010a00f4b

     * However if BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED is not true,
        only /default.prop will retain the properties contents of
        ADDITIONAL_DEFAULT_PROPERTIES and PRODUCT_SYSTEM_DEFAULT_PROPERTIES,
        and none of our versioning identification was held in the system

     * Enabling BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED globally would
        break all properties on devices that handle partitions usually
        at the device level rather than the kernel due to mounting races

     * Include the vendor/aosp/config/main.mk entrypoint to be allowed
        to extend ADDITION_BUILD_PROPERTIES as we need to define our releases

  Change-Id: I19918eece0f0dd3ee967db0339b4d09c9a6d540e
  Signed-off-by: Adrian DC <radian.dc@gmail.com>

  Author: Rashed Abdel-Tawab <rashed@linux.com>
  Date:   Thu Sep 5 21:35:38 2019 -0700

    core: Only include PixelProject SE policy if repo exists

  Change-Id: If799106d2da6d8c303430e316edff365a22f7c99

  Author: dianlujitao <dianlujitao@lineageos.org>
  Date:   Thu Sep 5 21:56:36 2019 +0800

    product: Exclude AOSP apn list on PixelProject build

    Change-Id: I1fd10089421a2e4b57ef565d87ad1f6036bd1898

  Author: Michael Bestas <mkbestas@lineageos.org>
  Date:   Fri Apr 12 02:10:12 2019 +0300

    build: Conditionally include AudioPackage14.mk instead of AllAudio.mk

    * AllAudio.mk doesn't contain latest material files and also
      contains multiple duplicate files. Just copy the latest
      material ones and we'll include the older files in vendor/aosp

    Change-Id: Ic7353216a3f3dc3c51006d951ac932cfd6e5f3b5

  Author: dhacker29 <dhackerdvm@gmail.com>
  Date:   Sat Jun 6 22:22:05 2015 -0400

    Remove LatinIME as it is included per target in vendor/aosp

    Change-Id: Ibce4a244ec0653a7c7798d864047ac667866a1dc

  Author: razorloves <razorloves@gmail.com>
  Date:   Mon Oct 7 05:10:56 2019 -0500

    build: Remove su inclusion

    This stops including su in all pixelproject userdebug/eng builds.
    Inclusion of su is conditionally handled in /vendor/aosp.

    Change-Id: Ia3ad978146f170a2b260d77afe9eb580d4b4f823

  Author: Michael Bestas <mkbestas@lineageos.org>
  Date:   Sat Nov 7 22:45:12 2020 +0200

    Stop including vendor specific clear_vars.mk

    vendor/aosp/build/core/clear_vars.mk is no-op since 16.0

    Change-Id: I7e159cc9ed5a838c9a04c1a8b7dcf925d83f0e20

Change-Id: Iab8b2ef8b644a7bea10bfd28b99d9e69539b1357
Signed-off-by: RITEFANG <1721985272@qq.com>
2025-02-05 20:35:57 +08:00
Ian Kasprzak
68e240d6c2 Move ap3a configuration to build/release.
Bug: 349843674
Bug: 370829778
Ignore-AOSP-First: "Migrating AP3A to build/release"
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4ff90549123b218377c7d576282614a3d3b35be1)
Merged-In: Ie339d505c73b297e05f764c2c27cc525923fa225
Change-Id: Ie339d505c73b297e05f764c2c27cc525923fa225
2024-10-11 00:58:10 +00:00
Tony Mak
c3c7e46821 Preload the sidecar jar when the flag is on
Ignore-AOSP-First: The jar was developed in internal git, so this change must be also in internal git.


Test: Build
Bug: 360864791
Flag: RELEASE_APPFUNCTION_SIDECAR
Change-Id: Iaafc3cbf0842fe61c8364d04f7f47cd4698d03cf
2024-09-20 20:54:41 +00:00
Shreshta Manu
3e6c5cc24d Merge "[Ranging] Add service-ranging to build" into main am: dad619fb93 am: 43386d6489
Original change: https://android-review.googlesource.com/c/platform/build/+/3266765

Change-Id: I6d9ed4682f1ec68dda3e9736c491e43ef9efb9fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 18:44:21 +00:00
Shreshta Manu
4723af04c0 Merge "[Ranging] Add ranging to build" into main am: d3f628f084 am: fc276f14eb
Original change: https://android-review.googlesource.com/c/platform/build/+/3263772

Change-Id: Ifc7c3c5526a8bf9a509533317cef912e367ff082
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 18:43:23 +00:00
Shreshta Manu
dad619fb93 Merge "[Ranging] Add service-ranging to build" into main 2024-09-19 18:33:16 +00:00
Shreshta Manu
d3f628f084 Merge "[Ranging] Add ranging to build" into main 2024-09-19 18:32:51 +00:00
Shreshta Manu
420237dc41 [Ranging] Add service-ranging to build
Bug: 364930449
Test: compiles
Change-Id: Ib14d0434a3e40e8dee76eea647051816dc8a740c
2024-09-18 03:27:54 +00:00
Shreshta Manu
1e9faa2bc9 [Ranging] Add ranging to build
Bug: 364930449
Test: compiles
Change-Id: I35af9f96715be1366fba7041b65094e5a8c04eb0
2024-09-18 03:25:55 +00:00
Yu-Ting Tseng
4688186da8 flag guarded move of uprobestats into Mainline
Bug: 355315669
Test: m
Ignore-AOSP-First: uprobestats is an internal-first project
Change-Id: Ifc74630a56a0be8669f0fb56ba6c8ba5f6435fc6
2024-09-13 09:32:36 -07:00
Ankita Vyas
69bb727e5a Merge "Add new framework-photopicker inside MediaProvider module" into main 2024-09-12 05:46:50 +00:00
Ankita Vyas
d51b2e3edd Add new framework-photopicker inside MediaProvider module
Bug: 359548801
Test: presubmit and m

Change-Id: Ic29a1097bf73657973174769973e50e7dd985cc6
Merged-In: Ic29a1097bf73657973174769973e50e7dd985cc6
2024-09-06 09:37:50 +00:00
Xin Li
657b297ed8 Merge "Revert "Remove messaging package."" into main am: 444cd45ec7 am: c6809dc621
Original change: https://android-review.googlesource.com/c/platform/build/+/3255457

Change-Id: Ia144d2b5e0e0938f97579dd832d63ebcf5ec40e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-05 00:43:02 +00:00
Xin Li
c6809dc621 Merge "Revert "Remove messaging package."" into main am: 444cd45ec7
Original change: https://android-review.googlesource.com/c/platform/build/+/3255457

Change-Id: Icef65446c6443d7e71028996c40b4e3c88d9d9cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-05 00:33:14 +00:00
Xin Li
444cd45ec7 Merge "Revert "Remove messaging package."" into main 2024-09-05 00:23:44 +00:00
Priyanka Advani (xWF)
3b6d8085f0 Revert "Remove messaging package."
Revert submission 3241481-remove-messaging-package

Reason for revert: Droidmonitor created revert due to b/364617310, b/364626927, b/364617560

Reverted changes: /q/submissionid:3241481-remove-messaging-package

Change-Id: I64b5e27f19a46dddd9a6a8c20c6a09367d2a3c18
2024-09-04 17:03:14 +00:00
Elliott Hughes
09796a9d00 Merge "Remove messaging package." into main am: 8db9956a75 am: 0967bbdb04
Original change: https://android-review.googlesource.com/c/platform/build/+/3242200

Change-Id: I2db5e29e2d285e6b2b7c95d1c7c4e8a73320860d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 14:22:38 +00:00
Elliott Hughes
0967bbdb04 Merge "Remove messaging package." into main am: 8db9956a75
Original change: https://android-review.googlesource.com/c/platform/build/+/3242200

Change-Id: Ic902392b5ff442e94db6d8fa7341c259b1063ff8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-04 14:13:34 +00:00
Elliott Hughes
8db9956a75 Merge "Remove messaging package." into main 2024-09-04 14:02:00 +00:00
Ahmed Ibrahim
5032773879 Merge "Add new framework-photopicker inside MediaProvider module" into main 2024-08-30 14:38:43 +00:00
Inseob Kim
23cedc764b Merge "Move adb_keys to product partition" into main am: 1a3f842d48 am: ae5a816be5
Original change: https://android-review.googlesource.com/c/platform/build/+/3243935

Change-Id: I9ac09cce7aeb32d0c5caac4b59f3f9a0144219e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-30 01:21:25 +00:00
Inseob Kim
ae5a816be5 Merge "Move adb_keys to product partition" into main am: 1a3f842d48
Original change: https://android-review.googlesource.com/c/platform/build/+/3243935

Change-Id: Ia04f80cb4b86df614f9d4f3b1ce342f5d541c9bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-30 01:12:46 +00:00
Ankita Vyas
d7fb4d6fff Add new framework-photopicker inside MediaProvider module
Bug: 359548801
Test: presubmit and m
Flag: EXEMPT adding new config
Ignore-AOSP-First: Part of a CL topic

Change-Id: Ic29a1097bf73657973174769973e50e7dd985cc6
2024-08-30 00:16:42 +00:00
Inseob Kim
ff517c6151 Move adb_keys to product partition
/adb_keys will be moved to /product/etc/security as it's a
product-specific file. To prevent regression, /adb_keys will be a
symlink to the new location.

Bug: 353430323
Test: boot and connect adb with ADB_VENDOR_KEYS
Change-Id: Ieee2974925df4b3797483c96b78a0d2a2aa9a57d
2024-08-27 17:48:46 +09:00
Elliott Hughes
6fef657ff3 Remove messaging package.
Change-Id: I513aff9f621d787793a8d32cd150720bde2b3e39
2024-08-26 14:59:13 +00:00
Treehugger Robot
298d2d844d Merge "Move large_screen_common.mk to AOSP" into main am: 7337727e7a am: 8867cacc31
Original change: https://android-review.googlesource.com/c/platform/build/+/3220401

Change-Id: I7d54b20835e4661930473609dc35ad7ec4e9197b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-20 21:43:31 +00:00
Treehugger Robot
8867cacc31 Merge "Move large_screen_common.mk to AOSP" into main am: 7337727e7a
Original change: https://android-review.googlesource.com/c/platform/build/+/3220401

Change-Id: I296e3dad3c329af54bef78d68448c377ab683eb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-19 22:39:30 +00:00
Siarhei Vishniakou
a6488974f6 Add libmonkey_jni to base
The monkey package is already part of "base" build. In this topic, we
are adding jni support to monkey, which will allow us to use libinput's
uinput infrastructure for motion injection.

In this CL, we also need to add libmonkey_jni to the base build. Without
this change, monkey fails to find the jni library, because 'flashall'
does not include this .so by default.

However, this change is not needed when running 'adb sync', which
correctly recognizes that the jni library is required and places it in
the right place on the device.

Bug: 344695913
Flag: EXEMPT refactor
Ignore-AOSP-First: relies on uinput infra not available in aosp
Test: adb shell monkey 1000 --pct-touch 100
Test: m && vendor/google/tools/flashall -w --disable_verity=true
Change-Id: Id6c381895e914f0c0ab8278fad31e82734f48cf5
2024-08-19 09:58:16 -07:00
Raul E Rangel
d44b475942 Move large_screen_common.mk to AOSP
Move this to AOSP to allow partners easier access to the file.

Bug: 357647152
Test: m
Change-Id: I8b21b1461298fbde97e9f5b78bb519c6be864118
2024-08-15 10:22:10 -06:00
Jooyung Han
faa757c5b3 Merge "Remove setting init.userspace_reboot.is_supported" into main am: 832819e90d am: 52b7214fd3
Original change: https://android-review.googlesource.com/c/platform/build/+/3213601

Change-Id: Idfc9e91eb496a1af2529b0c64b8280456004a783
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 00:56:20 +00:00
Treehugger Robot
1f7a31d650 Merge "Build product/odm build.prop with Soong" into main am: 57ac3a18ea am: 2a092d2b01
Original change: https://android-review.googlesource.com/c/platform/build/+/3213597

Change-Id: Iccc3ce9a6ed59214767e32f4e1e014463ef4769f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 00:55:51 +00:00
Jooyung Han
52b7214fd3 Merge "Remove setting init.userspace_reboot.is_supported" into main am: 832819e90d
Original change: https://android-review.googlesource.com/c/platform/build/+/3213601

Change-Id: Id3c34f742ea3938ca81b70f664fabdd3eb2f193b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 00:42:57 +00:00
Jooyung Han
832819e90d Merge "Remove setting init.userspace_reboot.is_supported" into main 2024-08-12 00:41:20 +00:00
Treehugger Robot
2a092d2b01 Merge "Build product/odm build.prop with Soong" into main am: 57ac3a18ea
Original change: https://android-review.googlesource.com/c/platform/build/+/3213597

Change-Id: Id80b6d3f789b45f8d2e2bff6c4bd51d8e032eadf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 00:36:42 +00:00
Jooyung Han
a2f9851521 Remove setting init.userspace_reboot.is_supported
Userspace reboot is deprecated.

Bug: 292469129
Test: build cuttlefish.
Test: adb shell getprop init.userspace_reboot.is_supported
Change-Id: I51ded79d3ae3df5363e6a7c9d1c5dcd06163f78e
2024-08-09 14:40:58 +09:00
Inseob Kim
d05947dd12 Build product/odm build.prop with Soong
Bug: 322090587
Test: compare build.prop before and after, boot
Change-Id: Iab157cf313d62c1c95ef66dd0a2b9563ee60ab46
2024-08-08 17:48:43 +09:00
Treehugger Robot
e32fdf859d Merge "Rename to HsumDefaultConfigOverlay" into main 2024-08-07 04:11:03 +00:00
Bart Van Assche
c7eeeed3f8 Merge "base_vendor.mk: Add filterPowerSupplyEvents.o" into main am: 671dd3c7af am: c9b210753c
Original change: https://android-review.googlesource.com/c/platform/build/+/3202150

Change-Id: I64f2130b8705805429ceb0c2c9a414cdcfa13962
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 00:35:20 +00:00
Bart Van Assche
c9b210753c Merge "base_vendor.mk: Add filterPowerSupplyEvents.o" into main am: 671dd3c7af
Original change: https://android-review.googlesource.com/c/platform/build/+/3202150

Change-Id: I3efe5e6ef1e07d94e72c7644d66be9b52950e5c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 00:21:49 +00:00
Bart Van Assche
671dd3c7af Merge "base_vendor.mk: Add filterPowerSupplyEvents.o" into main 2024-08-06 23:51:23 +00:00