Skip to content

Commit

Permalink
[Android]: Roll NDK to r10b-rc1.
Browse files Browse the repository at this point in the history
This roll updates the arm64 and x86_64 ABIS to include changes in NDK r10b-rc1.
This also removes android_tools/ndk_experimental and moves all 64 bit targets
over to using android_tools/ndk instead.

BUG=393903

Review URL: https://codereview.chromium.org/404553002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283926 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
rmcilroy@chromium.org committed Jul 17, 2014
1 parent a4b4fe5 commit 84b50a5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ deps_os = {
"android": {
"src/third_party/android_tools":
Var("chromium_git") + "/android_tools.git" +
"@b36620e3a51939055ba871022123221a37ecdebb",
"@e91e44dc29517115794a72eea554616d067925ae",

"src/third_party/aosp":
"/trunk/deps/third_party/aosp@148330",
Expand Down
15 changes: 6 additions & 9 deletions build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,6 @@
# they're passed to ant which uses a different relative path from
# gyp.
'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_tools/ndk/',
'android_ndk_experimental_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_tools/ndk_experimental/',
'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.
Expand Down Expand Up @@ -1655,11 +1654,10 @@
}],
['target_arch == "x64"', {
'android_app_abi%': 'x86_64',
'android_gdbserver%': '<(android_ndk_experimental_root)/prebuilt/android-x86_64/gdbserver/gdbserver',
'android_ndk_sysroot%': '<(android_ndk_experimental_root)/platforms/android-L/arch-x86_64',
'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-x86_64/gdbserver/gdbserver',
'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-L/arch-x86_64',
'android_ndk_lib_dir%': 'usr/lib64',
'android_toolchain%': '<(android_ndk_experimental_root)/toolchains/x86_64-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin',
'android_stlport_root': '<(android_ndk_experimental_root)/sources/cxx-stl/stlport',
'android_toolchain%': '<(android_ndk_root)/toolchains/x86_64-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin',
}],
['target_arch=="arm"', {
'conditions': [
Expand All @@ -1676,11 +1674,10 @@
}],
['target_arch == "arm64"', {
'android_app_abi%': 'arm64-v8a',
'android_gdbserver%': '<(android_ndk_experimental_root)/prebuilt/android-arm64/gdbserver/gdbserver',
'android_ndk_sysroot%': '<(android_ndk_experimental_root)/platforms/android-L/arch-arm64',
'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-arm64/gdbserver/gdbserver',
'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-L/arch-arm64',
'android_ndk_lib_dir%': 'usr/lib',
'android_toolchain%': '<(android_ndk_experimental_root)/toolchains/aarch64-linux-android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin',
'android_stlport_root': '<(android_ndk_experimental_root)/sources/cxx-stl/stlport',
'android_toolchain%': '<(android_ndk_root)/toolchains/aarch64-linux-android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin',
}],
['target_arch == "mipsel"', {
'android_app_abi%': 'mips',
Expand Down
12 changes: 6 additions & 6 deletions third_party/android_platform/development/scripts/symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ def ToolPath(tool, toolchain_info=None):
toolchain_prefix = "arm-linux-androideabi"
ndk = "ndk"
elif ARCH == "arm64":
toolchain_source = "aarch64-linux-android-4.8"
toolchain_source = "aarch64-linux-android-4.9"
toolchain_prefix = "aarch64-linux-android"
ndk = "ndk_experimental"
ndk = "ndk"
elif ARCH == "x86":
toolchain_source = "x86-4.6"
toolchain_prefix = "i686-android-linux"
ndk = "ndk"
elif ARCH == "x86_64":
toolchain_source = "x86_64-4.8"
toolchain_source = "x86_64-4.9"
toolchain_prefix = "x86_64-linux-android"
ndk = "ndk_experimental"
ndk = "ndk"
elif ARCH == "mips":
toolchain_source = "mipsel-linux-android-4.6"
toolchain_prefix = "mipsel-linux-android"
Expand Down Expand Up @@ -95,7 +95,7 @@ def FindToolchain():

## Known toolchains, newer ones in the front.
if ARCH == "arm64":
gcc_version = "4.8"
gcc_version = "4.9"
known_toolchains = [
("aarch64-linux-android-" + gcc_version, "aarch64", "aarch64-linux-android")
]
Expand All @@ -110,7 +110,7 @@ def FindToolchain():
]
elif ARCH =="x86_64":
known_toolchains = [
("x86_64-linux-android-4.8", "x86_64", "x86_64-linux-android")
("x86_64-linux-android-4.9", "x86_64", "x86_64-linux-android")
]
elif ARCH == "mips":
gcc_version = "4.6"
Expand Down

0 comments on commit 84b50a5

Please sign in to comment.