-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
90 lines (78 loc) · 1.92 KB
/
BUILD.bazel
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# SPDX-FileCopyrightText: 2024 Felix Hilgers <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
load("@rules_kotlin//kotlin:core.bzl", "kt_compiler_plugin")
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain")
kt_compiler_plugin(
name = "jetpack_compose_compiler_plugin",
id = "androidx.compose.compiler",
target_embedded_compiler = True,
visibility = ["//visibility:public"],
deps = ["@maven_deps//:androidx_compose_compiler_compiler"],
)
platform(
name = "linux-x86-64",
constraint_values = [
"@platforms//os:linux",
"@platforms//cpu:x86_64",
],
visibility = ["//visibility:public"],
)
platform(
name = "x86_64-android",
constraint_values = [
"@platforms//os:android",
"@platforms//cpu:x86_64",
],
visibility = ["//visibility:public"],
)
platform(
name = "aarch64-android",
constraint_values = [
"@platforms//os:android",
"@platforms//cpu:aarch64",
],
visibility = ["//visibility:public"],
)
platform(
name = "i686-android",
constraint_values = [
"@platforms//os:android",
"@platforms//cpu:x86_32",
],
visibility = ["//visibility:public"],
)
platform(
name = "armv7-android",
constraint_values = [
"@platforms//os:android",
"@platforms//cpu:armv7",
],
visibility = ["//visibility:public"],
)
alias(
name = "x86_64",
actual = ":x86_64-android",
visibility = ["//visibility:public"],
)
alias(
name = "x86",
actual = "i686-android",
visibility = ["//visibility:public"],
)
alias(
name = "arm64-v8a",
actual = "aarch64-android",
visibility = ["//visibility:public"],
)
alias(
name = "armeabi-v7a",
actual = "armv7-android",
visibility = ["//visibility:public"],
)
define_kt_toolchain(
name = "kotlin_toolchain",
experimental_use_abi_jars = True,
jvm_target = "17",
)