Designed to work with both WM and WM-Shell - source code is moved to com.android.internal.protolog, on contrast, com.android.internal.logging is mainly used for uieventlogger - the protolog-lib is defined in frameworks/base/Android.bp, similar to uieventloggerlib as well - to include protolog, reference what's in services/core/Android.bp See also go/protolog-migration-s Bug: 161561475 Test: atest ProtoLogImplTest \ ProtoLogViewerConfigReaderTest \ WmTests:ProtoLogIntegrationTest \ LogDataTypeTest \ protologtool-tests Change-Id: I249a5675527d54778ac01529b4cb39fb09cb5d59
34 lines
599 B
Plaintext
34 lines
599 B
Plaintext
java_library_host {
|
|
name: "protologtool-lib",
|
|
srcs: [
|
|
"src/com/android/protolog/tool/**/*.kt",
|
|
":protolog-common-src",
|
|
],
|
|
static_libs: [
|
|
"javaparser",
|
|
"platformprotos",
|
|
"jsonlib",
|
|
],
|
|
}
|
|
|
|
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",
|
|
],
|
|
static_libs: [
|
|
"protologtool-lib",
|
|
"junit",
|
|
"mockito",
|
|
],
|
|
}
|