From 48dd48ecc8be4c8a646018d85b9dcd6e98ebe3c3 Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Mon, 8 Dec 2025 19:16:04 +0700 Subject: [PATCH] build: Remove outdated todos --- build.gradle | 9 --------- systemUI/anim/build.gradle | 10 ---------- systemUI/shared/build.gradle | 10 ---------- wmshell/build.gradle | 10 ---------- 4 files changed, 39 deletions(-) diff --git a/build.gradle b/build.gradle index dbb4e6c22b..69aa2d816c 100644 --- a/build.gradle +++ b/build.gradle @@ -20,15 +20,6 @@ plugins { alias(libs.plugins.diffplug.spotless) } -// LC-Build-TODO: addFrameworkJar() doesn't work, what??? -def localFrameworkJar = new File("$rootDir/prebuilts/libs", "framework-16.jar") -tasks.withType(JavaCompile).configureEach { - classpath = files(localFrameworkJar) -} -tasks.withType(KotlinCompile).configureEach { - libraries.from(files(localFrameworkJar)) -} - allprojects { plugins.withType(AndroidBasePlugin).configureEach { android { diff --git a/systemUI/anim/build.gradle b/systemUI/anim/build.gradle index 87ccdd06bd..c33afd9d48 100644 --- a/systemUI/anim/build.gradle +++ b/systemUI/anim/build.gradle @@ -5,16 +5,6 @@ plugins { alias(libs.plugins.kotlin.android) } -// LC-Build-TODO: addFrameworkJar() doesn't work, what??? -def frameworkJar = new File("$rootDir/prebuilts/libs", "framework-16.jar") -tasks.withType(JavaCompile).configureEach { - classpath = files(frameworkJar) -} -tasks.withType(KotlinCompile).configureEach { - libraries.from(files(frameworkJar)) -} -compileOnlyCommonJars() - // TODO: Pull out surfaceeffects outside of src and have separate build files there. android { buildToolsVersion "36.1.0" diff --git a/systemUI/shared/build.gradle b/systemUI/shared/build.gradle index 98a19b94e0..66f90b7e46 100644 --- a/systemUI/shared/build.gradle +++ b/systemUI/shared/build.gradle @@ -6,16 +6,6 @@ plugins { alias(libs.plugins.google.ksp) } -// LC-Build-TODO: addFrameworkJar() doesn't work, what??? -def frameworkJar = new File("$rootDir/prebuilts/libs", "framework-16.jar") -tasks.withType(JavaCompile).configureEach { - classpath = files(frameworkJar) -} -tasks.withType(KotlinCompile).configureEach { - libraries.from(files(frameworkJar)) -} -compileOnlyCommonJars() - android { buildToolsVersion "36.1.0" namespace "com.android.systemui.shared" diff --git a/wmshell/build.gradle b/wmshell/build.gradle index 3f9e2c0808..01649e4204 100644 --- a/wmshell/build.gradle +++ b/wmshell/build.gradle @@ -6,16 +6,6 @@ plugins { alias(libs.plugins.google.ksp) } -// LC-Build-TODO: addFrameworkJar() doesn't work, what??? -def frameworkJar = new File("$rootDir/prebuilts/libs", "framework-16.jar") -tasks.withType(JavaCompile).configureEach { - classpath = files(frameworkJar) -} -tasks.withType(KotlinCompile).configureEach { - libraries.from(files(frameworkJar)) -} -compileOnlyCommonJars() - android { buildToolsVersion "36.1.0" namespace "com.android.wm.shell"