Introduce avf_build_flags_cc cc_defaults
These are similar to avf_build_rust_build flags, but for cc_* soong
modules.
In the immediate future this will be used for flag guarding
virtcpu-freq related changes to platform.dts.
This patch also adds avf_build_flags_cc as cc_defaults to all our
existing cc_* soong modules
Test: builds
Bug: 284369518
Change-Id: I19152675802548cd9efba30a40bccdbb14867fe1
diff --git a/pvmfw/Android.bp b/pvmfw/Android.bp
index ee77f14..110d46a 100644
--- a/pvmfw/Android.bp
+++ b/pvmfw/Android.bp
@@ -295,6 +295,7 @@
// numbers defined in the ARM DT binding headers
cc_object {
name: "pvmfw_platform.dts.preprocessed",
+ defaults: ["avf_build_flags_cc"],
header_libs: ["arm_dt_bindings_headers"],
host_supported: true,
srcs: [":pvmfw_platform.dts.renamed"],