Android: make the top level Android makefile smarter.

Instead of requiring an environment variable to be set, which has
resulted in issues with things not being rebuilt correctly when the
variable is forgotten, check to see if the gyp-generated Android
makefile has been created, and if so assume we are doing a WebView
build. This file only exists if gyp has been run with
GYP_GENERATORS=android which only happens in the WebView tree.

Also, rename CHROMIUM_WEBVIEW_DIR to CHROMIUM_DIR as the directory
itself is not webview-specific; it's just the Chromium tree root.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164291 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed