mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
51 lines
1.8 KiB
Diff
51 lines
1.8 KiB
Diff
From e81a668b7d57f230c4b2e924981d579d13d78ce4 Mon Sep 17 00:00:00 2001
|
|
From: Tad <tad@spotco.us>
|
|
Date: Fri, 23 Dec 2016 19:58:47 -0500
|
|
Subject: [PATCH] Fix build tools
|
|
|
|
Change-Id: I7e30cb163233980e1faded4041791f5311a3ebda
|
|
---
|
|
Android.mk | 4 ++--
|
|
services-framework-proxy/build.gradle | 4 ++--
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/Android.mk b/Android.mk
|
|
index 50889ae..5193277 100644
|
|
--- a/Android.mk
|
|
+++ b/Android.mk
|
|
@@ -21,14 +21,14 @@ LOCAL_PACKAGE_NAME := GsfProxy
|
|
|
|
gsfproxy_root := $(LOCAL_PATH)
|
|
gsfproxy_dir := services-framework-proxy
|
|
-gsfproxy_out := $(OUT_DIR)/target/common/obj/APPS/$(LOCAL_MODULE)_intermediates
|
|
+gsfproxy_out := $(PWD)/$(OUT_DIR)/target/common/obj/APPS/$(LOCAL_MODULE)_intermediates
|
|
gsfproxy_build := $(gsfproxy_root)/$(gsfproxy_dir)/build
|
|
gsfproxy_apk := build/outputs/apk/services-framework-proxy-release-unsigned.apk
|
|
|
|
$(gsfproxy_root)/$(gsfproxy_dir)/$(gsfproxy_apk):
|
|
rm -Rf $(gsfproxy_build)
|
|
mkdir -p $(gsfproxy_out)
|
|
- ln -s $(gsfproxy_out) $(gsfproxy_build)
|
|
+ ln -sf $(gsfproxy_out) $(gsfproxy_build)
|
|
echo "sdk.dir=$(ANDROID_HOME)" > $(gsfproxy_root)/local.properties
|
|
cd $(gsfproxy_root) && git submodule update --recursive --init
|
|
cd $(gsfproxy_root)/$(gsfproxy_dir) && JAVA_TOOL_OPTIONS="$(JAVA_TOOL_OPTIONS) -Dfile.encoding=UTF8" ../gradlew assembleRelease
|
|
diff --git a/services-framework-proxy/build.gradle b/services-framework-proxy/build.gradle
|
|
index 6824f94..7243816 100644
|
|
--- a/services-framework-proxy/build.gradle
|
|
+++ b/services-framework-proxy/build.gradle
|
|
@@ -44,8 +44,8 @@ int getMyVersionCode() {
|
|
}
|
|
|
|
android {
|
|
- compileSdkVersion 23
|
|
- buildToolsVersion "23.0.2"
|
|
+ compileSdkVersion 24
|
|
+ buildToolsVersion "25.0.1"
|
|
|
|
defaultConfig {
|
|
versionName getMyVersionName()
|
|
--
|
|
2.9.3
|
|
|