# vim: filetype=yaml sw=2
version: '[% c("abbrev") %]'
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %]'
git_hash: 18ba7d2780b1d5194cc5854d703655f6c9d3d196
git_url: https://git.torproject.org/tor-android-service.git
git_submodule: 1

var:
  deps:
    - build-essential
  container:
    use_container: 1
  # this should be updated when the list of gradle dependencies is changed
  gradle_dependencies_version: 3

targets:
  android:
    var:
      arch_deps:
        - openjdk-8-jdk

input_files:
  - project: container-image
  - name: '[% c("var/compiler") %]'
    project: '[% c("var/compiler") %]'
  - filename: 'gradle-dependencies-[% c("var/gradle_dependencies_version") %]'
    name: gradle-dependencies
    exec: '[% INCLUDE "fetch-gradle-dependencies" %]'
  - project: tor-onion-proxy-library
    name: topl
  - filename: remove-native-build.patch
  - filename: disable-daemon.patch
  - filename: maven-local.patch
