Skip to content

Commit beaf63b

Browse files
committed
app with appclip plus symbols test
1 parent 4dff9f6 commit beaf63b

2 files changed

Lines changed: 9 additions & 27 deletions

File tree

test/starlark_tests/ios_application_tests.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -727,16 +727,16 @@ def ios_application_test_suite(name):
727727
)
728728

729729
# Tests that app clips also contribute .symbols package files when
730-
# `include_symbols_in_bundle` is enabled on the embedding application.
730+
# `include_symbols` is enabled on the wrapping archive target.
731731
apple_symbols_file_test(
732732
name = "{}_archive_contains_apple_symbols_files_with_app_clip_test".format(name),
733733
binary_paths = [
734-
"Payload/app_with_app_clip_and_symbols_in_bundle.app/app_with_app_clip_and_symbols_in_bundle",
735-
"Payload/app_with_app_clip_and_symbols_in_bundle.app/AppClips/app_clip.app/app_clip",
734+
"Payload/app_with_app_clip.app/app_with_app_clip",
735+
"Payload/app_with_app_clip.app/AppClips/app_clip.app/app_clip",
736736
],
737737
build_type = "simulator",
738738
tags = [name],
739-
target_under_test = "//test/starlark_tests/targets_under_test/ios:ipa_app_with_app_clip_and_symbols_in_bundle",
739+
target_under_test = "//test/starlark_tests/targets_under_test/ios:ipa_app_with_app_clip_and_symbols",
740740
)
741741

742742
# Tests that the archive contains .symbols package files generated from

test/starlark_tests/targets_under_test/ios/BUILD

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,24 +1196,6 @@ ios_application(
11961196
],
11971197
)
11981198

1199-
ios_application(
1200-
name = "app_with_app_clip_and_symbols_in_bundle",
1201-
app_clips = [":app_clip"],
1202-
bundle_id = "com.google.example",
1203-
entitlements = "//test/starlark_tests/resources:entitlements.plist",
1204-
families = ["iphone"],
1205-
include_symbols_in_bundle = True,
1206-
infoplists = [
1207-
"//test/starlark_tests/resources:Info.plist",
1208-
],
1209-
minimum_os_version = common.min_os_ios.appclip_support,
1210-
provisioning_profile = "//test/testdata/provisioning:integration_testing_ios.mobileprovision",
1211-
tags = common.fixture_tags,
1212-
deps = [
1213-
"//test/starlark_tests/resources:objc_main_lib",
1214-
],
1215-
)
1216-
12171199
ios_app_clip(
12181200
name = "app_clip",
12191201
bundle_id = "com.google.example.clip",
@@ -5910,15 +5892,15 @@ apple_archive(
59105892
)
59115893

59125894
apple_archive(
5913-
name = "ipa_app_with_app_clip_with_swift_support",
5914-
bundle = ":app_with_app_clip_with_swift_support",
5895+
name = "ipa_app_with_app_clip_and_symbols",
5896+
bundle = ":app_with_app_clip",
5897+
include_symbols = True,
59155898
tags = common.fixture_tags,
59165899
)
59175900

59185901
apple_archive(
5919-
name = "ipa_app_with_app_clip_and_symbols_in_bundle",
5920-
bundle = ":app_with_app_clip_and_symbols_in_bundle",
5921-
include_symbols = True,
5902+
name = "ipa_app_with_app_clip_with_swift_support",
5903+
bundle = ":app_with_app_clip_with_swift_support",
59225904
tags = common.fixture_tags,
59235905
)
59245906

0 commit comments

Comments
 (0)