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/libs/apkmanifest/Android.bp b/libs/apkmanifest/Android.bp
index e6fcbef..54c4f6c 100644
--- a/libs/apkmanifest/Android.bp
+++ b/libs/apkmanifest/Android.bp
@@ -4,6 +4,7 @@
 
 cc_library_shared {
     name: "libapkmanifest_native",
+    defaults: ["avf_build_flags_cc"],
     srcs: ["native/*.cpp"],
     shared_libs: [
         "libandroidfw",