diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/android/pylib/constants.py | 4 | ||||
-rw-r--r-- | build/common.gypi | 2 | ||||
-rw-r--r-- | build/config/android/config.gni | 15 |
3 files changed, 15 insertions, 6 deletions
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py index cb026da..a41438c 100644 --- a/build/android/pylib/constants.py +++ b/build/android/pylib/constants.py @@ -133,8 +133,8 @@ DEVICE_PERF_OUTPUT_DIR = ( SCREENSHOTS_DIR = os.path.join(DIR_SOURCE_ROOT, 'out_screenshots') -ANDROID_SDK_VERSION = 19 -ANDROID_SDK_BUILD_TOOLS_VERSION = '19.0.0' +ANDROID_SDK_VERSION = 20 +ANDROID_SDK_BUILD_TOOLS_VERSION = '20.0.0' 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/build/common.gypi b/build/common.gypi index b657907..e8ce1e2 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -1613,7 +1613,7 @@ 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_tools/sdk/', 'android_host_arch%': '<!(uname -m)', # Android API-level of the SDK used for compilation. - 'android_sdk_version%': '19', + 'android_sdk_version%': '20', 'android_sdk_build_tools_version%': '20.0.0', 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')", }, diff --git a/build/config/android/config.gni b/build/config/android/config.gni index 1e3601d..819fe4d 100644 --- a/build/config/android/config.gni +++ b/build/config/android/config.gni @@ -9,6 +9,9 @@ if (is_android) { # Absolute directory containing the Android source code. android_src = "" + android_sdk_root = "//third_party/android_tools/sdk" + android_sdk_version = "20" + # This is set when building the Android WebView inside the Android build # system, using the 'android' gyp backend. The WebView code is still built # when this is unset, but builds using the normal chromium build system. @@ -46,12 +49,18 @@ if (is_android) { # than just the current one) since these are needed by the Android toolchain # file to define toolchains for all possible targets in one pass. + android_sdk = "${android_sdk_root}/platforms/android-${android_sdk_version}" + # Path to the Android NDK and SDK. android_ndk_root = "//third_party/android_tools/ndk" - android_sdk_root = "//third_party/android_tools/sdk" + + android_sdk = "${android_sdk_root}/platforms/android-${android_sdk_version}" + + android_sdk_tools = "${android_sdk_root}/tools" + android_sdk_build_tools = "${android_sdk_root}/build-tools/20.0.0" # Path to the SDK's android.jar - android_sdk_jar = "$android_sdk_root/platforms/android-19/android.jar" + android_sdk_jar = "$android_sdk/android.jar" # Subdirectories inside android_ndk_root that contain the sysroot for the # associated platform. @@ -76,7 +85,7 @@ if (is_android) { } else if (cpu_arch == "arm") { android_libgcc_file = "$arm_android_toolchain_root/lib/gcc/arm-linux-androideabi/${_android_toolchain_version}/libgcc.a" - } else if (cpu_arch == "mips") { + } else if (cpu_arch == "mipsel") { android_libgcc_file = "$mips_android_toolchain_root/lib/gcc/mipsel-linux-android/${_android_toolchain_version}/libgcc.a" } else { |