blob: 1d8b96772d7dc218d12ccc85b8af71977209fa76 [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 Liutikas4f838442020-05-04 13:43:45 -07008impl/build.sh --no-daemon buildOnServer checkExternalLicenses \
Aurimas Liutikas2a9a1992020-04-02 14:51:01 -07009 -PverifyUpToDate \
Aurimas Liutikasedd82e72020-03-30 15:47:41 -070010 -Pandroidx.coverageEnabled=true \
Aurimas Liutikas2a9a1992020-04-02 14:51:01 -070011 -Pandroidx.allWarningsAsErrors --profile "$@"
Jeff Gaston46676e32020-01-15 16:28:34 -050012
13# Merge some output files
Owen Gray5811fc52020-04-16 18:35:02 +000014python3 impl/merge_outputs.py "mergeBuildInfo" "mergeLibraryMetrics" "mergeSourceJars"
Jeff Gaston46676e32020-01-15 16:28:34 -050015
16# 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 -050017impl/parse_profile_htmls.sh