diff options
author | Chris Parsons <cparsons@google.com> | 2017-01-05 21:19:57 +0000 |
---|---|---|
committer | John Cater <jcater@google.com> | 2017-01-06 01:20:48 +0000 |
commit | 0a7a42103848ef23bf39b74ed967b47b743e12a0 (patch) | |
tree | fb9d22e91bfacac3cdaeab7a10f8dbdb49979da4 | |
parent | 2f878e1a190f7224b98ce1e87f9747647e589063 (diff) |
Remove conditionals in skylark apple rules for presence of objc.dynamic_framework_dir
--
PiperOrigin-RevId: 143700968
MOS_MIGRATED_REVID=143700968
-rw-r--r-- | tools/build_defs/apple/swift.bzl | 3 |
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 |