blob: 4c1733cfaa35e5eed4c082db109116d0c2fcd48c [file] [log] [blame]
import("//build/config/android/rules.gni")
import("//build/config/locales.gni")
import("//chrome/android/features/module_names_to_package_ids.gni")
template("autofill_assistant_module_tmpl") {
_manifest = "$target_gen_dir/$target_name/AndroidManifest.xml"
_manifest_target = "${target_name}__manifest"
jinja_template(_manifest_target) {
input =
"//chrome/android/features/autofill_assistant/java/AndroidManifest.xml"
output = _manifest
variables = [
"target_sdk_version=$android_sdk_version",
"manifest_package=${invoker.manifest_package}",
]
}
android_app_bundle_module(target_name) {
forward_variables_from(invoker,
[
"base_module_target",
"module_name",
"uncompress_shared_libraries",
"version_code",
"version_name",
])
android_manifest = _manifest
android_manifest_dep = ":${_manifest_target}"
proguard_enabled = !is_java_debug
aapt_locale_whitelist = locales
package_name = "autofill_assistant"
package_name_to_id_mapping = resource_packages_id_mapping
deps = [
"//chrome/android/features/autofill_assistant:animated_poodle_java",
"//chrome/android/features/autofill_assistant:java",
]
}
}