Move from objc_framework to the starlark version.
PiperOrigin-RevId: 229203555
diff --git a/src/TulsiGeneratorIntegrationTests/QueryTests.swift b/src/TulsiGeneratorIntegrationTests/QueryTests.swift
index 00196e3..998236e 100644
--- a/src/TulsiGeneratorIntegrationTests/QueryTests.swift
+++ b/src/TulsiGeneratorIntegrationTests/QueryTests.swift
@@ -134,7 +134,7 @@
.hasNoDependencies()
checker.assertThat("//tulsi_complex_test:ObjCFramework")
- .hasType("objc_framework")
+ .hasType("apple_static_framework_import")
.hasNoLinkedTargetLabels()
.hasNoDependencies()
diff --git a/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD b/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD
index 44fd48d..ff07dd6 100644
--- a/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD
+++ b/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD
@@ -22,6 +22,10 @@
)
load(
+ "@build_bazel_rules_apple//apple:apple.bzl",
+ "apple_static_framework_import",
+)
+load(
"@build_bazel_rules_apple//apple:ios.bzl",
"ios_application",
"ios_extension",
@@ -226,7 +230,7 @@
],
)
-objc_framework(
+apple_static_framework_import(
name = "ObjCFramework",
framework_imports = [
"ObjCFramework/test.framework/file1",