mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2026-06-04 21:36:29 +03:00
Import chromium-64.0.3282.140
This commit is contained in:
22
testing/android/empty_apk/empty_apk.gni
Normal file
22
testing/android/empty_apk/empty_apk.gni
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 2017 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("//build/config/android/rules.gni")
|
||||
|
||||
template("empty_apk") {
|
||||
manifest_target_name = "${target_name}__manifest"
|
||||
manifest_path = "${target_gen_dir}/${target_name}/AndroidManifest.xml"
|
||||
|
||||
jinja_template(manifest_target_name) {
|
||||
input = "//testing/android/empty_apk/AndroidManifest.xml"
|
||||
output = manifest_path
|
||||
variables = [ "package=${invoker.package_name}" ]
|
||||
}
|
||||
|
||||
android_apk(target_name) {
|
||||
forward_variables_from(invoker, "*")
|
||||
android_manifest = manifest_path
|
||||
android_manifest_dep = ":$manifest_target_name"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user