gypd: update with required default variables.

Update the list of identity variables in gypd so that the generator will
run successfully on Chromium, which uses these variables predefined by
other generators.

BUG=
R=bradnelson@google.com

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1989 78cadc50-ecff-11dd-a971-7dbc132099af
android: Build against NDK prebuilts, not system libraries.

To allow the chromium WebView to build unbundled, we need to stop
linking to system libraries and instead link to the prebuilt libraries
in the NDK.

All modules compiled for target now specify LOCAL_SDK_VERSION with a
valid version of the SDK (defaulting to 19, the oldest version on which
the WebView builds). This can be overridden with the generator flag
"aosp_sdk_version".

Instead of converting library flags of the form "-lfoo" to entries in
LOCAL_SHARED_LIBRARIES, which causes a dependency on the system version
of the library, simply pass these flags through in ldflags. The NDK
library path is set automatically if LOCAL_SDK_VERSION is defined and
the correct version of these libraries will be found.

BUG=chromium:409851
R=primiano@chromium.org, thakis@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1990 78cadc50-ecff-11dd-a971-7dbc132099af
Add (partial) support for assets catalog

Add supports for assets catalog to ninja generator (make generator does
not support them but avoid copying the catalog into the bundle).

Only supports generating compressed catalog, so will only work if target
is Mac OS X >= 10.9 or iOS >= 7.0. Support for application icon and for
launch image is partially implemented in that there is no way to enable
it.

BUG=gyp:458

git-svn-id: http://gyp.googlecode.com/svn/trunk@1991 78cadc50-ecff-11dd-a971-7dbc132099af
Simplify and optimize FindCycles

Finding cycles in a directed graph only requires a simple depth first
traversal, it does not require checking every path in the graph.

This is now fast enough to actually identify and print cycles between
targets.

Changes the error message slightly for file and target cycles,
and adds tests for both those cases.

Patch from cjhopman@chromium.org.

R=scottmg@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1992 78cadc50-ecff-11dd-a971-7dbc132099af
Stop checking for duplicate basenames

Chromium doesn't care about MSVC08 or Mac OS X makefiles anymore,
whereas some third_party libraries we'd like to use within Chromium
contain source files with duplicate basenames.

Discussion link: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/0rDiXgLvywY/sm0LSj-hiDIJ

Patch from mdempsky@chromium.org

R=scottmg@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1993 78cadc50-ecff-11dd-a971-7dbc132099af
Moves warning about invalid targets into 'invalid_targets' in result

Previously if an invalid_target was supplied analyze would report it
via 'warning'. I'm moving that warning to 'invalid_targets' and
providing the list of invalid targets there.

BUG=426892
TEST=covered by tests
R=scottmg@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1994 78cadc50-ecff-11dd-a971-7dbc132099af
Add indentation offset guess for gyp emacs mode.

This fixes the indentation for some of the gyp files using 4 spaces
indentation instead of the usual 2.
Also adds "ldflags" in the list of keywords.

Review URL: https://codereview.chromium.org/598023002/
Patch from Fabrice de Gans <fdegans@chromium.org>!


git-svn-id: http://gyp.googlecode.com/svn/trunk@1995 78cadc50-ecff-11dd-a971-7dbc132099af
Switch to 2013 now that it's what's on the bots

Chromium only supports 2013 now, and the bots no longer have older versions.

Support for other versions still maintained, just not on buildbot.

R=sbaig1@bloomberg.net

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1996 78cadc50-ecff-11dd-a971-7dbc132099af