Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3bd6b48 authored by Pierre-Clément Tosi's avatar Pierre-Clément Tosi
Browse files

Introduce cc_baremetal_defaults

Add a way to easily share configuration across all C/C++ libraries
targeting a "baremetal" environment (typically AArch64 EL1) but
unfortunately re-using the cc infrastructure, which actually targets
Android EL0. This will be used to restrict the compiler flags in a
follow-up.

Note: No functional change intended.

Test: m
Change-Id: I1160d87088090d2f429f33ea53385329e5caa2ce
parent 11a9db9b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -142,6 +142,14 @@ all_apex_contributions {
    visibility: ["//visibility:public"],
}

// Defaults to share configs between "baremetal" Soong modules, currently only
// used for code running in kernel context within Android Virtualization
// Framework guests.
cc_defaults {
    name: "cc_baremetal_defaults",
    defaults_visibility: ["//visibility:public"],
}

product_config {
    name: "product_config",
    visibility: [