summaryrefslogtreecommitdiff
path: root/apex/Android.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-03-23 17:04:23 +0000
committerAnton Hansson <hansson@google.com>2020-03-23 18:18:27 +0000
commita92a23bc69adc6ef61d2052433cea6dab41b91c2 (patch)
treebb55e676e510a3a2eed68ae79143d22b5818a11e /apex/Android.bp
parent8c6b17b1ad1c1d2d6687b95d71cf85639d99e0fb (diff)
Make module apis dist their output
Only populate the targets and dir attributes. The output name will be autopopulated to the filename, which differs by module. Bug: 149293194 Test: m dist sdk && find out/dist/apistubs -name 'framework-*.txt' Change-Id: I8502eb90a10d8b1ca998c2eba5646c662638ce3f
Diffstat (limited to 'apex/Android.bp')
-rw-r--r--apex/Android.bp16
1 files changed, 16 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp
index 88c43f984847..cd34f98690d5 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -60,6 +60,10 @@ stubs_defaults {
removed_api_file: "api/removed.txt",
},
},
+ dist: {
+ targets: ["sdk", "win_sdk"],
+ dir: "apistubs/android/public/api",
+ },
}
stubs_defaults {
@@ -74,6 +78,10 @@ stubs_defaults {
removed_api_file: "api/system-removed.txt",
},
},
+ dist: {
+ targets: ["sdk", "win_sdk"],
+ dir: "apistubs/android/system/api",
+ },
}
// The defaults for module_libs comes in two parts - defaults for API checks
@@ -93,6 +101,10 @@ stubs_defaults {
removed_api_file: "api/module-lib-removed.txt",
},
},
+ dist: {
+ targets: ["sdk", "win_sdk"],
+ dir: "apistubs/android/module-lib/api",
+ },
}
stubs_defaults {
@@ -113,6 +125,10 @@ stubs_defaults {
removed_api_file: "api/removed.txt",
},
},
+ dist: {
+ targets: ["sdk", "win_sdk"],
+ dir: "apistubs/android/system-server/api",
+ },
}
// Empty for now, but a convenient place to add rules for all