From a3b623a6eff6dc9d58a03251ae22bccf92f67cb2 Mon Sep 17 00:00:00 2001 From: jbudorick Date: Fri, 21 Oct 2016 16:24:56 -0700 Subject: [PATCH] Revert of [Reland] Upgrade to new Android SDK. (patchset #2 id:20001 of https://codereview.chromium.org/2438133002/ ) Reason for revert: forward --list issues + gtest perf test adb locations need to be updated. Original issue's description: > [Reland] Upgrade to new Android SDK. > > https://codereview.chromium.org/2350013004/ was reverted due to breakage on the perf waterfall. After https://codereview.chromium.org/2438563004/, this should hopefully be resolved. > > BUG=623989 > > Committed: https://crrev.com/a8b2a521ccd425935ef26a70e0f65b57de50d788 > Cr-Commit-Position: refs/heads/master@{#426777} TBR=xunjieli@chromium.org,stip@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=623989 Review-Url: https://chromiumcodereview.appspot.com/2438913004 Cr-Original-Commit-Position: refs/heads/master@{#426926} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 8397f04a7f49909e445d30ccb8d187fedc7959e2 --- android/BUILD.gn | 8 +-- android/devil_chromium.json | 6 +- android/lint/suppressions.xml | 99 +---------------------------- android/pylib/constants/__init__.py | 2 +- config/android/config.gni | 4 +- 5 files changed, 11 insertions(+), 108 deletions(-) diff --git a/android/BUILD.gn b/android/BUILD.gn index e483048f7..688391f9e 100644 --- a/android/BUILD.gn +++ b/android/BUILD.gn @@ -112,10 +112,10 @@ group("test_runner_py") { "devil_chromium.json", "pylib/gtest/filter/", "test_wrapper/logdog_wrapper.py", - "//third_party/android_tools/sdk/build-tools/24.0.2/aapt", - "//third_party/android_tools/sdk/build-tools/24.0.2/dexdump", - "//third_party/android_tools/sdk/build-tools/24.0.2/lib64/libc++.so", - "//third_party/android_tools/sdk/build-tools/24.0.2/split-select", + "//third_party/android_tools/sdk/build-tools/23.0.1/aapt", + "//third_party/android_tools/sdk/build-tools/23.0.1/dexdump", + "//third_party/android_tools/sdk/build-tools/23.0.1/lib/libc++.so", + "//third_party/android_tools/sdk/build-tools/23.0.1/split-select", "//third_party/android_tools/sdk/platform-tools/adb", "//third_party/catapult/third_party/gsutil/", "//third_party/catapult/devil/devil/devil_dependencies.json", diff --git a/android/devil_chromium.json b/android/devil_chromium.json index 1f9080d11..c1157fae9 100644 --- a/android/devil_chromium.json +++ b/android/devil_chromium.json @@ -5,7 +5,7 @@ "file_info": { "linux2_x86_64": { "local_paths": [ - "../../third_party/android_tools/sdk/build-tools/24.0.2/aapt" + "../../third_party/android_tools/sdk/build-tools/23.0.1/aapt" ] } } @@ -32,7 +32,7 @@ "file_info": { "linux2_x86_64": { "local_paths": [ - "../../third_party/android_tools/sdk/build-tools/24.0.2/dexdump" + "../../third_party/android_tools/sdk/build-tools/23.0.1/dexdump" ] } } @@ -41,7 +41,7 @@ "file_info": { "linux2_x86_64": { "local_paths": [ - "../../third_party/android_tools/sdk/build-tools/24.0.2/split-select" + "../../third_party/android_tools/sdk/build-tools/23.0.1/split-select" ] } } diff --git a/android/lint/suppressions.xml b/android/lint/suppressions.xml index 11eaa974f..f01174bf0 100644 --- a/android/lint/suppressions.xml +++ b/android/lint/suppressions.xml @@ -217,22 +217,6 @@ Still reading? - - - - - - - - - - - - - - - - @@ -290,8 +274,6 @@ Still reading? - - @@ -316,8 +298,7 @@ Still reading? - - + @@ -379,84 +360,6 @@ Still reading? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/android/pylib/constants/__init__.py b/android/pylib/constants/__init__.py index 122ae98cf..9b25dcd07 100644 --- a/android/pylib/constants/__init__.py +++ b/android/pylib/constants/__init__.py @@ -96,7 +96,7 @@ DEVICE_PERF_OUTPUT_DIR = ( SCREENSHOTS_DIR = os.path.join(DIR_SOURCE_ROOT, 'out_screenshots') ANDROID_SDK_VERSION = version_codes.MARSHMALLOW -ANDROID_SDK_BUILD_TOOLS_VERSION = '24.0.2' +ANDROID_SDK_BUILD_TOOLS_VERSION = '23.0.1' ANDROID_SDK_ROOT = os.path.join(DIR_SOURCE_ROOT, 'third_party', 'android_tools', 'sdk') ANDROID_SDK_TOOLS = os.path.join(ANDROID_SDK_ROOT, diff --git a/config/android/config.gni b/config/android/config.gni index 90547cd5d..1978fa24d 100644 --- a/config/android/config.gni +++ b/config/android/config.gni @@ -35,8 +35,8 @@ if (is_android) { if (!defined(default_android_sdk_root)) { default_android_sdk_root = "//third_party/android_tools/sdk" - default_android_sdk_version = "24" - default_android_sdk_build_tools_version = "24.0.2" + default_android_sdk_version = "23" + default_android_sdk_build_tools_version = "23.0.1" } if (!defined(default_lint_android_sdk_root)) {