diff options
author | 2016-04-26 17:25:55 +0000 | |
---|---|---|
committer | 2016-04-27 11:47:28 +0000 | |
commit | 7124f56f3a9ac1185138d88c02648a3442c98606 (patch) | |
tree | cc2aa89d9e4e85bb09cb61f62fdb202823bbde3c /tools | |
parent | e82713de767ea4f002f49ba75427698989c47edd (diff) |
Replace the inlined SDK path with apple_common call.
--
MOS_MIGRATED_REVID=120826589
Diffstat (limited to 'tools')
-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 8f0eda18bb..ca7137e1c0 100644 --- a/tools/build_defs/apple/swift.bzl +++ b/tools/build_defs/apple/swift.bzl @@ -59,8 +59,7 @@ def _swift_library_impl(ctx): "-module-name", ctx.label.name, "-parse-as-library", "-target", target, - # TODO(b/28049126): Replace this value with apple_toolchain call. - "-sdk", "__BAZEL_XCODE_SDKROOT__", + "-sdk", apple_common.apple_toolchain().sdk_dir(), "-o", output_lib.path, ] + srcs_args + include_args |