summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorKevin <kevhan@google.com>2019-03-15 13:39:00 -0700
committerKevin <kevhan@google.com>2019-03-15 13:39:00 -0700
commitddb9fe1177097b94860085954aa30a53682c8047 (patch)
tree944f0549099e509a93a8de80482f82d2ca168020 /build.gradle
parentd082129ef816884f2658c362215c66a35704a3f3 (diff)
downloadandroid_packages_apps_Trebuchet-ddb9fe1177097b94860085954aa30a53682c8047.tar.gz
android_packages_apps_Trebuchet-ddb9fe1177097b94860085954aa30a53682c8047.tar.bz2
android_packages_apps_Trebuchet-ddb9fe1177097b94860085954aa30a53682c8047.zip
Follow frameworks_intermediates change in gradle
Change directory of framework intermediates prebuilts based off recent change in location. Test: Build from IDE Change-Id: Icda11ca1526a12cc72be65052c5b1ce8c342c059
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle11
1 files changed, 7 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index 15a35133e..e296455be 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,6 +9,9 @@ buildscript {
}
}
+final String ANDROID_TOP = "${rootDir}/../../.."
+final String FRAMEWORK_PREBUILTS_DIR = "${ANDROID_TOP}/prebuilts/framework_intermediates/"
+
apply plugin: 'com.android.application'
apply plugin: 'com.google.protobuf'
@@ -148,16 +151,16 @@ dependencies {
implementation "androidx.recyclerview:recyclerview:${ANDROID_X_VERSION}"
implementation "androidx.preference:preference:${ANDROID_X_VERSION}"
implementation project(':IconLoader')
- implementation fileTree(dir: "libs", include: 'launcher_protos.jar')
+ implementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/libs", include: 'launcher_protos.jar')
// Recents lib dependency
- withQuickstepImplementation fileTree(dir: "quickstep/libs", include: 'sysui_shared.jar')
+ withQuickstepImplementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/quickstep/libs", include: 'sysui_shared.jar')
// Recents lib dependency for Go
- withQuickstepIconRecentsImplementation fileTree(dir: "quickstep/libs", include: 'sysui_shared.jar')
+ withQuickstepIconRecentsImplementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/quickstep/libs", include: 'sysui_shared.jar')
// Required for AOSP to compile. This is already included in the sysui_shared.jar
- withoutQuickstepImplementation fileTree(dir: "libs", include: 'plugin_core.jar')
+ withoutQuickstepImplementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/libs", include: 'plugin_core.jar')
testImplementation 'junit:junit:4.12'
androidTestImplementation "org.mockito:mockito-core:1.9.5"