Update signature files to the new format
The new format is described in tools/metalava/FORMAT.md. Fixes: 116589402 Switch signature files over to the v2 format Fixes: 112626813 Drop "synchronized" modifier from the signature format Fixes: 122358225 Omit overriding methods that only differ in final [...] Fixes: 73088715 API Review: Need doclava to output nullability Fixes: 79739773 API Review: Metalava enforcing constants are constant Exempt-From-Owner-Approval: Large-scale tooling change Test: make sdk, make update-api, make checkapi Merged-In: I8314f4e7099fa92e4f8ed7d283ccf836cc9a84a0 Change-Id: I828ec5ea2f879ebf8dd4ead651e9c9d2345f52e0
This commit is contained in:
@@ -72,7 +72,7 @@ var (
|
|||||||
`mkdir -p "$outDir" "$srcJarDir" "$stubsDir" && ` +
|
`mkdir -p "$outDir" "$srcJarDir" "$stubsDir" && ` +
|
||||||
`${config.ZipSyncCmd} -d $srcJarDir -l $srcJarDir/list -f "*.java" $srcJars && ` +
|
`${config.ZipSyncCmd} -d $srcJarDir -l $srcJarDir/list -f "*.java" $srcJars && ` +
|
||||||
`${config.JavaCmd} -jar ${config.MetalavaJar} -encoding UTF-8 -source $javaVersion @$out.rsp @$srcJarDir/list ` +
|
`${config.JavaCmd} -jar ${config.MetalavaJar} -encoding UTF-8 -source $javaVersion @$out.rsp @$srcJarDir/list ` +
|
||||||
`$bootclasspathArgs $classpathArgs $sourcepathArgs --no-banner --color --quiet ` +
|
`$bootclasspathArgs $classpathArgs $sourcepathArgs --no-banner --color --quiet --format=v2 ` +
|
||||||
`$opts && ` +
|
`$opts && ` +
|
||||||
`${config.SoongZipCmd} -write_if_changed -jar -o $out -C $stubsDir -D $stubsDir`,
|
`${config.SoongZipCmd} -write_if_changed -jar -o $out -C $stubsDir -D $stubsDir`,
|
||||||
CommandDeps: []string{
|
CommandDeps: []string{
|
||||||
@@ -93,7 +93,7 @@ var (
|
|||||||
Command: `( rm -rf "$srcJarDir" && mkdir -p "$srcJarDir" && ` +
|
Command: `( rm -rf "$srcJarDir" && mkdir -p "$srcJarDir" && ` +
|
||||||
`${config.ZipSyncCmd} -d $srcJarDir -l $srcJarDir/list -f "*.java" $srcJars && ` +
|
`${config.ZipSyncCmd} -d $srcJarDir -l $srcJarDir/list -f "*.java" $srcJars && ` +
|
||||||
`${config.JavaCmd} -jar ${config.MetalavaJar} -encoding UTF-8 -source $javaVersion @$out.rsp @$srcJarDir/list ` +
|
`${config.JavaCmd} -jar ${config.MetalavaJar} -encoding UTF-8 -source $javaVersion @$out.rsp @$srcJarDir/list ` +
|
||||||
`$bootclasspathArgs $classpathArgs $sourcepathArgs --no-banner --color --quiet ` +
|
`$bootclasspathArgs $classpathArgs $sourcepathArgs --no-banner --color --quiet --format=v2 ` +
|
||||||
`$opts && touch $out ) || ` +
|
`$opts && touch $out ) || ` +
|
||||||
`( echo -e "$msg" ; exit 38 )`,
|
`( echo -e "$msg" ; exit 38 )`,
|
||||||
CommandDeps: []string{
|
CommandDeps: []string{
|
||||||
|
Reference in New Issue
Block a user