platform_build_soong/ui
Patrice Arruda 83842d7235 Provide an interface for shared paths between Soong and Soong UI.
Code refactoring has been done for logs directory logic code since
the bazel metrics directory depends on the log directory. For builds
that did not specify a dist directory, the log directory is under
out directory. With dist, the logs directory is under <dist dir>/logs.
This matters for Android CI builds where the metrics files are
placed under logs directory. With this change, the bazel metrics
directory and corresponding files will be under <dist dir>/logs
directory for Android CI builds.

Bug: b/174479728
Test: * USE_BAZEL=1 m nothing (bazel_metrics dir in out dir)
      * m nothing (bazel_metrics dir deleted)
      * DIST_DIR=/tmp/build USE_BAZEL=1 m nothing dist (bazel_metrics
        is in /tmp/build/logs directory)

Change-Id: Ic9e1ff49a1964fcaaf801bde2c19f33597ca1db4
2020-12-08 20:24:14 +00:00
..
build Provide an interface for shared paths between Soong and Soong UI. 2020-12-08 20:24:14 +00:00
logger Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
metrics Remove unnecessary break and default statements in metrics.go file. 2020-11-13 13:15:09 -08:00
status Add stats from ninja subprocesses to build.trace.gz 2020-10-15 13:46:32 -07:00
terminal Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
tracer Add stats from ninja subprocesses to build.trace.gz 2020-10-15 13:46:32 -07:00