Merge changes from topic "libbinder.stable.abi" into sc-dev

* changes:
  [cc/pgo] Mark pgo.sampling property as an arch-variant
  Disable TestCcLibraryBp2Build in sc-dev
  Mark more fields in BaseLinkerProperties as arch variant
This commit is contained in:
Pirama Arumuga Nainar 2021-06-17 22:49:35 +00:00 committed by Android (Google) Code Review
commit 95a4bedc68
3 changed files with 5 additions and 3 deletions

View File

@ -41,6 +41,8 @@ toolchain_library {
)
func TestCcLibraryBp2Build(t *testing.T) {
// b/191166471 disabled in sc-dev
t.Skip()
testCases := []struct {
description string
moduleTypeUnderTest string

View File

@ -122,7 +122,7 @@ type BaseLinkerProperties struct {
// version script for vendor or product variant
Version_script *string `android:"arch_variant"`
}
} `android:"arch_variant"`
Recovery struct {
// list of shared libs that only should be used to build the recovery
// variant of the C/C++ module.
@ -182,7 +182,7 @@ type BaseLinkerProperties struct {
// variant of the C/C++ module.
Exclude_static_libs []string
}
}
} `android:"arch_variant"`
// make android::build:GetBuildNumber() available containing the build ID.
Use_version_lib *bool `android:"arch_variant"`

View File

@ -56,7 +56,7 @@ func recordMissingProfileFile(ctx BaseModuleContext, missing string) {
type PgoProperties struct {
Pgo struct {
Instrumentation *bool
Sampling *bool
Sampling *bool `android:"arch_variant"`
Profile_file *string `android:"arch_variant"`
Benchmarks []string
Enable_profile_use *bool `android:"arch_variant"`