Update scripts to use soong ninja file with product name

out/soong/build.ninja is being renamed to include product name, so it
does not need to be rebuilt just because target product changed.
However, some Bazel scripts assume that the file name of soong ninja is
'out/soong/build.ninja'. This change updates target ninja file name to
include target product name, as changed from the soong.

Bug: 277029044
Test: soong_integration-clean test passes from the presubmit
Change-Id: I3f1b45fa605cd8c452ef9d493408a8d6e7bab040
5 files changed
tree: 63c1b523a4539976757061e072c4114890984960
  1. api_surfaces/
  2. bin/
  3. ci/
  4. compliance/
  5. docs/
  6. examples/
  7. flags/
  8. json_module_graph/
  9. mk2rbc/
  10. mkcompare/
  11. platforms/
  12. product_config/
  13. product_variables/
  14. rules/
  15. scripts/
  16. tests/
  17. utils/
  18. vendor/
  19. .gitignore
  20. bazel.BUILD
  21. bazel.WORKSPACE
  22. buildifier_hook.sh
  23. common.bazelrc
  24. constants_exported_to_soong.bzl
  25. darwin.bazelrc
  26. linux.bazelrc
  27. OWNERS
  28. PREUPLOAD.cfg
  29. 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.