Files
build_soong/android
Vinh Tran 44cb78c988 Implement fdo_profile module type
Introducing fdo_profile module type to reimplement the afdo support in cc moduels. This change allows the feature to be compatible with Bazel migration.

How it works:

PreDepsMutators:
  * BeginMutator: If non-static cc modules sets afdo prop, search and add corresponding fdo_profile module as a dep with fdoProfileTag
  * fdoProfileMutator:
    * If in fdo_profile module, set FdoProfileProvider with full path to profile
    * If in cc module, read FdoProfileProvider from dep with fdoProfileTag and set FdoProfileInfo.Path to FdoProfilePath field

PostDepsMutators:
  * afdoDepsMutator: If a module has FdoProfilePath set, walk to its static deps and set itself to the deps' AfdoRdeps
  * afdoMutator: If a static dep has AfdoRDeps set, create afdo variant.

Ignore-AOSP-First: Other CLs in the same topic are internal-only
Test: go test
Bug: b/267229065
Change-Id: I687d798a02d9743c92804fea36fb4ae3a7a0e5e3
Merged-In: I687d798a02d9743c92804fea36fb4ae3a7a0e5e3
2023-03-31 17:52:01 -04:00
..
2023-03-13 15:24:17 +00:00
2023-03-22 12:58:38 -07:00
2023-03-17 18:49:18 +00:00
2023-02-21 10:12:47 -08:00
2023-03-22 12:58:37 -07:00
2021-03-17 16:35:13 +01:00
2023-03-31 17:52:01 -04:00
2022-08-01 16:07:30 -04:00
2023-03-22 12:58:38 -07:00
2022-12-12 17:33:06 +00:00
2022-11-02 19:17:30 +00:00
2022-10-25 11:46:01 +02:00
2022-11-07 14:12:11 +00:00
2023-03-20 09:14:30 -04:00
2023-02-13 10:23:36 -08:00
2021-12-13 13:33:15 -05:00
2023-02-14 17:07:41 +09:00
2021-09-23 11:37:57 +01:00
2023-03-22 12:58:38 -07:00
2023-03-01 14:21:30 -08:00
2023-03-31 17:52:01 -04:00
2023-01-12 11:00:40 -08:00