From 0a7a42103848ef23bf39b74ed967b47b743e12a0 Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Thu, 5 Jan 2017 21:19:57 +0000 Subject: Remove conditionals in skylark apple rules for presence of objc.dynamic_framework_dir -- PiperOrigin-RevId: 143700968 MOS_MIGRATED_REVID=143700968 --- tools/build_defs/apple/swift.bzl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/build_defs/apple/swift.bzl') 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 -- cgit v1.2.3