Update tulsi tests to use the new apple_bundle_import rule instead of objc_bundle.
PiperOrigin-RevId: 225558478
diff --git a/src/TulsiGeneratorIntegrationTests/QueryTests.swift b/src/TulsiGeneratorIntegrationTests/QueryTests.swift
index 206d08f..00196e3 100644
--- a/src/TulsiGeneratorIntegrationTests/QueryTests.swift
+++ b/src/TulsiGeneratorIntegrationTests/QueryTests.swift
@@ -99,7 +99,7 @@
.hasNoDependencies()
checker.assertThat("//tulsi_complex_test:ObjCBundle")
- .hasType("objc_bundle")
+ .hasType("apple_bundle_import")
.hasNoLinkedTargetLabels()
.hasNoDependencies()
diff --git a/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD b/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD
index 3f8c808..44fd48d 100644
--- a/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD
+++ b/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD
@@ -29,6 +29,10 @@
"ios_ui_test",
)
load(
+ "@build_bazel_rules_apple//apple:resources.bzl",
+ "apple_bundle_import",
+)
+load(
"@build_bazel_rules_apple//apple:tvos.bzl",
"tvos_application",
"tvos_extension",
@@ -102,7 +106,7 @@
],
)
-objc_bundle(
+apple_bundle_import(
name = "ObjCBundle",
bundle_imports = [
"ObjCBundle.bundle/FileOne.txt",