nazel/mixed builds: add libc to ninja_build's output_groups.

This enables USE_BAZEL=1 USE_BAZEL_ANALYSIS=1 m libc to cause Bazel to
build libc with intermediates built from Bazel.

$ USE_BAZEL=1 USE_BAZEL_ANALYSIS=1 m libc

<...>

Target //:aosp_arm-eng up-to-date:
  bazel-aosp/out/target/product/generic/obj/SHARED_LIBRARIES/libc.com.android.runtime_intermediates/libc.so
  bazel-aosp/out/target/product/generic/apex/com.android.runtime/lib/bionic/libc.so
  bazel-aosp/out/target/product/generic/obj/STATIC_LIBRARIES/libc_intermediates/libc.a
  bazel-aosp/out/target/product/generic/obj/SHARED_LIBRARIES/libc_intermediates/libc.so
  bazel-aosp/out/target/product/generic/obj/SHARED_LIBRARIES/libc_intermediates/libc.so.toc
INFO: Elapsed time: 36.753s, Critical Path: 2.12s
INFO: 1219 processes: 18 internal, 1201 local.
INFO: Build completed successfully, 1219 total actions

Test: USE_BAZEL=1 USE_BAZEL_ANALAYSIS=1 m libc # builds bazel-aosp/out/target/product/generic/obj/SHARED_LIBRARIES/libc_intermediates/libc.so

Change-Id: I860cab2cb5f061a64339e02c54aad9db69d8887a
1 file changed
tree: e725ad8102295a55e5abca0a069fb036691ad3cd
  1. docs/
  2. examples/
  3. platforms/
  4. rules/
  5. scripts/
  6. bazel.BUILD
  7. bazel.sh
  8. bazel.WORKSPACE
  9. common.bazelrc
  10. darwin.bazelrc
  11. linux.bazelrc
  12. OWNERS
  13. README.md
README.md

Bazel

The code in this directory is experimental. Bazel support for Android Platform is undergoing active development and workflow stability is currently not guaranteed.