diff options
author | halton.huo <halton.huo@intel.com> | 2015-01-13 00:07:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-13 08:08:02 +0000 |
commit | 2d159077237e890abd1dbd268ee8d62beb8683dc (patch) | |
tree | bb0c7b15f90fdaec1c42a2cc81aea6342c1366f3 /android_webview | |
parent | e925a3b964d080423a2aef982c193139c4c4cca3 (diff) | |
download | chromium_src-2d159077237e890abd1dbd268ee8d62beb8683dc.zip chromium_src-2d159077237e890abd1dbd268ee8d62beb8683dc.tar.gz chromium_src-2d159077237e890abd1dbd268ee8d62beb8683dc.tar.bz2 |
[Android] Fixed incorrect toolchain used in adb_gdb if GYP_DEFINES not set.
adb_gdb determine arch by reading GYP_DEFINES. While this env is not
required to be set, src/../chromium.gyp_env is alternative to use.
In that case, arch will fall back as arm. Thus adb_gdb will use
incorrect toolchain for non-arm target devices.
Changes:
* build/gyp_helper.py: Add main to allow to get value by given key.
* build/android/envsetup.sh: Call gyp_helper.py if GYP_DEFINES is not set.
BUG=None
TEST=run adb_gdb_content_shell on x86 and arm target
R=scottmg@chromium.org
Review URL: https://codereview.chromium.org/829913002
Cr-Commit-Position: refs/heads/master@{#311237}
Diffstat (limited to 'android_webview')
0 files changed, 0 insertions, 0 deletions