Migrate sticker pack extension to use ios_sticker_pack_extension rule.
PiperOrigin-RevId: 225398675
diff --git a/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD b/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD
index 3cba84b..3f8c808 100644
--- a/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD
+++ b/src/TulsiGeneratorIntegrationTests/Resources/ComplexSingle.BUILD
@@ -23,7 +23,6 @@
load(
"@build_bazel_rules_apple//apple:ios.bzl",
- "apple_product_type",
"ios_application",
"ios_extension",
"ios_unit_test",
diff --git a/src/TulsiGeneratorIntegrationTests/Resources/MultiExtension.BUILD b/src/TulsiGeneratorIntegrationTests/Resources/MultiExtension.BUILD
index 5229463..c7a0511 100644
--- a/src/TulsiGeneratorIntegrationTests/Resources/MultiExtension.BUILD
+++ b/src/TulsiGeneratorIntegrationTests/Resources/MultiExtension.BUILD
@@ -17,7 +17,6 @@
load(
"@build_bazel_rules_apple//apple:ios.bzl",
- "apple_product_type",
"ios_application",
"ios_extension",
)
diff --git a/src/TulsiGeneratorIntegrationTests/Resources/PlatformDependent.BUILD b/src/TulsiGeneratorIntegrationTests/Resources/PlatformDependent.BUILD
index b0edf11..3477d2a 100644
--- a/src/TulsiGeneratorIntegrationTests/Resources/PlatformDependent.BUILD
+++ b/src/TulsiGeneratorIntegrationTests/Resources/PlatformDependent.BUILD
@@ -16,9 +16,9 @@
load(
"@build_bazel_rules_apple//apple:ios.bzl",
- "apple_product_type",
"ios_application",
"ios_extension",
+ "ios_sticker_pack_extension",
"ios_unit_test",
"ios_ui_test",
)
@@ -50,14 +50,13 @@
deps = [":MainLibrary"],
)
-ios_extension(
+ios_sticker_pack_extension(
name = "StickerExtension",
- asset_catalogs = ["Stickers.xcstickers/asset.png"],
bundle_id = "com.google.Tulsi.TargetApplication.extension",
families = ["iphone"],
infoplists = ["Ext-Info.plist"],
minimum_os_version = "10.0",
- product_type = apple_product_type.messages_sticker_pack_extension,
+ sticker_assets = ["Stickers.xcstickers/AppIcon.stickersiconset/asset.png"],
)
objc_bundle(