summaryrefslogtreecommitdiff
path: root/api/Android.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2021-01-20 20:23:34 +0000
committerAnton Hansson <hansson@google.com>2021-01-20 20:23:34 +0000
commit85785fec8a90079ff3340d188b1c415ed7aff073 (patch)
treef70ef6d4efee2ecc3db1aaa070e7283b672ad5f7 /api/Android.bp
parentc76df1366c094cde3db166e9ce0f86835db763dd (diff)
Dist more API txt files
Add disting of the following for the sdk: - android-non-updatable.txt - android-non-updatable-removed.txt - removed.txt Bug: 158544979 Test: m sdk dist && inspect out/dist/apistubs Change-Id: I5f628f4fcfc13f67105ee3b2760274e900fc1e34
Diffstat (limited to 'api/Android.bp')
-rw-r--r--api/Android.bp30
1 files changed, 18 insertions, 12 deletions
diff --git a/api/Android.bp b/api/Android.bp
index 9a157b8a0578..fdfef4cb8a74 100644
--- a/api/Android.bp
+++ b/api/Android.bp
@@ -50,10 +50,7 @@ genrule {
dest: "current.txt",
},
{
- targets: [
- "sdk",
- "win_sdk",
- ],
+ targets: ["sdk", "win_sdk"],
dir: "apistubs/android/public/api",
dest: "android.txt",
},
@@ -106,6 +103,11 @@ genrule {
dir: "api",
dest: "removed.txt",
},
+ {
+ targets: ["sdk", "win_sdk"],
+ dir: "apistubs/android/public/api",
+ dest: "removed.txt",
+ },
],
}
@@ -131,10 +133,7 @@ genrule {
dest: "system-current.txt",
},
{
- targets: [
- "sdk",
- "win_sdk",
- ],
+ targets: ["sdk", "win_sdk"],
dir: "apistubs/android/system/api",
dest: "android.txt",
},
@@ -163,6 +162,11 @@ genrule {
dir: "api",
dest: "system-removed.txt",
},
+ {
+ targets: ["sdk", "win_sdk"],
+ dir: "apistubs/android/system/api",
+ dest: "removed.txt",
+ },
],
visibility: ["//visibility:public"],
}
@@ -189,10 +193,7 @@ genrule {
dest: "module-lib-current.txt",
},
{
- targets: [
- "sdk",
- "win_sdk",
- ],
+ targets: ["sdk", "win_sdk"],
dir: "apistubs/android/module-lib/api",
dest: "android.txt",
},
@@ -220,6 +221,11 @@ genrule {
dir: "api",
dest: "module-lib-removed.txt",
},
+ {
+ targets: ["sdk", "win_sdk"],
+ dir: "apistubs/android/module-lib/api",
+ dest: "removed.txt",
+ },
],
}