blob: 0fe2edcbb51f2e1371fa8d86eafd85d1c0d5a16d [file] [log] [blame]
Jeff Gaston8c4ff1d2019-09-24 14:49:51 -04001#!/bin/bash
2set -e
3
Jeff Gaston668fb362020-01-10 18:20:48 -05004cd "$(dirname $0)"
Jeff Gaston8c4ff1d2019-09-24 14:49:51 -04005
Jeff Gaston46676e32020-01-15 16:28:34 -05006# Run Gradle
Jeff Gaston4212eca2020-02-07 16:37:02 -05007impl/build.sh --no-daemon listTaskOutputs "$@"
Aurimas Liutikas2a9a1992020-04-02 14:51:01 -07008impl/build.sh --no-daemon buildOnServer \
9 -PverifyUpToDate \
10 -Pandroidx.allWarningsAsErrors --profile "$@"
Jeff Gaston46676e32020-01-15 16:28:34 -050011
12# Merge some output files
Owen Grayb7a50f52020-02-03 12:28:34 +000013python3 impl/merge_outputs.py "mergeBuildInfo" "mergeLibraryMetrics"
Jeff Gaston46676e32020-01-15 16:28:34 -050014
15# Parse performance profile reports (generated with the --profile option above) and re-export the metrics in an easily machine-readable format for tracking
Owen Graya6247c32020-02-03 13:38:24 -050016impl/parse_profile_htmls.sh