SIGN IN SIGN UP

Add PFH in buck for FoA (#3985)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/3985

https://github.com/pytorch/executorch/pull/3985

See:
- https://www.internalfb.com/intern/wiki/Privacy_Graph/Product_Asset_Graph/PFH_Asset_Linking/PFH_in_Buck_Targets/
- https://www.internalfb.com/intern/wiki/Privacy_Graph/Product_Feature_Hierarchy/

Seems to be a new requirement for FoA, where all buck targets owned by the app must be tagged with the product name. Codegen.bzl is included by third-parties and the libraries created in codegen are built by and owned by the third-party. This is triggering the Product-Feature Hierarchy (PFH) feature requirement.

This diff adds the feature name to the libraries constructed in codegen.

See failure: D58557891

Reviewed By: dbort

Differential Revision: D58620058

fbshipit-source-id: 5f4768dfbd03853585c8482be7eb1d3401b03d1d
L
Lucy Qiu committed
bcabc3757bda66c86aea493ea1b59e37351206ad
Parent: d30b708
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 6/15/2024, 3:07:34 AM