Skip to content

Commit

Permalink
Convert to struct fields in post-cleanup APIs
Browse files Browse the repository at this point in the history
RELNOTES: None
PiperOrigin-RevId: 243371627
  • Loading branch information
Googler authored and swiple-rules-gardener committed Apr 13, 2019
1 parent 4acb24c commit 004597e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion swift/internal/compiling.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def objc_compile_requirements(args, deps):
includes.append(objc.include)

if post_framework_cleanup:
static_framework_names.append(objc.static_framework_names())
static_framework_names.append(objc.static_framework_names)
all_frameworks.append(objc.framework_search_path_only)
else:
inputs.append(objc.static_framework_file)
Expand Down
4 changes: 2 additions & 2 deletions swift/internal/linking.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def register_link_action(
if apple_common.Objc in dep:
objc = dep[apple_common.Objc]
if framework_migration.is_post_framework_migration():
deps_dynamic_framework_names.append(objc.dynamic_framework_names())
deps_dynamic_framework_paths.append(objc.dynamic_framework_paths())
deps_dynamic_framework_names.append(objc.dynamic_framework_names)
deps_dynamic_framework_paths.append(objc.dynamic_framework_paths)
deps_static_framework_files.append(objc.static_framework_file)
else:
deps_dynamic_framework_names.append(depset(
Expand Down

0 comments on commit 004597e

Please sign in to comment.