Add rust bp2build tests to soong tests

Test: m nothing
Change-Id: I19a11cc2055725bfa5dfea5dd5215c18ffec3a21
This commit is contained in:
Liz Kammer
2023-09-01 01:17:21 -04:00
parent 079efbda94
commit 267f1f71b5
5 changed files with 62 additions and 1 deletions

View File

@@ -1,3 +1,17 @@
// Copyright 2023 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package bp2build
import (
@@ -17,7 +31,7 @@ func registerRustProcMacroModuleTypes(ctx android.RegistrationContext) {
}
func TestRustProcMacroLibrary(t *testing.T) {
runRustLibraryTestCase(t, Bp2buildTestCase{
rustRustProcMacroTestCase(t, Bp2buildTestCase{
Dir: "external/rust/crates/foo",
Blueprint: "",
Filesystem: map[string]string{