Files
frameworks_base/tests/Internal/Android.bp
Hongwei Wang 6014caf1ed Move ProtoLog to shared place
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
2020-08-06 20:36:22 -07:00

21 lines
527 B
Plaintext

android_test {
name: "InternalTests",
proto: {
type: "nano",
},
// Include some source files directly to be able to access package members
srcs: ["src/**/*.java"],
libs: ["android.test.runner"],
static_libs: [
"junit",
"androidx.test.rules",
"mockito-target-minus-junit4",
"truth-prebuilt",
"platform-test-annotations",
],
java_resource_dirs: ["res"],
certificate: "platform",
platform_apis: true,
test_suites: ["device-tests"],
}