Commit graph

870 commits

Author SHA1 Message Date
Luca Stefani
a47c7368d7
build: Add tequila 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 Lineage pathmap

  Change-Id: Ie25dee383cc5bc9bb6390cff2cb2460d526d80b6

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

    build: unconditionally use lineage pathmap

    even if we're not building a lineage target, we need to
    use the lineage 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 LineageOS specific properties in build.prop

     * Our properties were supposed to go to /system/etc/prop.default
        after the following commit:
        "lineage: 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/lineage/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 Lineage 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 Lineage 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/lineage

    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/lineage

    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 lineage userdebug/eng builds.
    Inclusion of su is conditionally handled in /vendor/lineage.

    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/lineage/build/core/clear_vars.mk is no-op since 16.0

    Change-Id: I7e159cc9ed5a838c9a04c1a8b7dcf925d83f0e20

Change-Id: Iab8b2ef8b644a7bea10bfd28b99d9e69539b1357
2024-10-24 19:25:10 +02:00
Treehugger Robot
b4cf9be5fb Merge "Build build_flags.json in soong" into main am: 04837c61f3 am: 4401accfe0
Original change: https://android-review.googlesource.com/c/platform/build/+/3011233

Change-Id: I6e32f3b30d749b092f71ab6fd6bcc736605cca2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 05:50:40 +00:00
Treehugger Robot
4401accfe0 Merge "Build build_flags.json in soong" into main am: 04837c61f3
Original change: https://android-review.googlesource.com/c/platform/build/+/3011233

Change-Id: Ia33e4242d757bf6be4158039d5f88147ec7d99b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 05:31:15 +00:00
Xin Li
67d97cd71e Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I02e87e92878770cf21fb5032efb75eb1b222c62f
Change-Id: I2f8cb71a54227b97ab83eb7966b2f4c04724f2d2
2024-06-05 14:07:19 -07:00
Xin Li
b04e9cc36f Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I713a528d437e3446d32461add648e3b52b036d7a
Change-Id: I7fdd415a218d1425f7fc37095d02c674ddfae6eb
2024-05-24 08:30:06 -07:00
Justin Yun
0949453dd2 Build build_flags.json in soong
Move the make build rule for build_flags.json to soong.

Bug: 324996303
Test: m --no-skip-soong-tests
Change-Id: I958d5bb78db1d63b6145ac6a498490faa2fea315
2024-05-23 15:08:51 +09:00
Jiyong Park
1453f149bf Merge "Revert^2 "Remove libmdnssd"" into main am: a65a617855 am: dc8309d8fd
Original change: https://android-review.googlesource.com/c/platform/build/+/3093319

Change-Id: Ifeda98e38ea1aa05f14fc0377d0a5158c1c9cef6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 12:41:42 +00:00
Jiyong Park
a65a617855 Merge "Revert^2 "Remove libmdnssd"" into main 2024-05-17 12:11:25 +00:00
Jiyong Park
502ba31ea2 Revert^2 "Remove libmdnssd"
This reverts commit 7a31b44227.

Reason for revert: relanding

Change-Id: I3a5758c83ce979f591042488f58fb2bacdf9aa23
2024-05-16 22:38:56 +00:00
Liana Kazanova
fabdfbda80 Merge "Revert "Remove libmdnssd"" into main am: bc78428d42 am: 44a6bba3ae
Original change: https://android-review.googlesource.com/c/platform/build/+/3092801

Change-Id: I8e7c9e696d74cc62dac6ea832b14e2d783c2de22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 20:24:20 +00:00
Liana Kazanova
bc78428d42 Merge "Revert "Remove libmdnssd"" into main 2024-05-16 19:57:25 +00:00
Priyanka Advani
7a31b44227 Revert "Remove libmdnssd"
This reverts commit 1cbd8211e7.

Reason for revert: Droidmonitor triggered revert due to breakage in b/341118115

Change-Id: I0fed4225bd1d4d8888334fdc2a9fac353b748edd
2024-05-16 19:55:11 +00:00
Treehugger Robot
740206c003 Merge "Remove libmdnssd" into main am: 66236c471c am: d9cd64714a
Original change: https://android-review.googlesource.com/c/platform/build/+/3079300

Change-Id: I4df798fb9f2e3d8605ba69afdc0a59e9fdc656de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 19:04:36 +00:00
Treehugger Robot
66236c471c Merge "Remove libmdnssd" into main 2024-05-16 18:19:54 +00:00
Treehugger Robot
b4fc9c6a52 Merge "Add vintf for EDI collectors" into main am: 538f6044af am: caedc4c797
Original change: https://android-review.googlesource.com/c/platform/build/+/3081051

Change-Id: I9ad723fbc6c03fc158b2500319932c8319ad758a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 03:15:22 +00:00
Jiyong Park
1cbd8211e7 Remove libmdnssd
The lib is a part of the adbd apex and isn't used from outside of the
apex. Remove the lib from /system/lib[64].

Bug: N/A
Test: watch TH
Change-Id: I2c95fa72befa5a660a4f97d9f26459066b40c1e2
2024-05-13 18:24:29 +09:00
Jooyung Han
925f41a9f3 Add vintf for EDI collectors
EDI collectors like VintfDeviceInfo and VendorApexDeviceInfo need to
access to VINTF information. Instead of directly accessing related
files, we expose processed VINTF via /system/bin/vintf.

Bug: 336577802
Test: /system/bin/vintf
Change-Id: Id2b2e9b905bcb168638c60c2dc92ca550ed1558f
2024-05-10 16:07:43 +09:00
Treehugger Robot
e803ed9470 Merge "Enable perfetto persistent tracing" into main am: b9ffad8376 am: 13d7e5ffae
Original change: https://android-review.googlesource.com/c/platform/build/+/3067084

Change-Id: I05049f666ce7779b9c712c9d56a41343209bf7f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-02 20:16:10 +00:00
Kean Mariotti
ee081de947 Enable perfetto persistent tracing
Enable go/perfetto-persistent-tracing for eng builds.

Bug: 325622427
Test: adb shell perfetto --query \
    and check the tracing session 'sysui_persistent' started
Change-Id: Ic655eea67c96faf4fbc67bb1da3c359d50a73ccc
2024-04-30 14:05:04 +00:00
Inseob Kim
dbba2d71a5 Merge "Build etc/hosts with Soong" into main am: 77d1b94b9f am: 04846428ff
Original change: https://android-review.googlesource.com/c/platform/build/+/3046354

Change-Id: Ib34e67618ee396269c0c3e5bbb2ab37ada8e3cf4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 02:07:43 +00:00
Inseob Kim
77d1b94b9f Merge "Build etc/hosts with Soong" into main 2024-04-19 01:29:38 +00:00
Inseob Kim
c02b0d8b2d Merge "Build dirty-image-objects in Soong" into main am: 45c6fd0c17 am: d4503ddf8c
Original change: https://android-review.googlesource.com/c/platform/build/+/3046352

Change-Id: I186611a7a61d3ba980917a5a44bd986a74c0d009
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-18 02:21:47 +00:00
Inseob Kim
112961652b Build etc/hosts with Soong
Bug: 335369205
Test: build
Change-Id: I4c56b343cd6624ba3d6bdfb5f70e9c9520dcfe2f
2024-04-18 10:45:23 +09:00
Inseob Kim
c3531ebb4b Build dirty-image-objects in Soong
Also dirty-image-objects-phone is removed as it's really never been
used.

Bug: 335369205
Test: build
Change-Id: Ib3eab3dc4c30aaa99b90310903bcc8a86a0f3480
2024-04-17 16:26:04 +09:00
Cliff Wang
c0306cfc31 Merge "" into main am: 3feb0dc532 am: a77e098967
Original change: https://android-review.googlesource.com/c/platform/build/+/3030083

Change-Id: I74448be8adf46ad74d4f641d0d741a347f61b4b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-08 05:58:52 +00:00
Amir Voskoboynik
0930977b55 Revert "libmdnssd is only used by adbd."
This reverts commit 1ecbeae2dd.

Reason for revert: Prime candidate as culprit for build breakage
build_id/11678886
 
Bug: 333111739

Change-Id: I24ee63b7cfe738e505e691b2d111c4a816513657
2024-04-08 05:19:04 +00:00
Treehugger Robot
0b8003424a Merge "libmdnssd is only used by adbd." into main am: 52e47884f9 am: f15dadb421
Original change: https://android-review.googlesource.com/c/platform/build/+/3028545

Change-Id: I27db2146e550a28ed53bc2e3d3549fe3a346aa13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-05 20:12:19 +00:00
Elliott Hughes
1ecbeae2dd libmdnssd is only used by adbd.
Change-Id: I2deaecd02578cc17adf598d095b0e0d246c4d728
2024-04-05 16:32:25 +00:00
Treehugger Robot
de3f4759d3 Merge "Add trace redactor to system" into main 2024-04-01 15:55:08 +00:00
Anna Bauza
7847bfcba9 Refactor SettingsLib to remove redundant resources conditionally
Bug: 320878675
Test: manual
Change-Id: Ic5862c45dcb3383a736b43fcf98ab58f05149ec7
Ignore-AOSP-First: Feature not yet exposed to AOSP
2024-03-29 09:26:00 +00:00
Steven Terrell
9d92aacbda Add trace redactor to system
This change adds the trace_redactor binary to system so that it can be
called from the Profiling module.

Bug: 327423523
Test: build and flash phone, verify binary is avalable at /system/bin.
Ignore-AOSP-First: Profiling changes are not in AOSP yet, will merge at
later date.

Change-Id: I661fca73c02e2904b988b4bddce62f09c7e3a5d7
2024-03-28 21:01:47 +00:00
Lee Shombert
ee6874c5bb Merge "Export the sqlite build flag to more products" into main am: c3ce9e344c am: 379e720699
Original change: https://android-review.googlesource.com/c/platform/build/+/3001435

Change-Id: I4d8891114dbc64c776cf57d22b331f50dae74e0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 21:01:31 +00:00
Lee Shombert
c3ce9e344c Merge "Export the sqlite build flag to more products" into main 2024-03-26 20:32:59 +00:00
Alex Buynytskyy
c457942d23 Allowlist for platform signed package/sharedUid-s.
Fixes: 308573259
Test: atest android.content.pm.cts.PackageManagerTest
Ignore-AOSP-First: file is added in internal branch
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7f2661f46717bd6b3c8ed20168caf03d71bbabb0)
Merged-In: I02e87e92878770cf21fb5032efb75eb1b222c62f
Change-Id: I02e87e92878770cf21fb5032efb75eb1b222c62f
2024-03-25 18:40:27 +00:00
Treehugger Robot
5724a79e99 Merge "Explicitly install optional components of perfetto" into main am: 9339d8d98f am: e473456528
Original change: https://android-review.googlesource.com/c/platform/build/+/3002565

Change-Id: I87b4d6fef39a44e5addb3eb01f1d3995208512e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:43:52 +00:00
Jiyong Park
b915495a9f Explicitly install optional components of perfetto
perfetto-extras is a phony module that abstracts optional components for
perfetto. Previously, the dependencies were installed by directly
required from traced_probes.

But that is expected to interfere with an upcoming change in Soong where
`required` dependencies are installed by Soong. Specifically, it will
increase the size of the `microdroid` module by 2-3MB because the
dependencies - which are unnecessary in Microdroid - will be installed
there due to the `required` being effective in Soong.

This change fixes that regression by making the dependencies to be only
for Android.

Bug: 321626681
Test: check the dependencies are found in Android
Test: check the dependencies are absent in Microdroid
Change-Id: I5871113e0fa6c6a9745e1c5d2e9d5c2f2dbd9764
2024-03-22 22:22:51 +09:00
Lee Shombert
a64ebbdad3 Export the sqlite build flag to more products
sqlite is used in many products, including the Android system,
mainline modules, and sdks.  The trunk-stable build flag must be
exported to all of these targets.

Bug: 323176655

Change-Id: I23480610b710c0ec3e49c364c179ea76297fb494
2024-03-21 16:08:50 -07:00
Jeongik Cha
45cf38be7b Merge "Use soong modules for init.*.rc" into main am: 784f2a899c am: 2e976ef3ea
Original change: https://android-review.googlesource.com/c/platform/build/+/2926410

Change-Id: I1ba526f8a5fccfaa29667d9dda19d3d93dd9c810
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-18 02:10:19 +00:00
Jeongik Cha
784f2a899c Merge "Use soong modules for init.*.rc" into main 2024-03-18 01:25:16 +00:00
Peiyong Lin
7bbfeb147e Merge "Clean up ANGLE on system build configuration." into main 2024-03-14 20:43:18 +00:00
Peiyong Lin
cc63340cd1 Clean up ANGLE on system build configuration.
Now that ANGLE on system is in fully released, clean up the build file
configuration and remove the flags.

Bug: b/293503000
Test: atest CtsAngleIntegrationHostTestCases
Change-Id: Ie8294b6494e2fad44ff102ecf0018916d61b082a
Merged-In: Ie8294b6494e2fad44ff102ecf0018916d61b082a
2024-03-14 19:26:24 +00:00
Peiyong Lin
c6c8dcfe5e Merge "Clean up ANGLE on system build configuration." into main 2024-03-14 19:24:48 +00:00
Treehugger Robot
9a2f306cf8 Merge "Put DeviceDiagnostics on phones and tablets only" into main 2024-03-13 19:29:27 +00:00
Paul Lawrence
cb96277416 Put DeviceDiagnostics on phones and tablets only
Bug: 321285898
Test: DeviceDiagnostics.apk is on Pixel 7a after build
Ignore-AOSP-First: DeviceDiagnostics.apk is internally developed, not in AOSP
Change-Id: I166de8a045d0e0a99c0922f3a7daddc1eec88754
2024-03-13 15:52:49 +00:00
Lee Shombert
5053a35d92 Merge "Export the sqlite build flag to soong" into main am: 05b128bff7 am: c07d4063f0
Original change: https://android-review.googlesource.com/c/platform/build/+/2994798

Change-Id: Iee970be249cf527bc46ed48c240bec50f3a28186
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-10 17:41:08 +00:00
Lee Shombert
05b128bff7 Merge "Export the sqlite build flag to soong" into main 2024-03-10 16:20:29 +00:00
Peiyong Lin
ee964d2353 Clean up ANGLE on system build configuration.
Now that ANGLE on system is in fully released, clean up the build file
configuration and remove the flags.

Ignore-AOSP-First: Submit in internal first to avoid build breakage.
Bug: b/293503000
Test: atest CtsAngleIntegrationHostTestCases
Change-Id: Ie8294b6494e2fad44ff102ecf0018916d61b082a
2024-03-08 23:00:12 +00:00
Lee Shombert
bb7b87eb93 Export the sqlite build flag to soong
The soong variable is release_package_libsqlite3.  The domain is
libsqlite3.

Bug: 323176655
Change-Id: I7d32a8f1b8d1a22ebce603c06aab602c67f96838
2024-03-07 12:11:43 -08:00
Alex Buynytskyy
7f2661f467 Allowlist for platform signed package/sharedUid-s.
Fixes: 308573259
Test: atest android.content.pm.cts.PackageManagerTest
Ignore-AOSP-First: file is added in internal branch
Change-Id: I02e87e92878770cf21fb5032efb75eb1b222c62f
2024-02-29 21:26:15 +00:00
Dennis Shen
cd8800fec2 Merge "aconfigd: add aconfigd to system partition" into main am: 40922cb75b am: 04cfe63844
Original change: https://android-review.googlesource.com/c/platform/build/+/2974532

Change-Id: Ib1eeed4e7b12a28565b30ea2ba061ada6ad15b4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-28 14:02:33 +00:00