Debian Codegraph @

tools/protologtool/Android.bp

raw
1 package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_base_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_base_license"],
8 }
9
10 java_library_host {
11 name: "protologtool-lib",
12 srcs: [
13 "src/com/android/protolog/tool/**/*.kt",
14 ":protolog-common-src",
15 ],
16 static_libs: [
17 "javaparser",
18 "platformprotos",
19 "jsonlib",
20 ],
21 }
22
23 java_binary_host {
24 name: "protologtool",
25 manifest: "manifest.txt",
26 static_libs: [
27 "protologtool-lib",
28 ],
29 }
30
31 java_test_host {
32 name: "protologtool-tests",
33 test_suites: ["general-tests"],
34 srcs: [
35 "tests/**/*.kt",
36 ],
37 test_options: {
38 unit_test: true,
39 },
40 static_libs: [
41 "protologtool-lib",
42 "junit",
43 "mockito",
44 "objenesis",
45 ],
46 }