build:
  template_file: linux-opt-base.tyml
  dependencies:
    - "swig-linux-amd64"
    - "node-gyp-cache"
    - "pyenv-linux-amd64"
    - "tf_android-arm64-opt"
  routes:
    - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.android-arm64"
    - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.android-arm64"
    - "index.project.deepspeech.deepspeech.native_client.android-arm64.${event.head.sha}"
  tensorflow: ${system.tensorflow.android_arm64.url}
  scripts:
    setup: "taskcluster/tc-true.sh"
    build: "taskcluster/android-build.sh arm64-v8a"
    package: "taskcluster/android-package.sh arm64-v8a"
  nc_asset_name: "native_client.arm64.cpu.android.tar.xz"
  metadata:
    name: "DeepSpeech Android ARM64"
    description: "Building DeepSpeech for Android ARM64, optimized version"
