export neverallow include dir list to Bazel
Bazel needs to recreate the neverallow behavior for absolute includes, so export the list of include dirs to soong_injection. Bug: 250931909 Test: aosp/2302925 Change-Id: I3bd345ea4cfb3181f07e4570466f2fc8c5fe32da
This commit is contained in:
@@ -87,6 +87,14 @@ func TestCreateBazelFiles_Bp2Build_CreatesDefaultFiles(t *testing.T) {
|
||||
files := CreateSoongInjectionFiles(testConfig, CreateCodegenMetrics())
|
||||
|
||||
expectedFilePaths := []bazelFilepath{
|
||||
{
|
||||
dir: "android",
|
||||
basename: GeneratedBuildFileName,
|
||||
},
|
||||
{
|
||||
dir: "android",
|
||||
basename: "constants.bzl",
|
||||
},
|
||||
{
|
||||
dir: "cc_toolchain",
|
||||
basename: GeneratedBuildFileName,
|
||||
|
Reference in New Issue
Block a user