Propagate PGO instr. flags to dependencies of a static lib
Bug: http://b/119560349 Bug: http://b/168925229 To build with PGO instrumentation, the link step also needs -fprofile-generate flag. Omitting this will result in a linker error. This surfaces if module A depends on module B but PGO is used only for module B. Previous uses of PGO were avoiding or working around the issue but to accommadate recent changes, this CL propagates the PGO linker flag to module A. Test: pgo-coral-config1 in release branch, TH Change-Id: I12f6243152d4f5ea5526fbce03c25dba232ddab7
Loading
Please register or sign in to comment