aboutsummaryrefslogtreecommitdiffstats
path: root/tools/releasetools/Android.bp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-08-28 17:20:52 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-08-28 17:20:52 -0700
commitd14a6110c50402a760d797e709293a79dc11a052 (patch)
treedbd815d7c9a7e466488d7ef94cabbc4f041e86e9 /tools/releasetools/Android.bp
parenta9fef4a0c7e696e7c3beed6e3dba3e1dec4f112b (diff)
parente3ba82cff24a2bf44c39230cf1f6d934c3f4c644 (diff)
downloadplatform_build-d14a6110c50402a760d797e709293a79dc11a052.tar.gz
platform_build-d14a6110c50402a760d797e709293a79dc11a052.tar.bz2
platform_build-d14a6110c50402a760d797e709293a79dc11a052.zip
Add a script to check VINTF compat of target files package.
am: e3ba82cff2 Change-Id: Iccf4b7afa93749f441f48a3270f3d4beac8a0f06
Diffstat (limited to 'tools/releasetools/Android.bp')
-rw-r--r--tools/releasetools/Android.bp21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/releasetools/Android.bp b/tools/releasetools/Android.bp
index 69205b1883..fdc4393ec4 100644
--- a/tools/releasetools/Android.bp
+++ b/tools/releasetools/Android.bp
@@ -76,6 +76,19 @@ python_defaults {
}
python_defaults {
+ name: "releasetools_check_target_files_vintf_defaults",
+ srcs: [
+ "check_target_files_vintf.py",
+ ],
+ libs: [
+ "releasetools_common",
+ ],
+ required: [
+ "checkvintf",
+ ],
+}
+
+python_defaults {
name: "releasetools_ota_from_target_files_defaults",
srcs: [
"edify_generator.py",
@@ -266,6 +279,14 @@ python_binary_host {
}
python_binary_host {
+ name: "check_target_files_vintf",
+ defaults: [
+ "releasetools_binary_defaults",
+ "releasetools_check_target_files_vintf_defaults"
+ ],
+}
+
+python_binary_host {
name: "img_from_target_files",
defaults: [
"releasetools_binary_defaults",