forked from bazelbuild/rules_android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
55 lines (47 loc) · 1.17 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@rules_license//rules:license.bzl", "license")
package(
default_visibility = ["//visibility:public"],
default_applicable_licenses = [":license"],
)
license(
name = "license",
package_name = "bazelbuild/rules_android",
copyright_notice = "Copyright © 2023 The Bazel Authors. All rights reserved.",
license_kinds = [
"@rules_license//licenses/spdx:Apache-2.0",
],
license_text = "LICENSE",
)
# gazelle:prefix github.com/bazelbuild/rules_android
gazelle(name = "gazelle")
# Common default platform definitions for use by Android projects.
platform(
name = "x86",
constraint_values = [
"@platforms//os:android",
"@platforms//cpu:x86_32",
],
)
platform(
name = "x86_64",
constraint_values = [
"@platforms//os:android",
"@platforms//cpu:x86_64",
],
)
platform(
name = "armeabi-v7a",
constraint_values = [
"@platforms//os:android",
"@platforms//cpu:armv7",
],
)
platform(
name = "arm64-v8a",
constraint_values =
[
"@platforms//cpu:arm64",
"@platforms//os:android",
],
)