Skip to content

Commit 7a18356

Browse files
Ian Childsmeta-codesync[bot]
authored andcommitted
Remove android_platform rule from buck2 prelude
Summary: Remove the unused `android_platform` buck2 rule definition from the prelude. It is not used in `fb_native_wrapper.bzl` (was never wrapped there) and has no active BUCK file callers. Removed from: - `fbcode/buck2/prelude/decls/android_rules.bzl` (rule definition and export) Reviewed By: jiawei-lyu Differential Revision: D98471324 fbshipit-source-id: e9f4ec6f33da25720fcccd03e4d7af2c2d0d02b7
1 parent ec4fa85 commit 7a18356

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

prelude/decls/android_rules.bzl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -808,20 +808,6 @@ android_manifest = prelude_rule(
808808
),
809809
)
810810

811-
android_platform = prelude_rule(
812-
name = "android_platform",
813-
docs = "",
814-
examples = None,
815-
further = None,
816-
attrs = (
817-
# @unsorted-dict-items
818-
{
819-
"base_platform": attrs.configuration_label(),
820-
"native_platforms": attrs.dict(key = attrs.enum(TargetCpuType), value = attrs.configuration_label(), sorted = False, default = {}),
821-
}
822-
),
823-
)
824-
825811
android_prebuilt_aar = prelude_rule(
826812
name = "android_prebuilt_aar",
827813
docs = """
@@ -1371,7 +1357,6 @@ android_rules = struct(
13711357
android_instrumentation_test = android_instrumentation_test,
13721358
android_library = android_library,
13731359
android_manifest = android_manifest,
1374-
android_platform = android_platform,
13751360
android_prebuilt_aar = android_prebuilt_aar,
13761361
android_resource = android_resource,
13771362
apk_genrule = apk_genrule,

0 commit comments

Comments
 (0)