• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/android/rules.gni")
6
7template("empty_apk") {
8  manifest_target_name = "${target_name}__manifest"
9  manifest_path = "${target_gen_dir}/${target_name}/AndroidManifest.xml"
10
11  jinja_template(manifest_target_name) {
12    input = "//testing/android/empty_apk/AndroidManifest.xml"
13    output = manifest_path
14    variables = [ "package=${invoker.package_name}" ]
15  }
16
17  android_apk(target_name) {
18    forward_variables_from(invoker, "*")
19    android_manifest = manifest_path
20    android_manifest_dep = ":$manifest_target_name"
21  }
22}
23