blob: c60191c5b98037cef0529930e635e0cc73666865 [file] [log] [blame]
Jeff Sharkey4d1d7b52020-05-04 15:31:07 -06001
2java_plugin {
3 name: "error_prone_android_framework",
4
5 static_libs: [
6 "error_prone_android_framework_lib",
7 ],
8}
9
10java_library_host {
11 name: "error_prone_android_framework_lib",
12
13 srcs: ["java/**/*.java"],
14
15 static_libs: [
16 "//external/error_prone:error_prone_core",
Colin Crossdf1cdec2020-06-25 21:07:43 -070017 ],
18
19 libs: [
20 "//external/auto:auto_service_annotations",
Jeff Sharkey4d1d7b52020-05-04 15:31:07 -060021 ],
22
23 plugins: [
Colin Crossdf1cdec2020-06-25 21:07:43 -070024 "//external/auto:auto_service_plugin",
Jeff Sharkey4d1d7b52020-05-04 15:31:07 -060025 ],
Jeff Sharkey4d1d7b52020-05-04 15:31:07 -060026}
Jeff Sharkey86ba6082020-06-23 23:16:59 -060027
28java_test_host {
29 name: "error_prone_android_framework_test",
30 test_suites: ["general-tests"],
31 srcs: ["tests/java/**/*.java"],
32 java_resource_dirs: ["tests/res"],
33 java_resources: [":error_prone_android_framework_testdata"],
34 static_libs: [
35 "error_prone_android_framework_lib",
36 "error_prone_test_helpers",
37 "hamcrest-library",
38 "hamcrest",
39 "platform-test-annotations",
40 "junit",
41 ],
42}
43
44filegroup {
45 name: "error_prone_android_framework_testdata",
46 path: "tests/res",
47 srcs: ["tests/res/**/*.java"],
48}