diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2021-03-24 13:07:04 -0700 |
---|---|---|
committer | Keith Smiley <keithbsmiley@gmail.com> | 2021-04-06 16:16:54 -0700 |
commit | d8b273f2022c32b6eb2c68cb6d95896d3b353e31 (patch) | |
tree | 8354298c195ba11a0c843c4c057956b3c2967048 /test | |
parent | 8a29d5902be86bdcd3cbc57a306e707d308178be (diff) | |
download | bazelbuild-apple_support-d8b273f2022c32b6eb2c68cb6d95896d3b353e31.tar.gz |
Remove ctx support from path_placeholders.platform_frameworks().
RELNOTES: apple_support.path_placeholders.platform_frameworks() no longer accepts a ctx argument.
PiperOrigin-RevId: 364873873
(cherry picked from commit 9c175c7f47c476006491be5dce510a15f05067df)
Diffstat (limited to 'test')
-rw-r--r-- | test/apple_support_test.bzl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/apple_support_test.bzl b/test/apple_support_test.bzl index 8adae7d..80de720 100644 --- a/test/apple_support_test.bzl +++ b/test/apple_support_test.bzl @@ -129,6 +129,10 @@ def _apple_support_test_impl(ctx): arguments = [run_output.path], ) + platform_frameworks = apple_support.path_placeholders.platform_frameworks( + apple_fragment = ctx.fragments.apple, + ) + apple_support.run( ctx, outputs = [run_output_xcode_path_in_args], @@ -136,9 +140,7 @@ def _apple_support_test_impl(ctx): arguments = [ run_output_xcode_path_in_args.path, "XCODE_PATH_ARG={}".format(apple_support.path_placeholders.xcode()), - "FRAMEWORKS_PATH_ARG={}".format( - apple_support.path_placeholders.platform_frameworks(ctx), - ), + "FRAMEWORKS_PATH_ARG={}".format(platform_frameworks), "SDKROOT_PATH_ARG={}".format(apple_support.path_placeholders.sdkroot()), ], xcode_path_resolve_level = apple_support.xcode_path_resolve_level.args, @@ -149,7 +151,7 @@ def _apple_support_test_impl(ctx): "XCODE_PATH_ARG={}".format(apple_support.path_placeholders.xcode()), ) action_args.add( - "FRAMEWORKS_PATH_ARG={}".format(apple_support.path_placeholders.platform_frameworks(ctx)), + "FRAMEWORKS_PATH_ARG={}".format(platform_frameworks), ) action_args.add( "SDKROOT_PATH_ARG={}".format(apple_support.path_placeholders.sdkroot()), |