blob: 85e12c675b407a3ab5bd8356609290c98bd6efe7 [file] [log] [blame]
// Copyright 2008 The Android Open Source Project
//
package {
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
//###############################################################
java_binary {
name: "monkey",
srcs: ["**/*.java"],
wrapper: "monkey.sh",
}
android_test {
// This test does not need to run on device. It's a regular Java unit test. But it needs to
// access some framework code like MotionEvent, KeyEvent, InputDevice, etc, which is currently
// not available for the host.
// Therefore, we are relying on 'android_test' here until ravenwood is ready.
name: "monkey_test",
srcs: ["**/*.java",
"**/*.kt",
],
kotlincflags: [
"-Werror",
],
static_libs: [
"androidx.test.runner",
],
libs: [
"junit",
],
test_suites: [
"general-tests",
],
}