Igor Murashkin | 292a934 | 2018-09-28 16:48:13 -0700 | [diff] [blame] | 1 | // Copyright (C) 2018 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | // TODO: once b/80095087 is fixed, rewrite this back to android_test |
| 16 | java_library { |
| 17 | name: "libiorap-java-test-lib", |
| 18 | srcs: ["src/**/*.kt"], |
| 19 | |
| 20 | static_libs: [ |
Igor Murashkin | 4de1e16 | 2018-11-26 10:33:17 -0800 | [diff] [blame] | 21 | // Non-test dependencies |
| 22 | |
| 23 | // library under test |
| 24 | "services.startop.iorap", |
| 25 | // need the system_server code to be on the classpath, |
| 26 | "services.core", |
| 27 | |
| 28 | // Test Dependencies |
| 29 | |
Igor Murashkin | 292a934 | 2018-09-28 16:48:13 -0700 | [diff] [blame] | 30 | // test android dependencies |
| 31 | "platform-test-annotations", |
| 32 | "android-support-test", |
| 33 | // test framework dependencies |
| 34 | "mockito-target-inline-minus-junit4", |
| 35 | // "mockito-target-minus-junit4", |
| 36 | // Mockito also requires JNI (see Android.mk) |
| 37 | // and android:debuggable=true (see AndroidManifest.xml) |
| 38 | "truth-prebuilt", |
| 39 | ], |
| 40 | |
| 41 | // sdk_version: "current", |
| 42 | // certificate: "platform", |
| 43 | |
| 44 | libs: ["android.test.base", "android.test.runner"], |
| 45 | |
| 46 | // test_suites: ["device-tests"], |
| 47 | } |