In crrev.com/c/1866080, catapult and android_ndk were added for
supporting standalone Android builds, which increased ANGLE's fresh
checkout time and disk occupation a lot. For ANGLE embedders, this can
be mitigated by putting them behind a condition, where checkout_android
is a builtin variable controlled by target_os in the .gclient file. For
standalone builds on Linux, Android will be added to target_os by
default for compatibility with previous behavior.
Bug: None
Change-Id: I0b258c6fc7f62ca65e705b8c31c9ace5dffd4030
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2216709
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Jiajie Hu <jiajie.hu@intel.com>
Add #!/usr/bin/python2 and the executable permission bit to all scripts
where missing.
BUG=angleproject:2209
Change-Id: Ib33017c17e579c371b89bbfbdb7136b870027dc5
Reviewed-on: https://chromium-review.googlesource.com/862987
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Indicate scripts/bootstrap.py should be run by python2.
TBR=jmadill@chromium.org
BUG=angleproject:2209
Change-Id: I2ccfee1407cd4ce457aa28a374ac202b8281d40b
Reviewed-on: https://chromium-review.googlesource.com/862618
Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
gclient is a .bat file on Windows, and subprocess won't run it unless shell=True.
BUG=angleproject:1204
TEST=run in Linux and Windows 8
Change-Id: I1f94673f23ef25fe35df64ffd1ad04ed69626ad0
Reviewed-on: https://chromium-review.googlesource.com/312324
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Austin Kinross <aukinros@microsoft.com>
Tested-by: Frank Henigman <fjhenigman@chromium.org>
Add a script to run "gclient config" and edit the output, since
gclient will no longer do what we want.
BUG=angleproject:1204
TEST=none
Change-Id: I00e214490967e14034c935e051acc39229f27ff7
Reviewed-on: https://chromium-review.googlesource.com/312233
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Frank Henigman <fjhenigman@chromium.org>