commit | de62eddd42be8ccba7e7d908fb62e02dfeccb517 | [log] [tgz] |
---|---|---|
author | ulfjack <ulfjack@google.com> | Fri May 24 08:11:43 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri May 24 08:13:05 2019 -0700 |
tree | 2326cb3dad5e300c37abdbb9433f0f34aa1e82f1 | |
parent | b75e4530ee0d13683ae965939e1dfc475ef9ee21 [diff] |
Fix Objc pre-execution header thinning It was accidentally disabled by https://github.com/bazelbuild/bazel/commit/51a9596f592c183beffdeeffc43c86295c88a4a5 due to the refactoring in CppCompileAction that made it no longer call the include processing if shouldScanIncludes() returned false. Note that ObjC header thinning relies on needsDotdInputPruning being true as controlled by the --objc_use_dotd_pruning flag. Note that bazel emits an error if header thinning is enabled, but dotd pruning is disabled. This was not caught by our existing tests because none of them actually check if the list of inputs to the action was reduced before it is executed. The tests only check that the include scanning action returns a reduced list, but not that the reduced list is actually used in the CppCompileAction. PiperOrigin-RevId: 249835036
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.