addSamplingProfileGatherFlags is no longer needed
We already add the "-fdebug-info-for-profiling" flag globally by default. Besides, Sampling PGO does not need additional target-specific build flags, unlike instrumentation PGO. This is preparation to separate out sampling pgo into a separate module. NFCI. Test: presubmit Change-Id: Icb28a98c021a78db25d8cb5ca9694ed6b7367a8d
This commit is contained in:
@@ -1194,10 +1194,6 @@ func (c *deviceConfig) DeviceKernelHeaderDirs() []string {
|
||||
return c.config.productVariables.DeviceKernelHeaders
|
||||
}
|
||||
|
||||
func (c *deviceConfig) SamplingPGO() bool {
|
||||
return Bool(c.config.productVariables.SamplingPGO)
|
||||
}
|
||||
|
||||
// JavaCoverageEnabledForPath returns whether Java code coverage is enabled for
|
||||
// path. Coverage is enabled by default when the product variable
|
||||
// JavaCoveragePaths is empty. If JavaCoveragePaths is not empty, coverage is
|
||||
|
Reference in New Issue
Block a user