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
3 changed files with 5 additions and 3 deletions

View File

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

View File

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

View File

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