forked from android/android-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
147 lines (123 loc) · 4.45 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
load("//build_extensions:maven_repo.bzl", "maven_repository")
load("@rules_jvm_external//:defs.bzl", "artifact")
package(default_visibility = ["//:__subpackages__"])
exports_files([
"proguard_binary.cfg",
"LICENSE",
"repo.bzl",
])
# Creates maven release repository
maven_repository(
name = "axt_m2repository",
srcs = [
"//annotation/java/androidx/test/annotation:annotation_maven_artifact",
"//core/java/androidx/test/core:core_maven_artifact",
"//espresso/accessibility/java/androidx/test/espresso/accessibility:accessibility_checks_maven_artifact",
"//espresso/contrib/java/androidx/test/espresso/contrib:espresso_contrib_maven_artifact",
"//espresso/core/java/androidx/test/espresso:espresso_core_maven_artifact",
"//espresso/device/java/androidx/test/espresso/device:device_maven_artifact",
"//espresso/idling_resource/concurrent/java/androidx/test/espresso/idling/concurrent:idling_concurrent_maven_artifact",
"//espresso/idling_resource/java/androidx/test/espresso:espresso_idling_resource_maven_artifact",
"//espresso/idling_resource/net/java/androidx/test/espresso/idling/net:idling_net_maven_artifact",
"//espresso/intents/java/androidx/test/espresso/intent:espresso_intents_maven_artifact",
"//espresso/remote/java/androidx/test/espresso/remote:espresso_remote_maven_artifact",
"//espresso/web/java/androidx/test/espresso/web:espresso_web_maven_artifact",
"//ext/junit/java/androidx/test/ext/junit:junit_maven_artifact",
"//ext/truth/java/androidx/test/ext/truth:truth_maven_artifact",
"//ktx/core/java/androidx/test/core:core_maven_artifact",
"//ktx/ext/junit/java/androidx/test/ext/junit:junit_maven_artifact",
"//runner/android_junit_runner/java/androidx/test:runner_maven_artifact",
"//runner/android_test_orchestrator/stubapp:orchestrator_release_maven_artifact",
"//runner/monitor/java/androidx/test:monitor_maven_artifact",
"//runner/rules/java/androidx/test:rules_maven_artifact",
"//services:test_services_maven_artifact",
"//services/storage/java/androidx/test/services/storage:test_storage_maven_artifact",
],
)
java_test(
name = "instrumentation_test_runner",
testonly = 1,
tags = ["manual"],
test_class = "com.google.android.apps.common.testing.suite.AndroidDeviceTestSuite",
visibility = ["//visibility:public"],
runtime_deps = [
"//opensource:entry_point_import",
],
)
alias(
name = "third_party/java/jdk/jar",
actual = "@local_jdk//:jar",
)
# Support library aliases
alias(
name = "androidx_appcompat",
actual = artifact("androidx.appcompat:appcompat"),
)
alias(
name = "google_android_material",
actual = artifact("com.google.android.material:material"),
)
alias(
name = "androidx_multidex",
actual = artifact("androidx.multidex:multidex"),
)
alias(
name = "androidx_annotation",
actual = artifact("androidx.annotation:annotation"),
)
alias(
name = "androidx_annotation_experimental",
actual = artifact("androidx.annotation:annotation-experimental"),
)
alias(
name = "androidx_lifecycle_common",
actual = artifact("androidx.lifecycle:lifecycle-common"),
)
alias(
name = "androidx_concurrent_futures",
actual = artifact("androidx.concurrent:concurrent-futures"),
)
alias(
name = "androidx_core",
actual = artifact("androidx.core:core"),
)
alias(
name = "androidx_legacy_support_core_ui",
actual = artifact("androidx.legacy:legacy-support-core-ui"),
)
alias(
name = "androidx_legacy_support_core_utils",
actual = artifact("androidx.legacy:legacy-support-core-utils"),
)
alias(
name = "androidx_fragment",
actual = artifact("androidx.fragment:fragment"),
)
alias(
name = "androidx_legacy_support_v4",
actual = artifact("androidx.legacy:legacy-support-v4"),
)
alias(
name = "androidx_recyclerview",
actual = artifact("androidx.recyclerview:recyclerview"),
)
alias(
name = "androidx_viewpager",
actual = artifact("androidx.viewpager:viewpager"),
)
alias(
name = "androidx_drawerlayout",
actual = artifact("androidx.drawerlayout:drawerlayout"),
)
alias(
name = "androidx_cursoradapter",
actual = artifact("androidx.cursoradapter:cursoradapter"),
)
alias(
name = "uiautomator",
actual = artifact("androidx.test.uiautomator:uiautomator"),
)
alias(
name = "androidx_tracing",
actual = artifact("androidx.tracing:tracing"),
)