From 301ba52886bcfdc8d019ad1af2a391d895cd8f07 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Thu, 13 Jun 2019 14:55:20 +0100 Subject: [PATCH] Remove unused jars/sdk_version properties from java_system_modules Bug: 134566750 Test: m droid Change-Id: I2c5cd17f3f64bbde437eff65267d8c771d61e343 --- java/system_modules.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/java/system_modules.go b/java/system_modules.go index 2ec3dfbd5..5a86f3c82 100644 --- a/java/system_modules.go +++ b/java/system_modules.go @@ -107,12 +107,6 @@ type SystemModules struct { type SystemModulesProperties struct { // List of java library modules that should be included in the system modules Libs []string - - // List of prebuilt jars that should be included in the system modules - Jars []string - - // Sdk version that should be included in the system modules - Sdk_version *string } func (system *SystemModules) GenerateAndroidBuildActions(ctx android.ModuleContext) { @@ -123,8 +117,6 @@ func (system *SystemModules) GenerateAndroidBuildActions(ctx android.ModuleConte jars = append(jars, dep.HeaderJars()...) }) - jars = append(jars, android.PathsForModuleSrc(ctx, system.properties.Jars)...) - system.outputFile = TransformJarsToSystemModules(ctx, "java.base", jars) }