if $GYP_DEFINES contain branding=Chrome and target_arch=arm together, the gclient runhooks --force will return error:
if $GYP_DEFINES contain branding=Chrome and target_arch=arm together, the gclient runhooks --force will return error:

KeyError: 'Undefined variable deb_arch in src/chrome/chrome.gyp while loading dependencies of src/chrome/browser/sync/tools/sync_tools.gyp while loading dependencies of src/build/all.gyp while trying to load src/build/all.gyp'
Error: /usr/bin/python src/build/gyp_chromium in /usr/local/google/proj/chrome_arm returned 1

BUG=NONE
TEST=GCLIENT runhooks succeed.

Review URL: http://codereview.chromium.org/3420010

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@59885 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser