add gn_android_flavor
authormtklein <mtklein@chromium.org>
Mon, 29 Aug 2016 20:14:55 +0000 (13:14 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 29 Aug 2016 20:14:55 +0000 (13:14 -0700)
commit82023d590cd2f9533fe2147997b9f2075a33638a
tree3b22a9493e5aa7b78d8efed458bebf63dfde40f3
parentdb27fc5ed75c7cf69cf3a0c38b0770d73a6e1508
add gn_android_flavor

This ought to support compiles for now.

Am I picking up my CIPD ndk packages right?

The main thing to note is that I'm passing the target_arch directly through
as target_cpu.  This means these bots will have a slightly different naming
convention than we've been using, but it'll agree with what you must type
yourself when using GN to build for Android:

  - Arm7 -> arm
  - Arm64 -> arm64
  - Mips -> mipsel
  - Mips64 -> mips64el
  - x86 -> x86 (unchanged)
  - x86_64 -> x64

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2292663002

Review-Url: https://codereview.chromium.org/2292663002
infra/bots/recipe_modules/flavor/api.py
infra/bots/recipe_modules/flavor/gn_android_flavor.py [new file with mode: 0644]
infra/bots/recipes/swarm_compile.expected/Build-Mac-Clang-mipsel-Debug-GN_Android.json [new file with mode: 0644]
infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Release-GN_Android.json [new file with mode: 0644]
infra/bots/recipes/swarm_compile.py