From ca5b8b5c6f5a774426ca439289e15a85045258d7 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Wed, 30 Sep 2020 13:50:48 +0000 Subject: [PATCH] Revert "Add genrules for merged removed.txt files" This reverts commit cfb26e3b4c677ed4302e6c39d542dc16d0b96231. Reason for revert: b/169747069 Change-Id: I9290708aea6a66bbecc098b75403f6e5d7e77ec7 --- api/Android.bp | 52 ------------------------------------ non-updatable-api/Android.bp | 18 ------------- 2 files changed, 70 deletions(-) diff --git a/api/Android.bp b/api/Android.bp index 546f15171285a..cb6d448caf63c 100644 --- a/api/Android.bp +++ b/api/Android.bp @@ -62,24 +62,6 @@ genrule { cmd: "$(location metalava) --no-banner --format=v2 $(in) --api $(out)", } -genrule { - name: "frameworks-base-api-removed-merged.txt", - srcs: [ - ":conscrypt.module.public.api{.public.removed-api.txt}", - ":framework-media{.public.removed-api.txt}", - ":framework-mediaprovider{.public.removed-api.txt}", - ":framework-permission{.public.removed-api.txt}", - ":framework-sdkextensions{.public.removed-api.txt}", - ":framework-statsd{.public.removed-api.txt}", - ":framework-tethering{.public.removed-api.txt}", - ":framework-wifi{.public.removed-api.txt}", - ":non-updatable-removed.txt", - ], - out: ["removed.txt"], - tools: ["metalava"], - cmd: "$(location metalava) --no-banner --format=v2 $(in) --api $(out)", -} - genrule { name: "frameworks-base-api-system-current-merged.txt", srcs: [ @@ -97,23 +79,6 @@ genrule { cmd: "$(location metalava) --no-banner --format=v2 $(in) --api $(out)", } -genrule { - name: "frameworks-base-api-system-removed-merged.txt", - srcs: [ - ":framework-media{.system.removed-api.txt}", - ":framework-mediaprovider{.system.removed-api.txt}", - ":framework-permission{.system.removed-api.txt}", - ":framework-sdkextensions{.system.removed-api.txt}", - ":framework-statsd{.system.removed-api.txt}", - ":framework-tethering{.system.removed-api.txt}", - ":framework-wifi{.system.removed-api.txt}", - ":non-updatable-system-removed.txt", - ], - out: ["system-removed.txt"], - tools: ["metalava"], - cmd: "$(location metalava) --no-banner --format=v2 $(in) --api $(out)", -} - genrule { name: "frameworks-base-api-module-lib-current-merged.txt", srcs: [ @@ -130,20 +95,3 @@ genrule { tools: ["metalava"], cmd: "$(location metalava) --no-banner --format=v2 $(in) --api $(out)", } - -genrule { - name: "frameworks-base-api-module-lib-removed-merged.txt", - srcs: [ - ":framework-media{.module-lib.removed-api.txt}", - ":framework-mediaprovider{.module-lib.removed-api.txt}", - ":framework-permission{.module-lib.removed-api.txt}", - ":framework-sdkextensions{.module-lib.removed-api.txt}", - ":framework-statsd{.module-lib.removed-api.txt}", - ":framework-tethering{.module-lib.removed-api.txt}", - ":framework-wifi{.module-lib.removed-api.txt}", - ":non-updatable-module-lib-removed.txt", - ], - out: ["module-lib-removed.txt"], - tools: ["metalava"], - cmd: "$(location metalava) --no-banner --format=v2 $(in) --api $(out)", -} diff --git a/non-updatable-api/Android.bp b/non-updatable-api/Android.bp index 00b901992b901..4037781c1844e 100644 --- a/non-updatable-api/Android.bp +++ b/non-updatable-api/Android.bp @@ -22,32 +22,14 @@ filegroup { visibility: ["//frameworks/base/api"], } -filegroup { - name: "non-updatable-removed.txt", - srcs: ["removed.txt"], - visibility: ["//frameworks/base/api"], -} - filegroup { name: "non-updatable-system-current.txt", srcs: ["system-current.txt"], visibility: ["//frameworks/base/api"], } -filegroup { - name: "non-updatable-system-removed.txt", - srcs: ["system-removed.txt"], - visibility: ["//frameworks/base/api"], -} - filegroup { name: "non-updatable-module-lib-current.txt", srcs: ["module-lib-current.txt"], visibility: ["//frameworks/base/api"], } - -filegroup { - name: "non-updatable-module-lib-removed.txt", - srcs: ["module-lib-removed.txt"], - visibility: ["//frameworks/base/api"], -}