diff options
| author | 2021-05-28 13:23:18 +0000 | |
|---|---|---|
| committer | 2021-05-28 13:23:18 +0000 | |
| commit | ee7891acec449d31116f5b83040088b722540433 (patch) | |
| tree | 9d1ebd7ddcf814afb1d4a58f5a85e1a01caf9c57 | |
| parent | 78f76b92e273967d9118fd48bde19efae4be899a (diff) | |
| parent | 5ab4286e84508672d26eace4845f18fb87573bc4 (diff) | |
Merge "Remove support for removed_dex_api_filename"
| -rw-r--r-- | java/droidstubs.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/java/droidstubs.go b/java/droidstubs.go index 953105603..17c7a7bf7 100644 --- a/java/droidstubs.go +++ b/java/droidstubs.go @@ -51,7 +51,6 @@ type Droidstubs struct { lastReleasedApiXmlFile android.WritablePath privateApiFile android.WritablePath removedApiFile android.WritablePath - removedDexApiFile android.WritablePath nullabilityWarningsFile android.WritablePath checkCurrentApiTimestamp android.WritablePath @@ -79,9 +78,6 @@ type DroidstubsProperties struct { // the generated removed API filename by Metalava, defaults to <module>_removed.txt Removed_api_filename *string - // the generated removed Dex API filename by Metalava. - Removed_dex_api_filename *string - Check_api struct { Last_released ApiToCheck @@ -274,11 +270,6 @@ func (d *Droidstubs) stubsFlags(ctx android.ModuleContext, cmd *android.RuleBuil d.removedApiFilePath = android.PathForModuleSrc(ctx, sourceRemovedApiFile) } - if String(d.properties.Removed_dex_api_filename) != "" { - d.removedDexApiFile = android.PathForModuleOut(ctx, "metalava", String(d.properties.Removed_dex_api_filename)) - cmd.FlagWithOutput("--removed-dex-api ", d.removedDexApiFile) - } - if Bool(d.properties.Write_sdk_values) { d.metadataDir = android.PathForModuleOut(ctx, "metalava", "metadata") cmd.FlagWithArg("--sdk-values ", d.metadataDir.String()) |