Make everything in apple_support.path_placeholders functions

It was a mix of a funcions/constants, this way they all are functions,
hopefully making it easier to use (via consistency).

RELNOTES: apple_support.path_placeholders.sdkroot & apple_support.path_placeholders.xcode are both functions now.
PiperOrigin-RevId: 230407105
2 files changed
tree: b075f2a910ce3349dcdc3e64cd6f1f506bf41fb1
  1. .bazelci/
  2. lib/
  3. rules/
  4. test/
  5. tools/
  6. .travis.yml
  7. AUTHORS
  8. BUILD
  9. CONTRIBUTING.md
  10. CONTRIBUTORS
  11. LICENSE
  12. README.md
  13. travis_install.sh
  14. travis_test.sh
  15. WORKSPACE
README.md

Apple Support for Bazel

Build Status

This repository contains helper methods that support building rules that target Apple platforms.

Quick setup

Add the following to your WORKSPACE file to add this repository as a dependency:

load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(
    name = "build_bazel_apple_support",
    remote = "https://github.com/bazelbuild/apple_support.git",
    tag = "0.3.0",
)

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()