Sasha Smundak | 368dd1b | 2019-02-27 15:05:29 -0800 | [diff] [blame] | 1 | // Copyright (C) 2017 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 | java_library { |
| 16 | name: "CtsJvmtiDeviceRunTestAppBase", |
| 17 | |
| 18 | // We explicitly enumerate, as we have a definition of art.Main to simplify development |
| 19 | // in an IDE (but want the implementation of said class to come from the ART run-tests). |
| 20 | srcs: [ |
| 21 | "src/android/jvmti/cts/JvmtiRunTestBasedTest.java", |
| 22 | ":art_cts_jvmti_test_library", |
| 23 | ], |
| 24 | sdk_version: "test_current", |
| 25 | dex_preopt: { |
| 26 | enabled: false, |
| 27 | }, |
| 28 | libs: [ |
| 29 | "android.test.runner.stubs", |
| 30 | "junit", |
| 31 | ], |
| 32 | static_libs: [ |
| 33 | "CtsJvmtiDeviceAppBase", |
| 34 | "expected_cts_outputs", |
| 35 | ], |
| 36 | optimize: { |
| 37 | enabled: false, |
| 38 | }, |
| 39 | } |