bp2build: build //system/core/libprocessgroup:libprocessgroup_headers
This adds //system/core/libprocessgroup to the denylist, but non-recursively, because there are other modules in its subpackages that don't build yet, so CI's bp2build-incremental's `//system/...` build can keep working. Fixes: 186826841 Test: bp2build-incremental //system/... Change-Id: I4e778737414364964de6328d7420512da224809c
This commit is contained in:
@@ -120,6 +120,10 @@ const (
|
|||||||
// allows modules to opt-out.
|
// allows modules to opt-out.
|
||||||
Bp2BuildDefaultTrueRecursively BazelConversionConfigEntry = iota + 1
|
Bp2BuildDefaultTrueRecursively BazelConversionConfigEntry = iota + 1
|
||||||
|
|
||||||
|
// all modules in this package (not recursively) default to bp2build_available: true.
|
||||||
|
// allows modules to opt-out.
|
||||||
|
Bp2BuildDefaultTrue
|
||||||
|
|
||||||
// all modules in this package (not recursively) default to bp2build_available: false.
|
// all modules in this package (not recursively) default to bp2build_available: false.
|
||||||
// allows modules to opt-in.
|
// allows modules to opt-in.
|
||||||
Bp2BuildDefaultFalse
|
Bp2BuildDefaultFalse
|
||||||
@@ -166,6 +170,7 @@ var (
|
|||||||
"development/sdk": Bp2BuildDefaultTrueRecursively,
|
"development/sdk": Bp2BuildDefaultTrueRecursively,
|
||||||
"external/gwp_asan": Bp2BuildDefaultTrueRecursively,
|
"external/gwp_asan": Bp2BuildDefaultTrueRecursively,
|
||||||
"system/core/libcutils": Bp2BuildDefaultTrueRecursively,
|
"system/core/libcutils": Bp2BuildDefaultTrueRecursively,
|
||||||
|
"system/core/libprocessgroup": Bp2BuildDefaultTrue,
|
||||||
"system/core/property_service/libpropertyinfoparser": Bp2BuildDefaultTrueRecursively,
|
"system/core/property_service/libpropertyinfoparser": Bp2BuildDefaultTrueRecursively,
|
||||||
"system/libbase": Bp2BuildDefaultTrueRecursively,
|
"system/libbase": Bp2BuildDefaultTrueRecursively,
|
||||||
"system/logging/liblog": Bp2BuildDefaultTrueRecursively,
|
"system/logging/liblog": Bp2BuildDefaultTrueRecursively,
|
||||||
@@ -219,6 +224,8 @@ var (
|
|||||||
|
|
||||||
"gwp_asan_crash_handler", // cc_library, ld.lld: error: undefined symbol: memset
|
"gwp_asan_crash_handler", // cc_library, ld.lld: error: undefined symbol: memset
|
||||||
|
|
||||||
|
"libprocessgroup", // depends on //system/core/libprocessgroup/cgrouprc:libcgrouprc
|
||||||
|
|
||||||
// Tests. Handle later.
|
// Tests. Handle later.
|
||||||
"libbionic_tests_headers_posix", // http://b/186024507, cc_library_static, sched.h, time.h not found
|
"libbionic_tests_headers_posix", // http://b/186024507, cc_library_static, sched.h, time.h not found
|
||||||
"libjemalloc5_integrationtest",
|
"libjemalloc5_integrationtest",
|
||||||
@@ -343,11 +350,10 @@ func (b *BazelModuleBase) ConvertWithBp2build(ctx BazelConversionPathContext) bo
|
|||||||
func bp2buildDefaultTrueRecursively(packagePath string, config Bp2BuildConfig) bool {
|
func bp2buildDefaultTrueRecursively(packagePath string, config Bp2BuildConfig) bool {
|
||||||
ret := false
|
ret := false
|
||||||
|
|
||||||
// Return exact matches in the config.
|
// Check if the package path has an exact match in the config.
|
||||||
if config[packagePath] == Bp2BuildDefaultTrueRecursively {
|
if config[packagePath] == Bp2BuildDefaultTrue || config[packagePath] == Bp2BuildDefaultTrueRecursively {
|
||||||
return true
|
return true
|
||||||
}
|
} else if config[packagePath] == Bp2BuildDefaultFalse {
|
||||||
if config[packagePath] == Bp2BuildDefaultFalse {
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user