diff options
author | 2023-06-08 23:29:18 +0000 | |
---|---|---|
committer | 2023-06-08 23:29:18 +0000 | |
commit | 8106bd0b00039e207893749517d52d682d9f47df (patch) | |
tree | b61ae6520ed873d40eac6934924565400c47d22e /bp2build/filegroup_conversion_test.go | |
parent | 256258587865f6e414e57faf3af256981e1df46a (diff) |
Revert "Add aidl.deps prop to include aidl implicit deps explicitly in Android.bp"
This reverts commit 256258587865f6e414e57faf3af256981e1df46a.
Reason for revert: We now have aidl_library to remove this workaround to support specifying aidl headers
Change-Id: Idf03ebbea764f8c5b3c4fc1623f8f02aa321c8c1
Diffstat (limited to 'bp2build/filegroup_conversion_test.go')
-rw-r--r-- | bp2build/filegroup_conversion_test.go | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/bp2build/filegroup_conversion_test.go b/bp2build/filegroup_conversion_test.go index 273d55636..7ce559d9b 100644 --- a/bp2build/filegroup_conversion_test.go +++ b/bp2build/filegroup_conversion_test.go @@ -105,42 +105,6 @@ func TestFilegroupWithAidlSrcs(t *testing.T) { } } -func TestFilegroupWithAidlDeps(t *testing.T) { - bp := ` - filegroup { - name: "bar", - srcs: ["bar.aidl"], - } - filegroup { - name: "foo", - srcs: ["aidl/foo.aidl"], - path: "aidl", - aidl: { - deps: [":bar"], - } - }` - - t.Run("filegroup with aidl deps", func(t *testing.T) { - expectedBazelTargets := []string{ - MakeBazelTargetNoRestrictions("aidl_library", "bar", AttrNameToString{ - "srcs": `["bar.aidl"]`, - "tags": `["apex_available=//apex_available:anyapex"]`, - }), - MakeBazelTargetNoRestrictions("aidl_library", "foo", AttrNameToString{ - "srcs": `["aidl/foo.aidl"]`, - "strip_import_prefix": `"aidl"`, - "deps": `[":bar"]`, - "tags": `["apex_available=//apex_available:anyapex"]`, - }), - } - runFilegroupTestCase(t, Bp2buildTestCase{ - Description: "filegroup with aidl deps", - Blueprint: bp, - ExpectedBazelTargets: expectedBazelTargets, - }) - }) -} - func TestFilegroupWithAidlAndNonAidlSrcs(t *testing.T) { runFilegroupTestCase(t, Bp2buildTestCase{ Description: "filegroup with aidl and non-aidl srcs", |