diff --git a/config/android/config.gni b/config/android/config.gni index 0e25a9afe..e74e8fe5b 100644 --- a/config/android/config.gni +++ b/config/android/config.gni @@ -91,7 +91,7 @@ if (is_android) { # Subdirectories inside android_ndk_root that contain the sysroot for the # associated platform. - _android_api_level = 14 + _android_api_level = 16 x86_android_sysroot_subdir = "platforms/android-${_android_api_level}/arch-x86" arm_android_sysroot_subdir = diff --git a/secondary/third_party/android_tools/BUILD.gn b/secondary/third_party/android_tools/BUILD.gn index f054125f3..dc934cb93 100644 --- a/secondary/third_party/android_tools/BUILD.gn +++ b/secondary/third_party/android_tools/BUILD.gn @@ -65,9 +65,17 @@ android_java_prebuilt("android_support_v7_mediarouter_java") { jar_path = "$android_sdk_root/extras/android/support/v7/mediarouter/libs/android-support-v7-mediarouter.jar" } +android_resources("android_support_v7_recyclerview_resources") { + v14_skip = true + resource_dirs = + [ "$android_sdk_root/extras/android/support/v7/recyclerview/res" ] + custom_package = "android.support.v7.recyclerview" +} + android_java_prebuilt("android_support_v7_recyclerview_java") { deps = [ ":android_support_v7_appcompat_java", + ":android_support_v7_recyclerview_resources", ] jar_path = "$android_sdk_root/extras/android/support/v7/recyclerview/libs/android-support-v7-recyclerview.jar" }