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-x86_64"
    - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.android-x86_64"
    - "index.project.deepspeech.deepspeech.native_client.android-x86_64.${event.head.sha}"
  tensorflow: ${system.tensorflow.android_arm64.url}
  scripts:
    build: "taskcluster/android-build.sh x86_64"
    package: "taskcluster/android-package.sh x86_64"
  nc_asset_name: "native_client.x86_64.cpu.android.tar.xz"
  workerType: "${docker.dsBuild}"
  metadata:
    name: "DeepSpeech Android x86_64"
    description: "Building DeepSpeech for Android x86_64, optimized version"
