aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_defs/apple/swift.bzl
diff options
context:
space:
mode:
authorGravatar Chris Parsons <cparsons@google.com>2017-01-05 21:19:57 +0000
committerGravatar John Cater <jcater@google.com>2017-01-06 01:20:48 +0000
commit0a7a42103848ef23bf39b74ed967b47b743e12a0 (patch)
treefb9d22e91bfacac3cdaeab7a10f8dbdb49979da4 /tools/build_defs/apple/swift.bzl
parent2f878e1a190f7224b98ce1e87f9747647e589063 (diff)
Remove conditionals in skylark apple rules for presence of objc.dynamic_framework_dir
-- PiperOrigin-RevId: 143700968 MOS_MIGRATED_REVID=143700968
Diffstat (limited to 'tools/build_defs/apple/swift.bzl')
-rw-r--r--tools/build_defs/apple/swift.bzl3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/build_defs/apple/swift.bzl b/tools/build_defs/apple/swift.bzl
index d4c3e8b630..d8032aeaec 100644
--- a/tools/build_defs/apple/swift.bzl
+++ b/tools/build_defs/apple/swift.bzl
@@ -249,8 +249,7 @@ def swiftc_args(ctx):
objc_module_maps += objc.module_map
framework_dirs += _parent_dirs(objc.framework_dir)
- # TODO(cparsons): Remove getattr call once dynamic_framework_dir is stable.
- framework_dirs += _parent_dirs(getattr(objc, "dynamic_framework_dir", []))
+ framework_dirs += _parent_dirs(objc.dynamic_framework_dir)
# objc_library#copts is not propagated to its dependencies and so it is not
# collected here. In theory this may lead to un-importable targets (since