1package { 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 10java_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 "perfetto_trace-full", 21 ], 22} 23 24java_binary_host { 25 name: "protologtool", 26 manifest: "manifest.txt", 27 static_libs: [ 28 "protologtool-lib", 29 ], 30} 31 32java_test_host { 33 name: "protologtool-tests", 34 test_suites: ["general-tests"], 35 srcs: [ 36 "tests/**/*.kt", 37 ], 38 test_options: { 39 unit_test: true, 40 }, 41 static_libs: [ 42 "protologtool-lib", 43 "junit", 44 "mockito", 45 "objenesis", 46 "truth", 47 ], 48} 49