3508d336dd
This change also avoids the need to do another 'gclient runhooks' when switching between Android and Linux builds, and between IA32 and ARM Android builds. gyp does not allow 'libraries' sections inside of configurations. Therefore, since some architecture specific paths, libraries, etc. must be specified on the Android NDK's linker command line, to avoid re-gyping when switching between Android IA32 and ARM, this change moves the architecture specific linker flags to a script, android_link.py. To avoid re-gyping when swtiching between Linux and Android, this change creates new configurations that specify the target OS as well as the the target architecture, e.g. ReleaseLinuxARM or ReleaseAndroidARM instead of ReleaseARM. This change also adds a --toolchain flag to build.py, and removes obsoleted logic for setting up the Android build. R=iposva@google.com Review URL: https://codereview.chromium.org//105223002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31340 260f80e4-7a28-3924-810f-c04153c831b5