aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTai Kuo <taikuo@google.com>2020-07-30 17:47:13 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-30 17:47:13 +0000
commit6427470ea3f9bc41f2580a6a909af91c34b7e2d9 (patch)
tree11fd2c92acb7c565a692672a201cd71fe460b49a
parente36cb61db2097a9f7e29a580bac7c419949dc645 (diff)
parent90cb0e4ec27bd3ac7e172fd3510de82fa3267bc8 (diff)
downloadwalt-6427470ea3f9bc41f2580a6a909af91c34b7e2d9.tar.gz
walt: app: update SDK, gradle and NDK version am: 90cb0e4ec2
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/walt/+/11887675 Change-Id: I461c70bf7bb2e87e1221f2b3dd5febd86bfd2dca
-rw-r--r--android/WALT/WALT.iml2
-rw-r--r--android/WALT/app/build.gradle17
-rw-r--r--android/WALT/app/src/main/jni/Android.mk3
-rw-r--r--android/WALT/app/src/main/jni/Application.mk2
-rw-r--r--android/WALT/app/src/main/res/xml/preferences.xml2
-rw-r--r--android/WALT/build.gradle6
-rw-r--r--android/WALT/gradle/wrapper/gradle-wrapper.properties2
7 files changed, 19 insertions, 15 deletions
diff --git a/android/WALT/WALT.iml b/android/WALT/WALT.iml
index 628d221..f8948c5 100644
--- a/android/WALT/WALT.iml
+++ b/android/WALT/WALT.iml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<module external.linked.project.id="WALT" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
+<module external.linked.project.id="WALT" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
diff --git a/android/WALT/app/build.gradle b/android/WALT/app/build.gradle
index ec99946..71a473c 100644
--- a/android/WALT/app/build.gradle
+++ b/android/WALT/app/build.gradle
@@ -2,18 +2,15 @@ apply plugin: 'com.android.application'
android {
- compileSdkVersion 27
- buildToolsVersion '27.0.3'
+ compileSdkVersion 29
+ buildToolsVersion '29.0.3'
defaultConfig {
applicationId "org.chromium.latency.walt"
- minSdkVersion 17
- targetSdkVersion 23
+ minSdkVersion 21
+ targetSdkVersion 29
versionCode 9
versionName "0.1.9"
- externalNativeBuild.ndkBuild {
- arguments "APP_PLATFORM=android-14", "APP_ALLOW_MISSING_DEPS=true"
- }
}
externalNativeBuild.ndkBuild {
@@ -30,6 +27,12 @@ android {
}
}
}
+
+ ndkVersion "21.0.6113669"
+
+ lintOptions {
+ abortOnError false
+ }
}
dependencies {
diff --git a/android/WALT/app/src/main/jni/Android.mk b/android/WALT/app/src/main/jni/Android.mk
index 08d71f2..edf1ddf 100644
--- a/android/WALT/app/src/main/jni/Android.mk
+++ b/android/WALT/app/src/main/jni/Android.mk
@@ -22,9 +22,6 @@ LOCAL_SRC_FILES := sync_clock_jni.c sync_clock.c player.c
LOCAL_CFLAGS := -g -DUSE_LIBLOG -Werror -Wno-deprecated-declarations
-# needed for logcat
-LOCAL_SHARED_LIBRARIES := libcutils
-
LOCAL_LDLIBS := -lOpenSLES -llog
include $(BUILD_SHARED_LIBRARY)
diff --git a/android/WALT/app/src/main/jni/Application.mk b/android/WALT/app/src/main/jni/Application.mk
index 7c01d06..a6cb06d 100644
--- a/android/WALT/app/src/main/jni/Application.mk
+++ b/android/WALT/app/src/main/jni/Application.mk
@@ -14,4 +14,4 @@
#
APP_ABI := all
-APP_PLATFORM := android-9
+APP_PLATFORM := android-21
diff --git a/android/WALT/app/src/main/res/xml/preferences.xml b/android/WALT/app/src/main/res/xml/preferences.xml
index 6482571..612c089 100644
--- a/android/WALT/app/src/main/res/xml/preferences.xml
+++ b/android/WALT/app/src/main/res/xml/preferences.xml
@@ -1,5 +1,5 @@
<android.support.v7.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:walt="http://schemas.android.com/apk/res/org.chromium.latency.walt">
+ xmlns:walt="http://schemas.android.com/apk/res-auto">
<android.support.v7.preference.PreferenceScreen
android:key="pref_general_screen"
diff --git a/android/WALT/build.gradle b/android/WALT/build.gradle
index 6f09b25..fddf29e 100644
--- a/android/WALT/build.gradle
+++ b/android/WALT/build.gradle
@@ -6,7 +6,7 @@ buildscript {
jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:3.1.2'
+ classpath 'com.android.tools.build:gradle:3.6.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -19,4 +19,8 @@ allprojects {
jcenter()
maven { url "https://jitpack.io" }
}
+
+ tasks.withType(JavaCompile) {
+ options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
+ }
}
diff --git a/android/WALT/gradle/wrapper/gradle-wrapper.properties b/android/WALT/gradle/wrapper/gradle-wrapper.properties
index 933b647..674bdda 100644
--- a/android/WALT/gradle/wrapper/gradle-wrapper.properties
+++ b/android/WALT/gradle/wrapper/gradle-wrapper.properties
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip