commit | a4acc1b2e44b747572a1b174591c6c5d60844693 | [log] [tgz] |
---|---|---|
author | allevato <allevato@google.com> | Thu Jul 30 09:52:18 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jul 30 09:53:45 2020 -0700 |
tree | e9de7ccda751e44b46d6cebbc7f98ffad880e456 | |
parent | c67c57048d155cb87ad0c4c6ee618ff1e885ee86 [diff] |
Extend `--apple_bitcode` to take an optional platform and allow multiple occurrences. This change changes `--apple_bitcode` in a backward-compatible way to accept `--apple_bitcode=[platform=]mode`, where `platform` is `ios`, `macos`, `tvos`, or `watchos`. If a platform is specified, the given Bitcode mode will be applied specifically to that platform; if omitted, the option behaves as before, applying the Bitcode mode to all platforms. The option can be listed multiple times, with later ones winning, so a default can be set for all platforms and then overridden for specific ones. This new format can be useful, for example, when building watchOS apps that must be distributed with Bitcode but where you do not want to build the companion iOS app with it enabled. To achieve this, pass `--apple_bitcode=watchos=embedded` to your build invocation. RELNOTES: `--apple_bitcode` now takes an optional platform and only applies the Bitcode mode to that platform if present. The option may be provided multiple times. PiperOrigin-RevId: 324023106
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md