blob: 5cfd73dcd52f1c60a93de86a60f4b0e37a32a33b [file]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
default_team: "trendy_team_windowing_tools",
}
java_library_host {
name: "protologtool-protos",
static_libs: [
"frameworks-base-tracing-winscope-lite-java-protos",
],
// Jarjar rules to rewrite Protobuf paths to avoid conflicts with the version
// embedded in lint-classpath used in protologtool-lib.
jarjar_rules: "jarjar-rules-protobuf.txt",
}
java_library_host {
name: "protologtool-lib",
srcs: [
"src/com/android/protolog/tool/**/*.kt",
],
static_libs: [
"javaparser",
"jsonlib",
"lint-classpath",
"protolog-common-lib",
"protologtool-protos",
],
}
java_binary_host {
name: "protologtool",
manifest: "manifest.txt",
static_libs: [
"protologtool-lib",
],
}
java_test_host {
name: "protologtool-tests",
test_suites: ["general-tests"],
srcs: [
"tests/**/*.kt",
"tests/**/*.java",
],
test_options: {
unit_test: true,
},
static_libs: [
"junit",
"mockito",
"objenesis",
"protologtool-lib",
"truth",
],
}